We've done that with both ssh slaves and windows slaves with jnlp; ssh is definitely easier :) Both require separate root fs in the slave definition and for windows, had to modify the jenkins-slave.xml to change the name of the service so that each one is unique.
On Thu, Aug 13, 2015 at 9:35 AM, Khai Do <[email protected]> wrote: > Yes, we do that with ssh connected slaves. if what you are really after > is multi-master configuration you should check out the gearman plugin: > https://wiki.jenkins-ci.org/display/JENKINS/Gearman+Plugin > > > On Thursday, August 13, 2015 at 12:09:50 AM UTC-7, Björn Pedersen wrote: >> >> Hi, >> >> it should be no problem to e.g. have ssh-slaves from to different >> masters running on the same machine(if you ensure to use different ports. >> But of course you will have 2 slave.jar running then. A single slave.jar >> process is always bound to a single master only. >> >> Am Donnerstag, 13. August 2015 02:54:49 UTC+2 schrieb Taher Furniturewala: >>> >>> *Hi , * >>> >>> >>> >>> *Does anyone know if this is possible and if they have done it ? ie >>> Having a slave being attached to and working for 2 different Jenkins >>> masters ? * >>> >>> >>> >>> *Thanks* >>> >>> *Taher .* >>> >>> >>> >>> >>> >>> ------------------------------ >>> >>> This email and any attachments may contain confidential and privileged >>> material for the sole use of the intended recipient. Any review, copying, >>> or distribution of this email (or any attachments) by others is prohibited. >>> If you are not the intended recipient, please contact the sender >>> immediately and permanently delete this email and any attachments. No >>> employee or agent of TiVo Inc. is authorized to conclude any binding >>> agreement on behalf of TiVo Inc. by email. Binding agreements with TiVo >>> Inc. may only be made by a signed written agreement. >>> >> -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAEMChJjT4ih8cPtNveARw4sWzZrxShhZQiCgz0%2B%3DA%2BJ-u0WozA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
