Child pages
  • Git

Versions Compared

Key

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

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

This page contains information for those who need to use the plugin with TeamCity

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

Note

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

Download

Directly from public TeamCity server: last build

Documentation

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

The implementation is powered by JGit.
Only server-side checkout is supported. Pre-tested commit is not supported.

Known Issues

  • Tagging is not supported over HTTP protocol (JGit limitation)
  • For SSH to work you should have correctly configured $HOME\.ssh
  • Plugin creates temporary bare repositories in ~/.BuildServer/system/caches/git this repositories are not cleaned up automatically. This directory are shared for different VCS roots with the same URL. See teamcity.remote configuration property to see URL for which directory is used.
    • Specify references to the keys in appropriate host sections (keys with passphrases do not work yet)
    • You will need to specify "StrictHostKeyChecking" to "no" if you do not want for ssh to fail when connecting new hosts.
    • The file could be used to specify host aliases

Installation instructions

The implementation is powered by JGit.

Plugin is described in the TeamCity documentation (Git).

Plugin is open-sourced and can be used as an example of TeamCity VCS support implementation. See the links below.

Plugin Development Status

Stable, production quality.

TeamCity 4.5.x Versions

If you want to use Git with TeamCity 4.5.x, you can download the plugin directly from the public TeamCity server: last build for TeamCity 4.5.

Then install it:

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

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

...

Documentation

For details on configuring a Git VCS Root and known issues description, please refer to TeamCity documentation.

Repository https://github.com/JetBrains/teamcity-git
Clone URL: git@github.com:JetBrains/teamcity-git.git
Builds at JetBrains public TeamCity instance.

Related Materials

Tracker IssueOriginal tracker issue