jenkins页面一直在Please wait while Jenkins is getting ready to work ...

原因:因为访问官网太慢。我们只需要换一个源,不使用官网的源即可。

1、找到jenkins工作目录

find / -name *.UpdateCenter.xml

 2、修改文件中的url,随后重启就行了。

vi /var/lib/jenkins/hudson.model.UpdateCenter.xml

  修改为

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

 

posted @ 2022-06-23 19:09  云村的王子  阅读(304)  评论(0编辑  收藏  举报