Set order of builds in a build chain

We have 5 builds (in the left most column) that are part of a chain.  One of them, "Build Legacy b50" takes about 8 minutes to build, while the other builds take about a minute.  We have 3 agents doing the builds. Currently, "Build Legacy b50" is built last, but we'd like it to be built first which would reduce the overall time it takes to build the first column in the build chain.  How do we do that?

 

0
2 comments

Hi Adam,

by definition, it's expected that the builds that are dependencies of the same build can be started at the same time. The most basic option here would be to simply start it earlier, by adding it as a dependency of any of the other builds in the same column. Snapshot dependencies are thought to keep order, so, in a way, you want to start it first.

Another option could be to use build priorities: https://confluence.jetbrains.com/display/TCD10/Ordering+Build+Queue, setting a higher priority for that build should help in getting it ahead in the build queue, but could obviously mess with other builds as well, so you would want to check the docs and other possible concurrent builds to see if this would be a disadvantage for you or wouldn't apply.

1

Thanks Denis, I'll give the Build Priorities a look sounds like that will work for us.

Thanks you!

0

Please sign in to leave a comment.