Configuring Agent Requirements
Last modified: 20 April 2023By 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:
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 some conditions that require value, for example: |
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 Agent Requirements.
Thanks for your feedback!