docker hub:

https://hub.docker.com/r/jenkins/jenkins/

运行镜像:

docker run --name jenkins -p 38080:8080 -p 50000:50000 -d  -v /e/docker/volume/jenkins:/var/jenkins_home  jenkins/jenkins

浏览器中打开:http://localhost:38080/,进行初始化,初始密码在下面文件中:

/home/woods/jenkins/secrets/initialAdminPassword

进入容器内,发现已经安装了jdk,在下面路径,版本为 openjdk version "1.8.0_181":

/docker-java-home

常用的插件:

  • maven integration
Logo

权威|前沿|技术|干货|国内首个API全生命周期开发者社区

更多推荐