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.
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.
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.
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