- 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
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.