cd /var/lib/jenkins/updates/
-----
sed -i 's/http:\/\/updates.jenkins-ci.org\/download/https:\/\/mirrors.tuna.tsinghua.edu.cn\/jenkins/g' default.json && sed -i 's/http:\/\/www.google.com/https:\/\/www.baidu.com/g' default.json
-----
systemctl restart jenkins.service
Jenkins 初始化时,安装插件太慢或者失败
猜你喜欢
转载自blog.51cto.com/13746824/2498231
今日推荐
周排行