简体   繁体   中英

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

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM