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 to 1.7.1, 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

...

...

License

...

LGPL v3

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

...

Description / Features

The plugin allows you to trigger SonarQube analysis from Jenkins using either a:

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

Requirements

SonarQube and Jenkins must be installed.

Compatibility matrix:

Plugin

2.1

Jenkins

1.491+

Installation

Install the SonarQube Jenkins plugin via the Jenkins Update Center.

Usage

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

Advanced Topics

...

  • can find the documentation here.

...