I am new to Jenkins and I am trying to set up a project that will use several build executives. The flow should be as follows:
- two labeled assembly executors
webservicereturn their IP addresses and wait for the third assembly executor to complete their work. - a third labeled assembly executor
testercollects these IP addresses and does some sort of long task (ex sends HTTP requests to web services deployed on these two agents)
How to achieve this behavior in Jenkins?
I found that when an assembly executor finishes his work, he is immediately released, and I do not know how to make him wait until other assembly executors finish their tasks.
Edit
I forgot to mention that I want the assembly executors with the label to webservicebe reserved (not available for other tasks) until the assembly executor with the label testercompletes their long-term task.
Also, all of these assembly performers must be on separate slaves each. This means that each slave has only one assembly executor.
source
share