编程知识 cdmana.com

Jenkins 环境搭建(基于Docker)

官网:https://www.jenkins.io
文档:https://www.jenkins.io/doc/
插件文档:https://plugins.jenkins.io/
镜像库:https://hub.docker.com/r/jenkins/jenkins

运行命令

docker run -d \
    --name jenkins_2.303.1 \
    -p 8080:8080 \
    -p 50000:50000 \
     jenkins/jenkins:2.303.1

关键参数解释:

  • -p 8080:8080 -p 50000:50000:8080为http端口;50000为tcp端口(用于和JNLP节点代理通讯)

版权声明
本文为[markix]所创,转载请带上原文链接,感谢
https://markix.blog.csdn.net/article/details/119984684

Scroll to Top