在Debian Stretch上安装Jenkins的代码命令

301 阅读1分钟

你可以使用下面的命令在Debian Stretch (9)上安装Jenkins。

安装

$ sudo apt update
$ sudo apt install default-jre
$ wget -q -O - https://pkg.jenkins.io/debian/jenkins.io.key | sudo apt-key add -
$ sudo sh -c 'echo deb http://pkg.jenkins.io/debian-stable binary/ > /etc/apt/sources.list.d/jenkins.list'
$ sudo apt update

然后你可以去http(s)://www.your-jenkins-server-url:8080 ,最终完成Jenkins的设置。