Force TeamCity to build on a specific agent

El Toro Bauldo picture El Toro Bauldo · Oct 21, 2009 · Viewed 9.6k times · Source

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

Answer

Jim Geurts picture Jim Geurts · Jul 19, 2011

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