Slave node running on Linux operating systems, which connects to the master via JNLP.
Build and start a node from here
If you would like to start one (or several) Jenkins slaves.
$docker build -f DockerfileSlave -t jenkins-slave .
$docker run -d -v /var/run/docker.sock:/var/run/docker.sock --rm --name jenkins-slave jenkins-slave -url <master-url> <secret> <host>
- master-url: is the URL of your jenkins
- __ secret__: is the agent secret
- host: is the agent name
Add
-v /srv:/srv --privileged
on the target's slave
Check out these related projects.
- Jenkins Master running in Docker - A Jenkins master comes with the basic installation of Jenkins
- Jenkins Operations Center Tutorial (CJOC) - CJOC is used for managing multiple Jenkins Masters. It makes it much easier to scale Jenkins horizontally, as it makes it possible to share build nodes between masters.
File a GitHub issue, send us an email or tweet us.
Copyright © 2017-2021 OSO | See LICENCE for full details.
We at OSO help teams to adopt emerging technologies and solutions to boost their competitiveness, operational excellence and introduce meaningful innovations that drive real business growth. Our developer-first culture, combined with our cross-industry experience and battle-tested delivery methods allow us to implement the most impactful solutions for your business.
Looking for support applying emerging technologies in your business? We’d love to hear from you, get in touch by email
Start adopting new technologies by checking out our other projects, follow us on twitter, join our team of leaders and challengers, or contact us to find the right technology to support your business.