Affects Version/s: None
Fix Version/s: 3.7
Steps to reproduce this issue:
1. Configure a quality profile to contain multiple critical rules and a red alert when critical violations > 0
2. Install the Build Breaker plugin
3. Ensure the plugin is not excluded during dry runs
4. Run an analysis with a project containing a critical violation. The build will fail.
5. Run the same analysis with the sonar.dryRun=true flag enabled. The build will succeed whereas it should not.