jenkins安装

https://blog.csdn.net/lzc2644481789/article/details/124888223

 git安装报错

https://www.cnblogs.com/lemonguess/p/15386500.html

docker pull jenkins/jenkins:2.344 #拉取jenkins镜像
docker run -d -p 10240:8080 -v /var/jenkins_mount:/var/jenkins_home -u 0 -v /usr/local/maven/apache-maven-3.8.5:/usr/local/maven -v /usr/local/git/git-2.33.1/bin/git:/usr/local/git -v /etc/localtime:/etc/localtime --name myjenkin jenkins/jenkins:2.344 #启动jenkins镜像

posted @ 2023-05-23 16:43  海逸庭  阅读(11)  评论(0编辑  收藏  举报