Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/carlossg/jenkins-swarm-slave-docker
- Owner: carlossg
- Created: 2014-09-17T21:49:27.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2021-09-13T07:41:08.000Z (about 3 years ago)
- Last Synced: 2024-10-31T15:52:49.226Z (14 days ago)
- Language: Shell
- Size: 1.11 MB
- Stars: 44
- Watchers: 4
- Forks: 78
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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 .