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.

...

Before upgrading please read the upgrade guide

...

width150px
Name

...

Jenkins Plugin
Latest version

...

2.1 (18 April 2013)
Download

Use

...

Jenkins Update Center

...

Authors

...

LicenseGNU LGPL 3
DevelopersSonarSource

...

Jira

...

License

...

LGPL v3

Matrix Compatibility

...

Plugin

2.1

...

Jenkins

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

...

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.

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/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