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 27 Next »


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 analysis does not stop, it will go to the end. Only the status of the build will report failure.

This feature enables to benefit from notification built in CI engines.

Example of logs :


  1. copy the JAR file in the directory /extensions/plugins 
  2. restart Sonar server
  3. Define alert thresholds in the Quality profile of your project
  4. Execute code analysis


By default this plugin is active on all projects. If you want a more elaborate behavior, skip this execution on some projects and run the plugin on other projects, you can use configuration property sonar.buildbreaker.skip .

sonar.buildbreaker.skip can be set globally or at project level. Its type is boolean, the default value being false.



Release 1.0 (1 issues)

T Key Summary P Status Resolution
Task SONARPLUGINS-760 Use sonar-plugin packaging Major Closed Fixed



Release 0.1 (1 issues)

T Key Summary P Status Resolution
New Feature SONARPLUGINS-186 Initial version Major Closed Fixed

  • No labels