-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buildslaves on separate machines? #43
Comments
It really depends what you're trying to build. We've used the Swarm plugin to connect up workers successfully (because it doesn't require any manual steps) and then create a role for each workload we want to run, and configure the swarm agents environment to broadcast appropriate labels. |
I ended up making a bespoke role specific to my workload, which boiled down to:
And then I had to go in manually on the master and add each host from the web UI, including specifying the work dir. So most of that is pretty customized to my scenario, but it does feel like there'd be room for a generic "Jenkins SSH Slave" role that could handle setting up the master's key, installing Java, and then wiring things up on the master end to talk to it. |
This role seems primarily focused on configuring the master. What would be my best path forward for setting up slaves on other boxes?
The text was updated successfully, but these errors were encountered: