Versions Compared

Key

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

...

This plugin will mark the build failed if the project fails its quality gate. It is to be noted that the analysis does not stop if the quality gate fails; it continues successfully to the end. But the build status will report failure.

This plugin allows you benefit from the notifications built into CI engines.

Example of logs:

Code Block
languagenone
[ERROR] Coverage < 50%
[ERROR] Class complexity > 20
[INFO]  ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]  ------------------------------------------------------------------------
[INFO]  Can not execute Sonar

Embedded error: Alert thresholds are hit (2).
Warning

Starting with SonarQube 5.1, the Build Breaker plugin does not work any longer in the preview & incremental modes.

 

Include Page
Include - Plugin Installation
Include - Plugin Installation

...