Ubuntu18.04安装jenkins
官网参考指引:https://pkg.jenkins.io/debian-stable/
wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -
deb https://pkg.jenkins.io/debian-stable binary/
sudo apt-get update
sudo apt-get install jenkins
uni@uni-virtual-machine:~$ wget -q -O - https://pkg.jenkins.io/debian-stable/jenkins.io.key | sudo apt-key add -
[sudo] uni 的密码:
OK
uni@uni-virtual-machine:~$ deb https://pkg.jenkins.io/debian-stable binary/
Command 'deb' not found, did you mean:
command 'dub' from snap dub (1.19.0)
command 'den' from snap den (1.2.0-0)
command 'debc' from deb devscripts
command 'edb' from deb edb-debugger
command 'xdeb' from deb xdeb
command 'debi' from deb devscripts
command 'deb3' from deb quilt
command 'derb' from deb icu-devtools
command 'dep' from deb go-dep
command 'dab' from deb bsdgames
command 'dub' from deb dub
command 'dex' from deb dex
See 'snap info <snapname>' for additional versions.