Full documentation for SonarQube has moved to a new location: http://docs.sonarqube.org/display/SONAR

Versions Compared

Key

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

...

1. Log into Jenkins as an administrator and go to Manage Jenkins > Configure System: 

Image RemovedImage Added

2. Scroll down to the Sonar configuration section and click on Add Sonar:
Image RemovedImage Added

3. Configure your SonarQubeTM installation:Image Removed

Image Added

Adding

...

SonarQubeTM Runner

This step is mandatory if you want to trigger your SonarQubeTM analyses with the Sonar SonarQubeTM Runner. Skip this step if you want to trigger your analyses with Maven.

You can define as many Sonar SonarQubeTM Runner launchers as you wish. Then for each Jenkins job, you will be able to choose with which launcher to run the SonarQubeTM analysis.

To add a Sonar SonarQubeTM Runner, just follow the three steps below:

1. Log into Jenkins as an administrator and go to Manage Jenkins > Configure System: 

Image RemovedImage Added

2. Scroll down to the Sonar Runner configuration section and click on Add Sonar Runner. It is based on the typical Jenkins tool auto-installation. You can either choose to point to an already installed version of Sonar SonarQubeTM Runner (uncheck 'Install automatically') or tell Jenkins to grab the installer from a remote location (check 'Install automatically'):

Image RemovedImage Added