Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 34 Next »

Description / Features

This plugin will make the build report as failed if at least one alert is raised during analysis. Thresholds for alerts are defined in quality profiles, for example "coverage < 50%". It is to be noted that the analysis does not stop; it will go to the end. Only the status of the build will report failure.

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

Example of logs:


  1. Install the plugin through the Update Center or download it into the SONARQUBE_HOME/extensions/plugins directory
  2. Restart the SonarQube server


  1. Define some alert thresholds in the quality profile of your project
  2. Run a quality analysis on your project

Advanced Usage

By default this plugin is active on every project. But you can skip its execution on some of them by setting the sonar.buildbreaker.skip property to true at project level. This property can also be set at instance level so that it is off by default but on for individual projects.

The property sonar.buildbreaker.forbidden.conf can be used to specify configurations that would break the build. For example, if you set in SonarQube administration GUI property sonar.buildbreaker.forbidden.conf to sonar.gallio.mode=skip, each analysis on .Net projects executed with Gallio skipped would be marked "broken".

Change Log


Release 1.1 (5 issues)



Release 1.0 (1 issues)



Release 0.1 (1 issues)

  • No labels