Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For Git & Mercurial TeamCity provides additional parameters with names of VCS branches known at the moment of build starting. If a build took a revision from the refs/heads/bugfix branch, TeamCity will add a configuration parameter with the following name:

Code Block
teamcity.build.vcs.branch.[<simplified VCS root name>|#simplified_VCS_root_name]

Agent Properties

Agent-specific properties are defined on each build agent and vary depending on its environment. Aside from standard properties (for example, os.name or os.arch, etc. — these are provided by JVM running on agent) agents also have properties based on installed applications. TeamCity automatically detects a number of applications including the presence of .NET Framework, Visual Studio and adds the corresponding system properties and environment variables. A complete list of predefined agent-specific properties is provided in the table below.

...