docker pull jenkins/jenkins:2.426.2-lts
vim /data/software/jenkins/data/hudson.model.UpdateCenter.xml
default
http://mirror.esuni.jp/jenkins/updates/update-center.json
docker run --name jenkins --restart always -p 8080:8080 -p 50000:50000 -v /data/software/jenkins/data:/var/jenkins_home -d jenkins/jenkins:2.426.2-lts
# 一般需要安装的插件如下
Git Parameter,Publish Over SSH
Docker部署Jenkins
发布于 2024-01-03 226 次阅读
Comments NOTHING