preventing one agent from taking build jobs that take too long
We do have 4 agents that are all in the same pool. Most of the time that works fine, but some times one teams starts a number of builds that all take rather long (40+ minutes).
We would like to be able to prevent one agent from taking any of these jobs so he is free for to take on jobs that run much faster so that teams that have smaller builds are not hindert bei the larger jobs.
Alternatively we would like to configure one agents to that it is the only one who takes larger jobs.
Is any of this possible?
Please sign in to leave a comment.
Please refer to this documentation topic: https://www.jetbrains.com/help/teamcity/assigning-build-configurations-to-specific-build-agents.html.
I think specifying the agent requirements for this "long" build configuration to exclude one of the agents by, as an option, agents' names would meet your requirements.
Best regards,
Anton