jenkins按照组件,卡在新手入门,很多地方报错了,下载速度很慢。
搜了很多,解决方案都是替换源,试了没啥效果
https://mirrors.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json
最后找到的解决方案如下,亲测有效:
按照以后,找到安装目录的default.json,我这里是windows
打开default.json
替换 updates.jenkins-ci.org/download
为 mirrors.tuna.tsinghua.edu.cn/jenkins
然后把www.google.com修改成百度
重启jenkins
然后Jenkins的下载速度就会噌噌噌的,完成了
59个插件 1分45秒齐活儿~
Updated dependency of git
Completed installation of 59 plugins in 1 min 45 sec