Page tree

Versions Compared

Key

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

...


Code Block
languagepowershell
teamcity.agent.name=teamcity_agent_name
# This build parameter defines which branch to choose for build creation. It may look like: teamcity.build.branch=2.2.0
If you want to add multiple parameters, use the ';' (semicolon) as a separator for multiple parameters, as follows:
Code Block
languagepowershell
teamcity.agent.name=Windows2012R2;issue_key=$JIRA_KEY

If you want to run a chain of linked builds within the same branch but from a different build configuration, use the following parameter in the property set:

Code Block
languagepowershell
reverse.dep.*.teamcity.branch.name=$BRANCH_NAME

If you want to pass the issue key to TeamCity for mapping the build to the specific issue, add the following property:

Code Block
languagepowershell
issue_key=$JIRA_KEY


Info

For the list of accepted build parameters, see TeamCity documentation.


Info

The teamcity.build.branch parameter (if used not for a chain of linked builds) is deprecated since TeamCity Integration for Jira 2.7.0 and will be ignored.