- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension): 7.1
- what are you trying to achieve: I want New code coverage quality check to fail even after rerun.
- what have you tried so far to achieve this:
I have a project that has zero code coverage and is configured to have a quality gate with new code coverage > 80%. Now I run sonar analysis and it fails because new code coverage is 0. But when I rerun it with no change, it passes (because there is no new code?).
How do we handle this loop hole?
Thanks a lot