The first step: the JENKINS_HOME/Hudson. Model. UpdateCenter. XML file url address change to: mirror.xmission.com/jenkins/upd…

Step 2: Change all Google addresses in Jenkins\updates\default.json to www.baidu.com

Step 3: Restart Jenkins or computer. If the connection request is rejected by typing localhost: 8080, you can win+R and then enter services. MSC to find Jenkins service and start manually.

Here you go to the main screen: