Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{iframe:src=http://update.sonarsource.org/plugins/trac-confluence.html|width=700|height=250300|frameborder=0}
Your browser does not support iframes.
{iframe}

...

This plugin uses the Trac XML-RPC plugin to connect to a Trac instance and display metrics about open tickets. It can also drill down to the component level. 

Installation

  1. Install the Trac plugin through the Update Center or download it into the SONAR_HOME/extensions/plugins directory
  2. Restart the Sonar server

Include Page
Include - Plugin Installation
Include - Plugin Installation

Usage

Install and enable the Trac XML-RPC plugin on your Trac instance. You will need to give an anonymous or a user account 'XML_RPC' and 'TICKET_VIEW' privileges.
A user working with trac 0.11.7 has reported on the user mailing-list that the HttpAuthPlugin should be also installed, so if you get the following error Trac: XmlRpcException (possibly missing authentication details?) install it as well.

The Trac instance URL can be specified in two places:

  • Your project's pom.xml file under the 'issue managment' section; for example: (note that the username/password/component has to be specified in Sonar SonarQube project settings, the plugin does not currently have the ability to read the username/password/component from the pom.xml)

    Code Block
    <issueManagement>
        <system>Trac</system>
        <url>http://trac_server/projects/project_name</url>
    </issueManagement>
    
  • Specified in Sonar SonarQube under the project settings.
  • Username/password/component name should also be specified here.

...

  • While the Trac instance URL can be picked up from your project's pom.xml file the username/password/component have to be specified within the project settings in SonarSonarQube.

Change Log

JIRA Issues
anonymoustrue
titleRelease 0.3
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=19043&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000

...