The plugin is bundled in the latest TeamCity 5.0 EAP. If you installed the plugin manually, please remove it from .BuildServer/plugins when using TeamCity 5.0 and later.

General Info

Vendor

JetBrains

License

Apache 2.0

Type

free, open-source

Plugin Description

Adds Git support.

Plugin Development Status

Early access program is open. Snapshot builds are available.
Everyone is encouraged to try the plugin, however issues can be uncovered.

TeamCity Versions Compatibility

The current plugin version is designed to work with TeamCity 4.5. It will not work with previous TeamCity versions.

Download

Directly from public TeamCity server: last build for TeamCity 4.5, last build for TeamCity 5

Documentation

The VCS is visible as "Git (JetBrains)" in VCS chooser to eliminate confusion with third-party plugin.

The implementation is powered by JGit.
Remote run is supported in IntelliJ IDEA and Eclipse, pre-tested commit is not yet supported in any of the IDEs.

The following protocols are supported for the server-side checkout mode:

Agent Checkout Support

Only available since TeamCity 5.1.1.
The git plugin contains experimental support for agent-side checkout. Unlike the server-side support, this is implemented using native git binaries, so you need to have git installed on all the agents that you plan to use agent-side git checkout on.

Path to git executable can be specified in the VCS root settings, otherwise it will be searched for in the default installation locations, in the path specified by TEAMCITY_GIT_PATH environment variable or (since TeamCity 5.1.3) in system PATH.

Agent checkout has limited support for SSH. Currently you can use only "Default Private Key" authentication method.

Supported default installation locations:

Known Issues

Installation instructions

  1. Put jetbrains.git.zip into <TeamCity Data Directory>/plugins folder.
  2. Restart the server.

It is possible to to configure the following system properties for the Git plugin:

Property

Default

Description

teamcity.git.clone.timeout

18000

Timeout in seconds for transport that is used when the branch were never fetched

teamcity.git.fetch.timeout

1800

Timeout in seconds for transport that is used when the branch were previously fetched

teamcity.git.fetch.separate.process

false

Run git fetch in separate process or not, by default it is ran in the server's process

teamcity.git.commit.debug.info

false

Log additional debug info on each found commit

Feedback/Support

If you believe you've faced a bug: Issue Tracker
If you want to ask a question or discuss: Forum
Any of the above, but you do not want it to be publicly accessible: Feedback email

Development links

Clone URL: http://git.jetbrains.org/teamcity/git-plugin.git
Snapshot of the sources is also available in the jetbrains.git-src.zip download package.
Builds for TeamCity 4.5, builds for TeamCity 5 at JetBrains public TeamCity instance.

Related Materials

Tracker Issue

History

Date

Build

Description

2009-07-03

pub-27

Added submodules support. Submodules are treated as a logical part of working tree from point of view of collect changes and build patch operations.