Git (JetBrains)
tip
Remote run is supported in IntelliJ IDEA and Eclipse plugins, pre-tested commit is not yet supported in any of the IDE plugins.
Initial Git checkout may take significant time (sometimes hours), depending on the size of your project history, because the whole project history is downloaded during the initial checkout.
General Settings
tip
Starting with TeamCity 7.1 you can configure the branches you want to monitor in a build configurations right in the VCS root:
Branch Specification
In this area list all the branches you want to be monitored for changes. The syntax is similar to checkout rules:
+|-:branch_name
, wherebranch_name
is specific to the VCS e.g.refs/heads/
in Git (with optional * placeholder). Note that only one asterisk is allowed, and each rule has to start with a new line.
If the branch matches a line without patterns, the line is used.
If the branch matches several lines with patterns, the best matching line is used.
If there are several lines with equal matching, the one below takes precedence. Everything that is matched by the wildcard will be shown as a branch name in TeamCity interface. For example,
+:refs/heads/*
will matchrefs/heads/feature1
branch but in TeamCity interface you'll seefeature1
only as a branch name. The short name of the branch is determined as:if the line contains no brackets, then full line is used, if there are no patterns or part of line starting with the first pattern-matched character to the last pattern-matched character.
if the line contains brackets, then part of the line within brackets is used. When branches are specified here, and if your build configuration has VCS trigger and a change is found in some branch, TeamCity will trigger a build in this branch.
Branch Name
Use this field to define a so-called default branch. Default branch is used in situations when branch name was not specified. For example, if someone clicks on a Run button TeamCity will create build in default branch. Note that parameter references are allowed in branch specification as well.
Authentication Settings
Server Settings
Agent Settings
Git executable on the agent
Internal Properties
Limitations
Known Issues
Development Links
Thanks for your feedback!