{hudson-plugin-info:pluginId=sonar}

Quickly benefit from Sonar, an open-source Code Quality Management Platform based on many well known analysis tools like Checkstyle, PMD, Findbugs, Cobertura, ....

Once your technical project is configured in Hudson, just activate the Sonar plugin in order to analyze your source code according to the following quality axes :

Why use Sonar?

Sonar drives many tools including among others :

Screenshots

All projects

Project dashboard

Configuration

  1. Install and start the Sonar server
  2. Activate the Sonar plugin from the Hudson Plugin Manager
  3. Define a Sonar installation from the Configure System page. Some advanced parameters are used when overriding default Sonar configuration.
  4. Activate Sonar on jobs from the "Post-build actions" section.
  5. Build your project

    We recommend to execute Sonar at the most on nightly builds. It's useless to activate it on continuous builds.

  6. View your project in Sonar application (default is http://localhost:9000)

Compatibility matrix


Plugin 1.0

Plugin 1.1

Plugin 1.2

Sonar

1.8+

1.8+

1.8+

Hudson

1.306+

1.317+

1.341+

Support

Please post comments and questions on the Sonar mailing-list. Issues are listed in JIRA.

Release notes

Release 1.2 (Not released)

This version introduces some changes to configuration files. Upgrade will be performed automatically, but before upgrade please make a backup of your Hudson configuration.

Most probably next plugin version will be incompatible with versions below 1.2, so it's highly recommended to update to this version.

Release 1.1 (August 1, 2009)

When upgrading to this version, please be aware that "Skip on SCM build" (Default Yes) is becoming "Poll SCM" (Default No) under Triggers section. Due to technical limitation, this data could not be migrated to 1.1, and therefore if it was unchecked in certain jobs, the new box should be manually checked.

Release 1.0.1 (June 3, 2009)

Release 1.0 (May 20, 2009)