Teamcity Queue Maanagement

Hi there!

We have a big teamcity queue during work hours. It may take up to 1h to get build started.

But! We have small builds 1-5 minutes long i`d like to see those builds in top, automatically, without sitting in queue.

i`ve set 'Build Pririty' 100 for this builds, but they are still in queue, non in the end, but in the middle. This is still not what i wan`t to have :)

 

0
3 comments

Hi,

assigning build priorities works for when new builds are added to the queue. You also have to take in mind that TeamCity doesn't simply put those on top of the queue all the time, as it could starve other builds that would never run, so an algorithm is applied weighing the priorities, time spent already in the queue, etc.

0
Avatar
Permanently deleted user

In my teamcity i have several build cofigurations for maintenance my test instances. I would like to have low-level priority class for this builds (this build should start only if no other build in queue). But sometime regular builds not queued on top of this low level builds. In logs i see weight > 100. How can i configure priority for this builds?

0

The documentation for assigning build priorities is here: https://confluence.jetbrains.com/display/TCD18/Ordering+Build+Queue#OrderingBuildQueue-ManagingBuildPriorities

 

Keep in mind the note in the previous post: TeamCity handles priorities intelligently which might make some low priority builds have a higher priority if they haven't run for a long time.

0

Please sign in to leave a comment.