Sonar Build Stability Plugin

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

License

License

GroupId

GroupId

org.codehaus.sonar-plugins
ArtifactId

ArtifactId

sonar-build-stability-plugin
Last Version

Last Version

1.2.1
Release Date

Release Date

Type

Type

sonar-plugin
Description

Description

Sonar Build Stability Plugin
Generates reports based on information about builds from Continuous Integration System.
Project Organization

Project Organization

SonarSource
Source Code Management

Source Code Management

https://github.com/SonarCommunity/sonar-build-stability

Download sonar-build-stability-plugin

Dependencies

compile (1)

Group / Artifact Type Version
org.apache.httpcomponents : httpclient jar 4.2.3

provided (2)

Group / Artifact Type Version
org.codehaus.sonar : sonar-plugin-api jar 3.0
org.apache.maven : maven-project jar 2.0.9

test (3)

Group / Artifact Type Version
org.codehaus.sonar : sonar-testing-harness jar 3.0
org.easytesting : fest-assert jar 1.4
org.mortbay.jetty : jetty jar 6.1.25

Project Modules

There are no modules declared in this project.

Build Stability Plugin

Build Status

Description / Features

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

Requirements

Plugin 1.1.2 1.2 1.3
SonarQube 2.2+ 3.0+ 4.5.2+
Bamboo
Jenkins 🔴
Hudson 🔴
TeamCity 🔴 🔴

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:

<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>

Example for TeamCity:

<ciManagement>
  <system>TeamCity</system>
  <url>http://teamcity:port/viewType.html?buildTypeId=SonarBuildStability_Install</url>
</ciManagement>

Non-Maven examples:

sonar.build-stability.url=Bamboo:${BAMBOO_URL}/browse/${PROJECT_KEY}
sonar.build-stability.url=Jenkins:${JENKINS_URL}/job/${JOB_NAME}
sonar.build-stability.url=TeamCity:${TEAMCITY_URL}/viewType.html?buildTypeId=${PROJECT_KEY}

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

Known limitations

  • TeamCity build number format has to be configured so that build numbers are valid integers (%build.counter%)

Versions

Version
1.2.1
1.2
1.1.2
1.1.1
1.1
1.0.1
1.0
0.1