jenkins

CI/CD持续集成工具

插件加速安装设置

version: '3.7'
services:
  jenkins:
    image: jenkins/jenkins:2.204
    restart: always
    environment:
    - JENKINS_UC_DOWNLOAD=https://mirrors.tuna.tsinghua.edu.cn/jenkins/
sed -i 's/https:\/\/updates.jenkins.io\/download/https:\/\/mirrors.tuna.tsinghua.edu.cn\/jenkins/g' default.json && sed -i 's/https:\/\/www.google.com/https:\/\/www.baidu.com/g' default.json

插件镜像

https://mirror.tuna.tsinghua.edu.cn/jenkins/updates/update-center.json #清华大学仓库地址

相关资料

官方docker
docker-github
Jenkins for Docker 跳过插件安装及插件加速镜像设置

发表评论