| Name | Hudson/Jenkins Plugin |
|---|---|
| Latest version | 2.0 (22 October 2012) |
| Download | Use Hudson/Jenkins Update Center |
| License | GNU LGPL 3 |
| Developers | SonarSource |
| Issue tracker | SONARPLUGINS/component/13726 |
| Sources | https://github.com/SonarSource/jenkins-sonar-plugin |
Description / Features
The plugin enables to trigger Sonar analyses from Hudson/Jenkins.
It offers two different ways to trigger the Sonar analyses:
- Build step to trigger the analyses with the Sonar Runner
- Post-build action to trigger the analyses with Maven
Installation
Prerequisites: Sonar and Jenkins must be installed.
Install the Sonar Jenkins plugin via the Jenkins Update Center. Before upgrading please read the upgrade guide.
Usage
Advanced Topics
- Reassign Jobs to Another Sonar Instance
- If you want to build the Sonar Jenkins plugin, you can find the documentation here.
Change Log
Error rendering macro 'jiraissues' : JIRA project does not exist or you do not have permission to view it.
| Release 1.7 Don't use this version as it contains critical bug - SONARPLUGINS-1455 |
| 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: |
| 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. |
| 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. |

