Version 9 (modified by roadrunner, 8 years ago) (diff)

Updated for 0.3

Hudson Trac Integration Plugin


Integrate Hudson build results into the Trac timeline and (optionally) provide a navbar menu to link to the Hudson instance.

This plugin works very similar to the LuntbuildTracIntegration plugin and the Trac Continuum plugin. The build results are obtained from the Hudson remote API.


There are 8 options you can configure in your trac.ini under the section [hudson] (if you have the IniAdminPlugin installed they will show up under hudson):

The url of the top-level hudson page if you want to display all jobs in the timeline, or a job or module url if you want only display builds from a single job or module. Examples: http://localhost/hudson/ (for builds from all jobs), http://localhost/hudson/job/build_foo/ (for builds from the build_foo job only).
The username to use when accessing hudson; leave empty if no authentication is needed.
The password to use when accessing hudson; leave empty if no authentication is needed.
If set to true then display the builds of individual modules in the timeline too; otherwise only builds of jobs are displayed.
The url of the hudson page to link to from the trac mainnav; if empty, no entry is created in the mainnav. Example: /hudson/
If set to true then open the above hudson page in a new tab (or window) instead of in the current tab/window. Not used if main_page is not set.
Display a green ball instead of the standard blue one for successful builds.
Whether to display the build descriptions for each build instead of the canned "Build finished successfully" etc messages.

Furthermore, make sure you assign users the BUILD_VIEW permission in order for them to be able to see the builds in the timeline.

Bugs/Feature Requests

Existing bugs and feature requests for HudsonTracPlugin are here.

If you have any issues, create a new ticket.

Download and Source

Download the [download:hudsontracplugin zipped source], check out using Subversion, or browse the source with Trac.

Upgrade Notes

If you are upgrading from version 0.2 of this plugin (pre r6683) then you will need to make the following changes:

  • the feed_url option has been replaced by the job_url option; the latter points to the top-level hudson page or to a job page, not an RSS feed anymore.
  • the display_subprojects has been renamed display_modules
  • you must assign users the BUILD_VIEW permission in order for them to see the builds
  • The python-feedparser library is no longer required.

Recent Changes

16407 by rjollos on 2017-03-26 03:18:26
0.6dev: Coding style changes and adapt to future Trac changes
16406 by rjollos on 2017-03-26 03:12:29
0.6dev: Make compatible with Trac 1.2

Initial patch by Dirk Stöcker.

Fixes #13065.

14253 by rjollos on 2014-11-12 07:22:59
Removed print statement.


Author: roadrunner

Attachments (5)

Download all attachments as: .zip