public
Description: Git and GitHub Plugin for the Bamboo Build Server
Homepage: http://andypols.github.com/git-bamboo-plugin
Clone URL: git://github.com/andypols/git-bamboo-plugin.git
name age message
file .gitignore Thu Apr 30 15:03:39 -0700 2009 ignore the class files generated by intellij [andypols]
file License.txt Sun Apr 19 15:06:06 -0700 2009 Added "use-it-anyway-you-like" license [andypols]
file README.textile Wed Dec 16 01:56:16 -0800 2009 added link [andypols]
file build.xml Wed Dec 23 16:29:41 -0800 2009 Write release version into plugin conf file (ra... [mrowe]
file git-bamboo-plugin.iml Sat Jun 20 16:44:32 -0700 2009 Ah need this baby to be checked in [andypols]
file git-bamboo-plugin.ipr Thu Apr 30 15:39:31 -0700 2009 Release 1.0 [andypols]
file git-repository-1.0.2.jar Sat Jun 20 17:37:25 -0700 2009 Release 1.0.2 [andypols]
directory lib/ Tue Apr 14 15:01:42 -0700 2009 jmock library [andypols]
directory src/ Thu Dec 24 11:15:35 -0800 2009 initialise a new repository on the server if on... [andypols]
README.textile

A Git Plugin for the Bamboo build server

Version 1.0.2

Build your GitHub repositories on the Amazon Cloud using Atlassian’s Bamboo.

  • Adds the option “GitHub” to the list of available repositories when you add or edit a plan.
  • Shows the changes that triggered the build.
  • Trigger the build via a GitHub Service Hook.
  • Links the commit code changes back to the GitHub page containing the commit/diff.
  • Works with Bamboo version 2.2 or greater.
  • Assumes Bamboo is running on *nix (tested on Ubuntu and OSX). Would need tweaking for windows.

More information on the Project’s wiki.

NOTE: The trigger on change feature has stopped working since github moved from engineyard to rackspace. Bamboo’s TriggerRemoteBuild checks that the IP address of the source repository matches the IP adress of the build trigger. The trigger now comes from a different IP and is rejected by Bamboo. I have raised the following jira with the bamboo team: BAM-4713. Vote on it to get it fixed!!! The short term fix is to poll for changes instead.

Installation

Install git (http://git-scm.com/).

Copy the git-repository jar to $BAMBOO_INSTALL_DIR/webapp/WEB-INF/lib.

Run exec ssh-agent bash and ssh-add deployment-key before running Bamboo. Bamboo will use the key stored in the agent to fetch the changes from GitHub.

The plugin will try and find the git command-line binary. Alternatively, you can tell bamboo where the git binary is located using the GIT_HOME environment variable.

Build from source

Define the bamboo.server.lib value in the build.xml so the build has access to the bamboo jars (Bamboo is commercial, so I can’t include them the github repository).

Run the ant all task.

Release Notes

1.0.2 Bug Fix

  • Handle case where we had a date for the previous build, but can’t extract the lastest update from the logs…

1.0.1 Bug Fix

  • Fixed a silly bug. I was validating some fields that had been removed from the UI, so bamboo wouldn’t let the user progress past the guthub page when creating a new repository.
  • Handle timezone information in the git logs correctly

1.0 First Release