1. jenkins common errors and solutions

1. Jenkins has been stuck in the start page

You need to enter jenkins working directory,

Open hudson .model .UpdateCenter .xml

The HTTP: // the Updates .jenkins-CI .org / Update-Center .json

Read:

http://mirror.xmission.com/jenkins/updates/update-center.json

https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json

http://mirror.esuni.jp/jenkins/updates/update-center.json

 one of the

 

2. Jenkins offline

 

 

Method to solve the problem:

1)    修改 $work_dir/updates/default.json

jenkins before downloading plug-ins will first check the network connection, it will read the file in the URL. Default:

Access Google, google changed the view in www.baidu.com can change the complete restart the service.

 

2)    修改$work_dir/jenkins/hudson.model.UpdateCenter.xml

The source file for the address jenkins download plug-in, change the default address of the default jenkins: https://updates.jenkins.io/update-center.json , because the problem is https, and here we can change it to http, after the restart jenkins service can be.

Other domestic alternate address (you can also choose to use):

https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json

http://mirror.esuni.jp/jenkins/updates/update-center.json

 After the restart, refresh the login page

 

Guess you like

Origin www.cnblogs.com/wyzhou/p/11303724.html