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
相關文章
相關標籤/搜索