TeamCity 2018.1 Help

Configuring Agent Requirements

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:

Option

Description

Parameter Type

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.

Parameter Name

Specify the mandatory property or environment variable name.

Condition

Select condition from the drop-down list.

Value

Is shown for the conditions which require the value to match against (like "equals"). The value supports parameters resolution, but only the parameters which do not originate from the agents are supported in the field.

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.

Last modified: 20 April 2023