TeamCity On-Premises
 
Get TeamCity On-Premises

Assigning Build Configurations to Specific Build Agents

Edit pageLast modified: 18 September 2024

It is sometimes necessary to manage the Build Agents' workload more effectively. For example, if the time-consuming performance tests are run, the Build Agents with low hardware resources may slow down. As a result, more builds will enter the build queue, and the feedback loop can become longer than desired. To avoid such situation, you can:

  1. Establish a run configuration policy for an agent, which defines the build configurations to run on this agent.

  2. Define special Agent Requirements, to restrict the pool of agents, on which a build configuration can run the builds. These requirements are:

    • Build Agent name. If the name of a build agent is made a requirement, the build configuration will run builds on this agent only.

    • Build Agent property. If a certain property, for example, a capability to run builds of a certain configuration or an operating system, is made a requirement, the build configuration will run builds on the agents that meet this requirement.