Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This plugin will help you to configure your Jenkins/Hudson instance with Sonar.

...

Name

...

Jenkins Plugin
Latest version2.1 (18 April 2013)
Download

Use Jenkins Update Center

LicenseGNU LGPL 3
DevelopersSonarSource
Issue trackerSONARPLUGINS/component/13726
Sourceshttps://github.com/SonarSource/jenkins-sonar-plugin

Matrix Compatibility

Plugin

2.1

Jenkins

1.491+

Description / Features

The plugin enables to trigger Sonar analysis from Jenkins.

It offers two different ways to trigger a Sonar analysis:

  • Build step to trigger the analysis with the Sonar Runner
  • Post-build action to trigger the analysis 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

...

width150px

...

Name

...

Hudson/Jenkins Plugin

...

Latest version

...

1.8

...

Download

...

Use Hudson/Jenkins Update Center

...

Authors

...

SonarSource

...

Jira

.

Usage

  1. Configuring Sonar Jenkins Plugin
  2. Triggering a Sonar analysis from Jenkins:
    1. Triggering a Sonar analysis with the Sonar Runner
    2. Triggering a Sonar analysis with Maven

Advanced Topics

Change Log

JIRA Issues
anonymoustrue
titleVersion 2.1
height60
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/

...

License

...

LGPL v3

...

Sources

...

https://github.com/SonarSource/jenkins-sonar-plugin

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+

Section
Column
width33%

1. Install

  1. Install and start Sonar
  2. Install and start Jenkins
  3. Install Jenkins/Hudson plugin via the Update Center
Column
width33%

2. Configure

  1. Configure the Sonar parameters in Jenkins
  2. Activate Sonar analysis on your Jenkins jobs
Column
width33%

3. Run !

  1. Build your projects
  2. Enjoy your metrics on Sonar !

Advanced topics

The upgrade guide will give you the information about the process of upgrading this plugin.
If you want to build the Jenkins plugin, you'll find the documentation here.
You can find the change log here

sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+SONARJNKNS+AND+fixVersion+%3D+%222.1%22+AND+status+%3D+Closed+ORDER+BY+priority+DESC&tempMax=1000

 

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

 

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

 

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

 

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