docker_jenkins

docker search jenkins

docker pull jenkins

启动脚本

#!/bin/bash

docker run -d --name myjenkins \
-u root \
-p 8080:8080 \
-p 50000:50000 \
-v $PWD/jenkins:/var/jenkins_home jenkins

#get init passwd
#docker exec jenkins tail /var/jenkins_home/secrets/initialAdminPassword

插件安装国内地址

http://mirror.esuni.jp/jenkins/updates/update-center.json
posted @ 2019-08-18 22:48  NorseLZJ  阅读(171)  评论(0编辑  收藏  举报