TeamCity On-Premises 2021.1 Help

Requirement Conditions

This page explains conditions used in agent requirements or build step execution requirements.

ConditionNotes

equals

Is true if an empty value is specified and the specified property exists and its value is an empty string; or if a value is specified and the property exists with the specified value.

does not equal

Is true if an empty value is specified and the property exists and its value is NOT empty; or if a specific value is specified and either the property does not exist, or the property exists and its value does not equal the specified value.

does not contain

Is true if the specified property either does not exist, or exists and does not contain the specified string.

  • is more than
  • is not more than
  • is less than
  • is not less than

Work only with numeric values.

  • matches
  • does not match

Is true if the specified property matches/does not match the specified regular expression pattern.

  • version is more than
  • version is not more than
  • version is less than
  • version is not less than

Compares versions of a software. Multiple formats are supported including . -delimited, leading zeroes, common suffixes like "beta", "EAP". If the version number contains alphabetic characters, they are compared as well, for instance, 1.1e < 1.1g.

Last modified: 30 July 2021