Jenkins总结
- wget https://mirrors.tuna.tsinghua.edu.cn/jenkins/redhat-stable/jenkins-2.107.3-1.1.noarch.rpm
- rpm -ivh jenkins-2.107.3-1.1.noarch.rpm
- service start jenkins
或者是(很慢):
1 wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat/jenkins.repo
2 rpm --import https://jenkins-ci.org/redhat/jenkins-ci.org.key
3 yum install -y jenkins
如果出现:jenkins启动一直显示 Jenkins正在启动,请稍后... 的问题 则
- 修改:/var/lib/jenkins/updates/default.json 将www.google.com 改为 www.baidu.com
- 修改:/var/lib/jenkins/hudson.model.UpdateCenter.xml 把http://updates.jenkins-ci.org/update-center.json改成http://mirror.xmission.com/jenkins/updates/update-center.json
- VM01上Jenkins的用户名密码:admin 、123456