jenkins初始化和安装插件

1.find / -name 'default.json'

2.

sed -i 's/http:\/\/updates.jenkins-ci.org\/download/https:\/\/mirrors.tuna.tsinghua.edu.cn\/jenkins/g' /var/lib/jenkins/updates/default.json && sed -i 's/http:\/\/www.google.com/https:\/\/www.baidu.com/g' /var/lib/jenkins/updates/default.json

3.systemctl restart jenkins.service

posted on 2020-06-30 13:23  blogsheng  阅读(663)  评论(0编辑  收藏  举报