I have a MultiJob project (made with the Jenkins Multijob plugin), with several MultiJob phases. Let's say one of these jobs is called SubJob01. Each of the constructed tasks is configured with the option "Limit where this project can be launched", which should be tied to one node. SubJob01 is tied to Slave01.
I would like if these tasks did not succeed quickly when the node is disconnected, instead of saying "(pending-slave01 is offline)". In particular, I want there to be a record of an assembly attempt in SubJob01, while the assembly was flagged as unsuccessful. That way, I can set up my MultiJob project to handle the situation as I would like, instead of using the Jenkins build timeout plugin to abort it all.
Does anyone know how to quickly complete the assembly if all nodes are offline? I could cross the MultiJob project using Groovy system scripts to check if the needed nodes are offline, but it looks like it will be inventing in the wrong place, which should already be a function.
jenkins groovy
pgn674
source share