{iframe:src=http://update.sonarsource.org/plugins/buildstability-confluence.html|width=700|height=250|frameborder=0}
Your browser does not support iframes.
{iframe}

Description / Features

Generates reports based on information about builds from Continuous Integration System.

Requirements

Plugin

1.1.2

1.2

SonarQube

2.2+

3.0+

Bamboo

(tick)

(tick)

Jenkins

(minus)

(tick)

Hudson

(tick)

(tick)

TeamCity

(minus)

(minus)

Usage

Specify your Continuous Integration Server Job (URL, credentials, etc.):

Example for Bamboo:

<ciManagement>
  <system>Bamboo</system>
  <url>http://ci.codehaus.org/browse/SONAR-DEF</url>
</ciManagement>

Example for Jenkins:

<ciManagement>
  <system>Jenkins</system>
  <url>https://sonarplugins.ci.cloudbees.com/job/build-stability/</url>
</ciManagement>

Non-Maven example for Jenkins:

sonar.build-stability.url=${JENKINS_URL}/job/${JOB_NAME}

 

 

Run a new quality analysis and the metrics will be fed.

For the *.secured properties to be read during the project analysis, it is necessary to set the sonar.login and sonar.password properties to the credentials of a user that is:

  • System administrator
  • And project administrator on the project that is being analyzed
Example:
sonar-runner -Dsonar.login=admin -Dsonar.password=admin

Change Log