Jenkins Runners

I created a label in Jenkins and added 5 nodes as we can see below:

Sometimes a job fails on one of these nodes.
I would like to ensure that a failed job is rebuilt on a different node using the same label.
For example, if the job fails on node 1, rebuild automatically on another node(s) that has the same label.

Is this possible?

Hello @kmagno72 and welcome to this community :wave:

You’re suspecting the failed build is due to a faulty agent, am I right?
You don’t want to handle some kind of load balancing between agents, you just want to discard an agent that failed the last job for the next build of the same project?

Thanks @poddingue

That’s correct