Jenkins

MuYusen 于 2020-01-07 发布 本文总阅读量 4

Jenkins

安装

在基于Debian的发行版(如Ubuntu)上,您可通过apt安装Jenkins

在an apt repository可获得最新版本,较老但稳定的LTS版本在this apt repository这里可获得

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-get update
sudo apt-get install jenkins

安装这个软件包将会:

如果你的/etc/init.d/jenkins文件无法启动Jenkins,编辑/etc/default/jenkins, 修改 —-HTTP_PORT=8080—-为----HTTP_PORT=8081---- 在这里,“8081”也可被换为其他可用端口。