Public | Automated Build

Last pushed: 13 days ago
Short Description
Jenkins Slave
Full Description

jenkins

To allow Docker based builds through a Docker running Jenkins Server and Jenkins Slave

##Jenkins Master

> docker run —name jenkins-master -d -p 8080:8080 -p 4040:4040 -v /var/run/docker.sock:/var/run/docker.sock -v $PWD/jenkins_home:/var/jenkins_home zhongjx/jenkins-master:2.46.1-swarm1

##Jenkins Slave

> docker run --name jenkins-slave  -d -e JENKINS_MASTER=http://jenkins-master-replacement:8080 -e JENKINS_PASS=replacement -e JENKINS_USER=replacement -e SWARM_EXECUTORS=1 -v /var/run/docker.sock:/var/run/docker.sock -v $PWD/jworkspace:/workspace -v $PWD/jworkspace:/var/jenkins_home/workspace -v $PWD/jtmp:/tmp  zhongjx/jenkins-swarm-slave:c3.4-2
Docker Pull Command
Owner
zhongjx