Agent Requirements

Skip to end of metadata
Go to start of metadata
You are viewing documentation of TeamCity 2.x, which is not the most recent released version of TeamCity. Please refer to the listing to choose another version.
Documentation Index

Agent Requirements

Administration > <project> Agent requirements

Use this page to specify requirements to the system properties and environment variables that the build agents should meet in order to be able to run the builds of the current build configuration.

Option Description
Frequently used requirements
Click this link to view the list of frequently used requirements in the dialog, where you can select the desired requirements and add them to your list.
These requirements apply to the system properties.

Requirements for system properties

Option Description
edit Click this link to change selected requirement in the  Edit Requirement dialog.
delete Click this link to delete selected requirement.
Add requirement Click this link to create a new requirement for a property in the Add Requirement dialog.

Requirements for environment variables

Option Description
edit
Click this link to change selected requirement in the  Edit Requirement dialog.
delete
Click this link to delete selected requirement.
Add requirement
Click this link to create a new requirement for a property in the Add Requirement dialog

 

Add / Edit Requirement dialog 

Option Description
Property or environment variable 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, e.g. equals
Save Preserve changes and close the dialog.
Some notes on how conditions work:
  • equals: if empty value is specified then the condition checks that specified property exists and its value is empty string; if not empty value is specified the condition checks that there exists property with specified value.
  • does not equal: if empty value is specified the condition checks that property exists and is NOT empty; if not empty value is specified the condition checks that property does not exist or its value does not equal the specified value.
  • does not contain: evaluates to true if specified property does not exist or does not contain specified string.
  • is more than, is not more than, is less than, is not less than: these conditions work with numbers only.
  • (since 2.1) matches, does not match: evaluates to true if specified property matches/does not match to specified Regular Expression pattern.

Agents compatibility

This section shows the list of compatible and incompatible build agents for this build configuration. Possible reasons why build agent may be incompatible with this build configuration are described separately.

Labels:

Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.