Trac Plugin

Plugin Information

Plugin ID trac
Latest Release 1.10
Latest Release Date Mar 03, 2010
Plugin Central Plugin Central 3.2
Sources Subversion
Support Eclipse Hudson Forum
Issue Tracking Eclipse Bugzilla
Hudson Core (latest) 3.3.3

Trac Plugin


This plugin creates links from Hudson projects to Trac instances. Trac is a wiki-based issue tracking system written in Python and supported by Edgewall Software.
The Trac plugin decorates Hudson "Changes" HTML to create links to your Trac wiki, tickets, changesets, and source browser.
As an example, if you committed a change with the following log message:

Reverted changeset:123 to close ticket #456.

your Hudson job changes page would make changeset:123 and #456 hyperlinks to the appropriate Trac changeset and ticket pages, respectively.

In the Hudson change details, there would be a link to the Trac pages for the:

  • changeset committed,
  • files changed, and
  • diff of the changes for each changed file.
    Integrating Hudson into Trac
    Since you are interested in using Hudson with Trac, you'll likely find this would be useful, which adds the Hudson build history to the Trac time line.

Configuration

  • Navigate to the Configuration page for your job.
  • In the top section find the setting for "Trac website" and enter the url of your trac instance, eg. http://devserver.company.com/trac.
  • In the Source Code Management section, choose "Trac" for the "Repository browser" setting.
  • Save your changes.

Change Log

Version 1.10 (Mar 3, 2010)

  • Update code for more recent Hudson.

Version 1.9 (Sep 2, 2009)

  • Simplify regular expressions so it doesn't tickle a Java regular expression problem.

Version 1.8 (Feb 19, 2009)

Version 1.7 (Jul 2, 2008)

  • Trying to configure Trac as a repository browser with Hudson 1.231 results in 500 (issue #1966)

Version 1.6 (Jun 12, 2008)

  • Added a link to Trac in the sidebar (discussion)

Labels:

plugin-external plugin-external Delete
Enter labels to add to this page:
Wait Image 
Looking for a label? Just start typing.
  1. Jan 27, 2010

    Mattis says:

    I have a problem with the links in the changes page. In my subversion repositor...

    I have a problem with the links in the changes page.

    In my subversion repository, the files are located in:

    • svn://svn.xxx.com/Repo/Product/Trunk/subdir/file.txt

    The links will then point at:

    But my Trac installation has its root at Product/Trunk/, so the only link that would work is:

    Is there any way to tell the plugin that my Trac project has its root set at svn://svn.xxx.com/Repo/Product/Trunk/ and not svn://svn.xxx.com/Repo/ ?

  2. Jul 21, 2010

    Dirk Möbius says:

    @Mattis: I run into the same problem. I attached a patch at HUDSON-7032 that enh...

    @Mattis: I run into the same problem. I attached a patch at HUDSON-7032 that enhances TracPlugin with a new property called "Trac source repository browser prefix". Any path entered there will be subtracted from the URL before opening the Trac browser. That is, in your example, enter "/Product/Trunk" so that this prefix will be removed from the path.

  3. May 31, 2011

    trevor Steve says:

    Most blogs are interactive, allowing visitors to leave comments and even message...

    Most blogs are interactive, allowing visitors to leave comments and even message each other via widgets on the blogs and it is this interactivity that distinguishes them from other static websites

    [write my essay]