Jenkins 初始化时,安装插件太慢或者失败

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

相关推荐