Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Jenkins Multi configuration job: Skip build step if slave is offline

Tags:

jenkins

I have created a Jenkins Multi configuration job that runs a build step on 5 windows slaves. Now if one of the slaves is offline (for some reason) the job is blocked until the slave(s) which is offline is put back online.

Is it possible to continue the build and simply skip the build step on the slave(s) that is offline?

like image 588
u123 Avatar asked Jul 17 '14 13:07

u123


1 Answers

Try using Elastic Axis plugin.
Afer installing it, in the multi configuration job you can find new axis added as Elastic axis. You just need to provide the label of the node. The job will run on all the nodes with that label. There is a check box provided to skip the nodes that are offline.

like image 136
Amol Manthalkar Avatar answered Oct 29 '22 17:10

Amol Manthalkar