| Wiki Markup |
|---|
{iframe:src=http://update.sonarsource.org/plugins/sonar-build-stability-pluginbuildstability.html|width=700|height=250|frameborder=0}
Your browser does not support iframes.
{iframe} |
Compatibility
...
Matrix
Plugin | 1.1.12 | 1.1.2 | 2.0-SNAPSHOT |
|---|---|---|---|
Sonar | 1.12+ | 2.2+ | 2.2-SNAPSHOT |
|
|
| |
3.0+ | |||
|
| ||
| Jenkins |
| ||
|
|
| |
TeamCity (see SONARPLUGINS-338) |
|
|
|
Description / Features
Generates reports based on information about builds from Continuous Integration System.

You can see real life example of this plugin on Nemo: http://nemo.sonarsource.org/project/index/org.codehaus.sonar:sonar
Usage & Installation
...

Installation
- Install the Build Stability plugin through the Update Center or download it into the SONAR_HOME/extensions/plugins / directory
- Restart the Sonar Web 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:
| Code Block | ||||
|---|---|---|---|---|
| ||||
<ciManagement>
<system>Bamboo</system>
<url>http://ci.codehaus.org/browse/SONAR-DEF</url>
</ciManagement>
|
Example for
...
Jenkins:
| Code Block | ||||
|---|---|---|---|---|
| ||||
<ciManagement>
|
...
<system>Jenkins</system> |
...
<url>https:// |
...
sonarplugins. |
...
ci. |
...
cloudbees.com/job/ |
...
build-stability/</url> </ciManagement> |
...
or via Sonar Settings (Project/Module Settings -> Build Stability -> CiManagement)
Example for Bamboo:
| Code Block |
|---|
Bamboo:http://ci.codehaus.org/browse/SONAR-DEF |
Example for Hudson:
| Code Block |
|---|
Hudson:http://hudson.glassfish.org/job/hudson/ |
...
Run a new Sonar analysis and the metrics will be fed.
Changelog
| JIRA Issues | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
| Note | ||
|---|---|---|
| ||
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:
Example: sonar-runner -Dsonar.login=admin -Dsonar.password=admin |
Change Log
| JIRA Issues | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
| JIRA Issues | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| JIRA Issues | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
| JIRA Issues | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...
| JIRA Issues | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
| JIRA Issues | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|

