Could you help me out again please?
Usually all the resources we defined are online for taking. But when certain agents are off-line, the resource count will remain 0 for some time. But if the build starts again, it will wait for the resource forever.
I tried to use a Groovy script (with node.hasResource('res_that_is_unavailable') in the node selection "on node with specified script evaluating to be true", and the child steps still ran (or rather are waiting) for the resources, the "not matching reason" says "script returned false on this node".
When no one noticed the agent is off line, the build will wait forever until timeout.
Is it possible to allow the build to continue when certain resources are unavailable? So the steps that require unavailable resources will just skip, and the steps with enough other resources will still run.