Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
{iframe:src=http://update.sonarsource.org/plugins/buildstability-confluence.html|width=700|height=250|frameborder=0}
Your browser does not support iframes.
{iframe}

Compatibility Matrix

Description / Features

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

Image Added

Requirements

Plugin

1.1.2

1.2

SonarSonarQube

2.2+

3.0+

Bamboo

(tick)

(tick)

Jenkins

(minus)

(tick)

Hudson

(tick)

(tick)

TeamCity

(minus)

(minus)

Description / Features

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

Image Removed

Installation

  1. Install the Build Stability plugin through the Update Center or download it into the SONAR_HOME/extensions/plugins directory
  2. Restart the Sonar server

Include Page
Include - Plugin Installation
Include - Plugin Installation

Usage

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

    • Either through the web interface: at project level, go to Configuration > Settings > Build Stability
    • Or in your 'pom.xml' file  file for Maven projects:

Example for Bamboo:

Code Block
xml,titlepom.xml
languagenone
<ciManagement>
  <system>Bamboo</system>
  <url>http://ci.codehaus.org/browse/SONAR-DEF</url>
</ciManagement>

...

Code Block
xml,titlepom.xml
languagenone
<ciManagement>
  <system>Jenkins</system>
  <url>https://sonarplugins.ci.cloudbees.com/job/build-stability/</url>
</ciManagement>

Non-Maven example for Jenkins:

Code Block
titleProject properties
sonar.build-stability.url=${JENKINS_URL}/job/${JOB_NAME}

 

 

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

Change Log

JIRA Issues
anonymoustrue
titleVersion 1.2
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16426&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000

...

Note
titleSecurity note for SonarQube 3.4.0 to 3.6.3 included

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

JIRA Issues
anonymoustrue
titleVersion 1.1.2
height90
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=1662116426&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000

...

JIRA Issues
anonymoustrue
titleVersion 1.1.12
height6090
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=1659416621&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000

...

JIRA Issues
anonymoustrue
titleVersion 1.1.1
height18060
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=1628516594&pid=11911&sorter/field=priority&sorter/order=DESC&tempMax=1000