Plugin to cause build to run on alternative slave if preferred slaves are down

13 views
Skip to first unread message

Katie Outram

unread,
Mar 13, 2015, 12:06:26 PM3/13/15
to jenkins...@googlegroups.com
I have two slaves I want to run my build job.   If those slaves are both down, I want to revert to a different slave which is available but should only be used as a last resort for this specific build job      Is  there a plugin that will set the priority of where to build?
 
i.e.   Slave 1, Slave 2   build here unless offline
        Slave 3, Slave 4  build here only if slaves 1,2 are offline.
 
 
Thanks!

Ginga, Dick

unread,
Mar 13, 2015, 12:13:53 PM3/13/15
to jenkins...@googlegroups.com

If you create 2 labels. Attach on to slave 1 and 2 and one to slave 3 and 4 and in the Restrict where this project can be run field you put the 1 and 2 label first, then it should do what you want.

--
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 jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/a9e8b55a-b63e-4e7b-b742-15baab800566%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages