Hello Robin
I have a question about the distributed builds (using parallel step).
I understand that if you have (let's say) 2 kinds of builds, one for linux and one for windows, we can use parallel step to wrap two child steps, with different node selection schemes.
My situation is, I have just one kind of builds, it can be run on any of my agents. And now I'm trying to run the same build multiple times with different arguments, and I'm using repeat parameter to iterate through all the different arguments. And I found out that when I put this build step inside a parallel step, when it repeats (let's say 5 times), they will all be run in parallel.
My question is, how can I distribute the repeating builds to different agents? If I specify the node selection scheme for the repeating step (the one inside the parallel wrapper), will they be distributed to multiple agents as long as I have more than one?
If I only had one agent for the build, it will still be run on parallel, I guess it's not good if the machine cannot handle too many arguments (what if I had 100 arguments to loop from)? In this case, how can I limit the amount of builds on the only build agent?
In addition, which one is faster, checkout every time on an agent, or use Input/Output file transfer?
Thank you very much!
- solved #2
- replies 7
- views 1231
- stars 0