Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3
Info
iconfalse
titleTable of Contents

Table of Contents
maxLevel2

Prerequisites

Configuring the

...

SonarQube Hudson Plugin

Adding

...

SonarQube Server

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

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

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



2. Scroll down to the 'Sonar' configuration section and click on 'Add Sonar':


3. Configure your Sonar SonarQube installation:

Adding

...

SonarQube Runner

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

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

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

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



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

...