By specifying Agent Requirements for build configuration you can control on which agents the configuration will be run.
To add a requirement, click corresponding link and specify the following options:
Specify the type of the parameter: system property, environment variable, or configuration parameter. For details on the types of parameters available in TeamCity, please refer to Configuring Build Parameters section.
Specify the mandatory property or environment variable name.
Select condition from the drop-down list.
Is shown for the conditions which require the value to match against (like "
Note that the Agent Requirements page also displays the list of compatible and incompatible build agents for this build configuration, which is updated each time you modify the list of requirements. Possible reasons why build agent may be incompatible with this build configuration are described separately.