Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
iconfalse
titleTable of Contents

Table of Contents
maxLevel2

Prerequisites

Configuring the SonarQube Jenkins Plugin

Adding SonarQube Server

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

To add a SonarQube server, just follow the three steps below:

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

...

Image Removed

Adding SonarQube Runner

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

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

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

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

...

Image Removed

Documentation has been moved to http://docs.sonarqube.org/display/SONAR/Configuring+SonarQube+Jenkins+Plugin.