Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  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:

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

Example for

...

Jenkins:

Code Block
xml,titlepom.xml
<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.

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

...