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 :
- copy the JAR file in the directory /extensions/plugins
- restart Sonar server
- Define alert thresholds in the Quality profile of your project
- Execute code analysis