Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Hudson/
NameJenkins Plugin
Latest version2.0 (22 October 20121 (18 April 2013)
Download

Use

Hudson/

Jenkins Update Center

LicenseGNU LGPL 3
DevelopersSonarSource
Issue trackerSONARPLUGINShttp:/component/13726/jira.codehaus.org/browse/SONARJNKNS
Sourceshttps://github.com/SonarSource/jenkins-sonar-plugin

Description / Features

The plugin enables allows you to trigger Sonar analyses SonarQube analysis from Hudson/Jenkins.It offers two different ways to trigger the Sonar analysesJenkins using either a:

  • Build step to trigger the analyses analysis with the Sonar SonarQube Runner
  • Post-build action to trigger the analyses analysis with Maven

Installation

...

Requirements

SonarQube and Jenkins must be installed.

Compatibility matrix:

Plugin

2.1

Jenkins

1.491+

Installation

Install the Sonar SonarQube Jenkins plugin via the Jenkins Update Center. Before upgrading please read the upgrade guide.

Usage

  1. Configuring Sonar SonarQube Jenkins Plugin
  2. Triggering a Sonar SonarQube analysis from Jenkins:
    1. Triggering a Sonar Analysis project analysis with the Sonar SonarQube Runner
    2. Triggering a Sonar Analysis project analysis with Maven
    3. Triggering a task: computation of views, computation of developers, generation of reports

Advanced Topics

Change Log

JIRA Issues
anonymoustrue
titleRelease 2.0
height60
renderModestatic
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+SONARPLUGINS+AND+fixVersion+%3D+%22HUDSON-2.0%22+AND+status+%3D+Closed+ORDER+BY+priority+DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
titleRelease 1.8.1
height70
renderModestatic
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+SONARPLUGINS+AND+fixVersion+%3D+%22HUDSON-1.8.1%22+AND+status+%3D+Closed+ORDER+BY+priority+DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
titleRelease 1.8
height70
renderModestatic
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+SONARPLUGINS+AND+fixVersion+%3D+%22HUDSON-1.8%22+AND+status+%3D+Closed+ORDER+BY+priority+DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
titleRelease 1.7.2
height70
renderModestatic
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+SONARPLUGINS+AND+fixVersion+%3D+%22HUDSON-1.7.2%22+ORDER+BY+updated+DESC%2C+priority+DESC%2C+created+ASC&tempMax=1000

 

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

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

Warning
titleRelease 1.7
Don't use this version as it contains critical bug - SONARPLUGINS-1455

 

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

 

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

 

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

 

Warning
Before upgrade please make a backup of your Hudson configuration and carefully read following notes.
Note

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:

Code Block
import hudson.model.*
import hudson.maven.*
import hudson.tasks.*
for(item in Hudson.instance.items) {
 println("JOB : "+item.name);
 if (item instanceof MavenModuleSet) {
   println(">MAVEN MODULE SET");
   item.save();
 } else if(item instanceof FreeStyleProject) {
   println(">FREESTYLE PROJECT");
   item.save();
 }
 println("\n=======\n");
}
Note
If you are using version below 1.2, then:
  1. download version 1.2.2 or 1.3.1
  2. perform manual upgrade, using Manage Plugins -> Advanced -> Upload Plugin
  3. perform automatic upgrade to version 1.4 (see instructions above)

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

 

JIRA Issues
anonymoustrue
titleRelease 1.3.1
height70
renderModestatic
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+SONARPLUGINS+AND+fixVersion+in+("HUDSON-1.3.1",+"HUDSON-1.3")+AND+status+%3D+Closed+ORDER+BY+priority+DESC&tempMax=1000

 

JIRA Issues
anonymoustrue
titleRelease 1.2.2
height70
renderModestatic
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+SONARPLUGINS+AND+fixVersion+in+("HUDSON-1.2.2",+"HUDSON-1.2.1",+"HUDSON-1.2")+AND+status+%3D+Closed+ORDER+BY+priority+DESC&tempMax=1000

Warning
This version introduces some changes to configuration files. Upgrade will be performed automatically, but before upgrade please make a backup of your Hudson configuration.
Note
Most probably next plugin version will be incompatible with versions below 1.2, so it's highly recommended to update to this version.

 

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

Note
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.

 

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

 

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