Build couple machines
I have a build configuration to build a general machine. I have 3 machine to build and each of them should have its own artifact. The only differences between the 3 machines are the parameters they need to get. I can use the general build configurations for all the 3 of them. I want to make a project that runs the all 3 one by one, for each one I need its own artifacts. I want to make it that way that it will run 3 times the general build configuration with different parameters and after every machines it will post the relevant artifacts (not making the artifacts after the whole 3 machines finish). Also, I want that it won't need to run each machine manually, after the first one finishes it will start the second one and so on. What is the best practice of doing it ?
Please sign in to leave a comment.
Hi,
It seems that it would be a good idea to use matrix builds for your use case. You could also use Build caches: you could use another build to set the artifacts you need in a cache and set these builds as consumers. When running the matrix build, you pass the artifacts you want to use and where to post them at the end of the build.
Note: with matrix builds, as stated in the documentation above:
So if doing it all in the same agent works for you, this could be a solution.