Skip to content
krosenvold edited this page Sep 13, 2010 · 10 revisions

Bamboo Git Plugin

This plugin provides Git support to the excellent Atlassian Bamboo continou integration server.

It is compatible with Bamboo 2.2.x and above.

RELEASES

The current release is 1.1.5. Only the latest release is available for download. Older releases will have to be built from source, which is really easy:

HOW TO BUILD FROM SOURCE

git clone git://github.com/krosenvold/bgit.git
cd bgit
# optionally checkout an old version from a tag
mvn install
# the generated .jar will be inside "target" folder.

INSTALLATION

  • Copy to $BAMBOO_INSTALL_DIR/webapp/WEB-INF/lib
  • Remove older versions from same folder
  • Restart Bamboo

Now when you create or edit plans you will be able to select “Git” as the
repository provider.

The plugin delegates most of its configuration to the underlying os shell. As long as this is set up properly, you
should be able to access the repositories.

All the groundwork was done by Don Brown from Atlassian. Until Atlassian can
provide resources to the plugin I will be mantaining it here on github
== USAGE WARNING ==
If you are using SSH make sure to use ssh keys. In general, make sure that a
background script can pull from your repo. If it can’t then Bamboo will not be
able to checkout neither.

Release notes

1.1.5 RELEASE NOTES

- Fixed problem with rebased repos where out-of order dates would cause bamboo
to loop infinitely (Thanks to Alex Fisher for patch)
- Works on windows

1.1.4 RELEASE NOTES

- Commit SHA1 numbers are included in top-level build log.
- Better error message when non-existing branch is selected for build

1.1.3 RELEASE NOTES
(big thanks to Kristian Rosenvold)
- This should support branches properly. Please note that when changing
branches on a build, you still need to clean the build using the bamboo
console.

- This should also fix the file list in the commit history view.

- Also, in 1.1.1 you needed to specify “checkout” as a subdirectory name under
configuration\builder. This should not be done for this version of the plugin
(the “checkout” folder is still used in the file structure internally, but
the plugin tells bamboo about it so that you dont have to do it on every
build!)

- The fix also contains working unit tests for some features.

CHANGELOG
- 2009/10/11: 1.1.2 Several bugfixes and new features
- 2009/04/25: 1.1.1 git submodule support (thanks go for Graeme Mathieson)
- 2009/04/24: Started tracking changes here

CONTRIBUTORS

- Don Brown (original author)
- i386 (Bamboo 2.2 support)
- Juan Alonso “slnc” (packaging and updates for bamboo 2.1)
- Graeme Mathieson (git submodule support)
- Kristian Rosenvold (several fixes)
- Alex Fisher (Rebasing fix)

Related links

Clone this wiki locally