Teamcity Build Priority

Hi,

I read the article about Build priorities mechanism and would wanted to know more about the priority configuration. For my configuration, I have two sets of projects, Project A (estimated build time ~30 min) and Project B (estimated build time ~60 min). And I need to set priority for Project A in such a way that it should be run ahead of Project B. So basically priority of Project A should be set higher than Project B. But if I have many such builds are in queue then newly added Project A builds in queue should not bypass the older Project B builds in queue (for e.g. time spent in queue is around 4 Hrs). I wanted to know what priority I should set for Project A to have such configuration.

Is there any way I could see priorities set for builds in queue?

Also does the dependency build config inherits the priority of parent build configuration? 

TIA

0
1 comment

Hi Prasad,

 

Setting a priority should make it so that A is more likely to be prioritized than B, but that will not always make A run before B, because that could starve B in some situations. There is a lot of details on this thread here: https://teamcity-support.jetbrains.com/hc/en-us/community/posts/206173339-Build-priorities-mechanism. Please use that information to configure your priorities accordingly to your own requirements.

0

Please sign in to leave a comment.