Redmine Buildbot

This plugin provides a simple integration of Buildbot jobs into Redmine. It uses the XMLRPC interface of Buildbot to fetch the data and add it to the database.

Features

  • Works project-wise
  • Adds jobs as events to the activity pane
  • Adds related jobs to revision view
  • Provides rake tasks to automate updates

Installation and setup

  1. Either clone the mercurial repository or download the latest snapshot:
    hg clone http://hg.subforge.org/redmine_buildbot
    http://hg.subforge.org/redmine_buildbot/archive/tip.tar.gz

    Make sure the plugin is installed to vendor/plugins/redmine_buildbot

  2. Run the plugin migrations rake db:migrate_plugins
  3. Restart your Redmine webserver
  4. Login and add the required permissions to your user roles
  5. Enter hostname and start time in the settings pane for your project(s)
  6. Either click update or run the rake task rake redmine_buildbot:fetch[projectname]

Usage

The plugin cannot update itself, so either a user clicks on the update link in the Buildbot pane or an automated rake task that runs e.g. hourly. A timestamp is used and stored internally to fetch jobs in a given range, starting from this timestamp up to now. After a complete update the timestamp is updated and so on.

Rake tasks

  • redmine_buildbot:fetch[projectname]
  • redmine_buildbot:clear[projectname]

License

This plugin can be distributed under the terms of the GNU GPLv2. See the file COPYING for details.