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吧

评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值