I'm new to Jenkins and I'm trying to setup a project which will use few build executors. The flow shall be as follows:
- two build executors with
webservicelabel return their IP addresses and wait for the third build executor to finish its job - third build executor with
testerlabel collects those IP addresses and performs some long running job (e.x. sends HTTP requests to the webservices deployed on those two agents)
How to achieve such behavior in Jenkins?
I've found that when an build executor finishes its job it is immediately released and I don't know how to make it wait for other build executors to finish their jobs.
Edit:
I forgot to mention that I want the build executors with the webservice label to be reserved (not available for other jobs) till the build executor with the tester label will finish its long-running job.
Also all these build executors should be on separate slaves each. That means each slave has only one build executor.