|
This plugin will help you to configure your Jenkins/Hudson instance with Sonar.
Below are the main steps to quickly get started. |
|
Compatibility matrix
Plugin |
1.0 |
1.1 |
1.2.2 |
1.3.1 |
1.4+ |
1.7+ |
|---|---|---|---|---|---|---|
Sonar |
1.8+ |
1.8+ |
1.8+ |
1.8+ |
1.8+ |
2.6+ |
Hudson/Jenkins |
1.306+ |
1.317+ |
1.341+ |
1.344+ |
1.344+ |
1.344+ |
Installation
Upgrade guide
Usage guide
Usage & Installation
- Install and start the Sonar server
- Activate the Sonar plugin from the Hudson/Jenkins Plugin Manager
- Define a Sonar installation from the Configure System page. Some Advanced parameters are used when overriding default Sonar configuration.
- Activate Sonar on jobs from the "Post-build actions" section.
- Build your project

We recommend to execute Sonar at the most on nightly builds. It's useless to activate it on continuous builds.
- View your project in Sonar application (default is http://localhost:9000)
Changelog
Release 1.7.1 (November 2, 2011)
Release 1.7 (October 28, 2011)
Don't use this version as it contains critical bug - SONARPLUGINS-1455 |
Release 1.6.1 (January 12, 2011)
Release 1.6 (January 11, 2011)
Release 1.5 (March 22, 2010)
Release 1.4 (March 13, 2010)
Before upgrade please make a backup of your Hudson configuration and carefully read following notes. |
If you are using version above 1.2, then before upgrade make sure that your jobs was saved with proper configuration. In order to do it, execute following script from Hudson Script Console: |
If you are using version below 1.2, then: |
Release 1.3.1 (February 27, 2010)
Release 1.2.2 (February 3, 2010)
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. |

