1)centos安装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正在启动,请稍后... 的问题   则

  1. 修改:/var/lib/jenkins/updates/default.json 将www.google.com 改为 www.baidu.com
  2. 修改:/var/lib/jenkins/hudson.model.UpdateCenter.xml   把http://updates.jenkins-ci.org/update-center.json改成http://mirror.xmission.com/jenkins/updates/update-center.json
  3. VM01上Jenkins的用户名密码:admin 、123456

 

相关文章:

  • 2021-06-01
  • 2022-01-31
  • 2022-01-12
  • 2021-12-26
  • 2021-10-02
猜你喜欢
  • 2021-11-09
  • 2021-09-14
  • 2021-12-29
  • 2021-07-12
  • 2021-05-15
相关资源
相似解决方案