Force TeamCity to build on a specific agent

teamcity

Solution

Under `Build Configuration Settings` go to `Agent Requirements` and set an `Explicit Requirement` for the specific agent name:

Parameter Name: `system.agent.name`

Condition: `equals`

Value: `YOUR_SPECIFIC_AGENT_NAME`

Problem

Is it possible, without disabling all other connected agents, to force TeamCity to build on a specific agents machine?

Original source