1、安装
Jenkins home: /var/lib/jenkins
2、启动/关闭
log路径/var/log/jenkins/jenkins.log
3、修改端口
wget -q -O - http://pkg.jenkins-ci.org/debian/jenkins-ci.org.key | sudo apt-key add -
sudo sh -c 'echo deb http://pkg.jenkins-ci.org/debian binary/ > /etc/apt/sources.list.d/jenkins.list'
sudo apt-get update
sudo apt-get install jenkins
Jenkins home: /var/lib/jenkins
2、启动/关闭
sudo /etc/init.d/jenkins start
sudo /etc/init.d/jenkins stop
log路径/var/log/jenkins/jenkins.log
3、修改端口
vim /etc/default/jenkins