| 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 |
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
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. Personal builds ( remote run and pre-tested commit) are not yet supported in any of the IDE.
The following protocols are supported:
- ssh: (git@git.somwhere.org:repos/test.git, ssh://git@git.somwhere.org/repos/test.git)
- file: (file:///c:/projects/myproject/.git)
- git: (git://git.kernel.org/pub/scm/git/git.git)
- http: (http://git.somewhere.org/projects/test.git)
- sftp: (not tested)
- amazon-s3: (not tested)
Known Issues
- Tagging is not supported over HTTP protocol (JGit limitation)
- For SSH to work you should have correctly configured $HOME\.ssh-* 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
- 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.
Installation instructions
- Put jetbrains.git.zip into <TeamCity Data Directory>/plugins folder.
- 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 |
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 at JetBrains public TeamCity instance.
Related Materials
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. |