Please wait while Jenkins is getting ready to work...

Please wait while Jenkins is getting ready to work (jenkins)
如果界面提示Jenkins正在啓動,請稍後…或者提示
Please wait while Jenkins is getting ready to work…

換了清華的鏡像進去之後下載插件無數失敗
問題:
沒被牆但是網速很慢
解決方法:
需要你進入jenkins的工作目錄,打開 hudson.model.UpdateCenter.xml 把 http://updates.jenkins-ci.org/update-center.json 改成 http://mirror.xmission.com/jenkins/updates/update-center.json

這是一條華麗的分割線,然而,發現清華的鏡像裏面還是引用了很多官網的
http://updates.jenkins-ci.org/download/

SO
1、將安裝目錄下的 hudson.model.UpdateCenter.xml
中改成

<?xml version='1.1' encoding='UTF-8'?>
<sites>
  <site>
    <id>default</id>
    <url>https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json</url>
  </site>
</sites>

沒錯就是這個
https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json

2、將updates文件夾下的default.json 中所有
http://updates.jenkins-ci.org/download/
替換爲
https://mirrors.tuna.tsinghua.edu.cn/jenkins/

然後重啓Jenkins
http://localhost:8080/restart
。。。。war包版當然重啓tomcat就行,
windows安裝版也可以找安裝包選Repair吧

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章