Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/carlossg/jenkins-swarm-slave-docker

Docker image for Jenkins swarm slaves
https://github.com/carlossg/jenkins-swarm-slave-docker

Last synced: 7 days ago
JSON representation

Docker image for Jenkins swarm slaves

Awesome Lists containing this project

README

        

# Jenkins swarm slave

[`csanchez/jenkins-swarm-slave`](https://registry.hub.docker.com/u/csanchez/jenkins-swarm-slave/)

A [Jenkins swarm](https://wiki.jenkins-ci.org/display/JENKINS/Swarm+Plugin) slave.

For a container with ssh enabled see
[`csanchez/jenkins-slave`](https://registry.hub.docker.com/u/csanchez/jenkins-slave/)

## Running

To run a Docker container passing [any parameters](https://wiki.jenkins-ci.org/display/JENKINS/Swarm+Plugin#SwarmPlugin-AvailableOptions) 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 .