Building your GitHub repositories on Bamboo

Posted by andy in : Agile,Software on April 30, 2009. There are 3 responses »

After moving all my source code to GitHub, I wanted to build it on my Bamboo build server – especially now that it lets you run the build agents on Amazon’s Elastic Compute Cloud (EC2).

Bamboo does not support git repositories out of the box. I found this Git Repository Plugin by Atlassian’s Don Brown, but it didn’t like the GitHub style repository URL’s when I tried it.

So I wrote my own GitHub repository plugin that is fully integrated with GitHub:

  • Adds the option “GitHub” to the list of available repositories when you add or edit a build plan.
  • Shows the changes that triggered the build.
  • Links the code changes back to the GitHub page containing the commit/diff.
  • Trigger the build via a GitHub Service Hook (Fires service hook on each commit)

See the plugin wiki for some screenshots and installation instructions.

3 Responses

  1. Don Brown
    April 30th, 2009 | Permalink

    Very nice. The git plugin has been further developed here: http://github.com/slnc/bgit/tree/master so it’d be nice to get these two bits of functionality merged into one plugin.

  2. May 1st, 2009 | Permalink

    @Don, thanks. Merging them sounds like a good plan.

Trackbacks

  1. [...] andy added an interesting post today on Building your GitHub repositories on Bamboo | Pols ConsultingHere’s a small readingAdds the option “GitHub” to the list of available repositories when you add or edit a build plan. Shows the changes that triggered the build. Links the code changes back to the GitHub page containing the commit/diff. … [...]

Leave a Reply

 

Site Map | design by twothirty