Skip to end of metadata
Go to start of metadata

Compatibility Matrix

Plugin

1.1.2

1.2

Sonar

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.

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

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 for Maven projects:

Example for Bamboo:

Example for Jenkins:

 

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

Security note for Sonar 3.4+

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

Version 1.2 (9 issues)
Type Key Summary Priority
Bug SONARPLUGINS-1080 Error - Data truncation: Out of range value adjusted for column 'value' at row 1 Major
Bug SONARPLUGINS-1603 Null pointer exception when CiManagement was null and project does not have a POM Major
Bug SONARPLUGINS-841 Fix Bamboo support Major
Task SONARPLUGINS-2614 Verify that the Build Stability Plugin has all required info to be available in the Sonar Update Center Major
Improvement SONARPLUGINS-2361 Upgrade to Sonar 3.0 API Minor
Improvement SONARPLUGINS-2384 The build stability Plugin does not know Jenkins as a system in the ciManagement section of my pom.xml Minor
Improvement SONARPLUGINS-2762 Make sure that the properties are displayed in a "Build Stability" category Trivial
Improvement SONARPLUGINS-2763 Rename "sonar.build-stability.url" property Trivial
Improvement SONARPLUGINS-2761 Add description to the widget Trivial

 

Version 1.1.2 (2 issues)
Type Key Summary Priority
Improvement SONARPLUGINS-528 Use sonar-plugin packaging Major
Improvement SONARPLUGINS-543 Improve the error log message when the Build Stability Plugin can't manage to reach the Hudson login page Major

 

Version 1.1.1 (1 issues)
Type Key Summary Priority
Bug SONARPLUGINS-552 Z character needs to be quoted in DATE_TIME_FORMAT for Bamboo Critical

 

Version 1.1 (5 issues)
Type Key Summary Priority
Bug SONARPLUGINS-430 StringIndexOutOfBoundsException Major
Improvement SONARPLUGINS-395 Plugin should only be triggered at project root level, not module Major
Improvement SONARPLUGINS-346 Calculate the average time to fix a failure (like Bamboo) Major
Bug SONARPLUGINS-434 org.dom4j.DocumentException when Hudson pages contain non-ascii chars Major
Improvement SONARPLUGINS-406 When CI engine REST API are not responding there should be a timeout to break the connection Minor