jenkinsjenkins-pluginsjenkins-agent

Jenkins - Run same job on DIFFERENT machine concurrently


Here is the scenario for the problem. I have one job which plays with machine host file. I want to run that job with flag(to change host) as 0 and 1 concurrently.

Got to know about Jenkins plugin for concurrent run but it may happen that both job instances run on same slave and creating problem with host file(different flags to change/unchange the file)

I am looking for something by which i can run both instances, BUT ON DIFFERENT SLAVES.


Solution

  • throttle concurrent builds plugin - in configuration of plugin set Maximum Concurrent Builds Per Node = 1