centos普通用户安装jenkins
sudo wget -O /etc/yum.repos.d/jenkins.repo
http://pkg.jenkins-ci.org/redhat/jenkins.repo
sudo rpm --import
https://jenkins-ci.org/redhat/jenkins-ci.org.key
sudo yum install jenkins
- sudo yum install java
sudo service jenkins start/stop/restart
sudo chkconfig jenkins on