Skip to content

tao-zhang/jenkins-swarm-slave-docker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Jenkins swarm slave

csanchez/jenkins-swarm-slave

A Jenkins swarm slave.

For a container with ssh enabled see csanchez/jenkins-slave

Running

To run a Docker container passing any parameters to the slave

docker run csanchez/jenkins-swarm-slave -master http://jenkins:8080 -username jenkins -password jenkins -executors 1

Linking to the Jenkins master container there is no need to use --master

docker run -d --name jenkins -p 8080:8080 csanchez/jenkins-swarm
docker run -d --link jenkins:jenkins csanchez/jenkins-swarm-slave -username jenkins -password jenkins -executors 1

Building

docker build -t csanchez/jenkins-swarm-slave .

About

Docker image for Jenkins swarm slaves

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%