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.

...

Configuring the SonarQubeJenkins SonarQube Jenkins Plugin

Adding SonarQube Server

You can define as many SonarQubeservers SonarQube servers as you wish. Then for each Jenkins job, you will be able to choose on which server to run the SonarQube analysis.

...

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 SonarQube installation:Image Removed

Image Added

Adding SonarQubeRunnerSonarQube Runner

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

...

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 SonarQube Runner (uncheck 'Install automatically') or tell Jenkins to grab the installer from a remote location (check 'Install automatically'):

Image RemovedImage Added