SonarQube version 6.7.2 LTS
I want to define a condition in our quality gate that will fail if a scan is run against 0 files.
I see under conditions you have a “Files” metric and when I set the “Operator” to equals and specify 0 for “Warning” and “Error” .
When I run a scan against 0 files, this condition is not caught.
I have tried specifying 0 for just Warning and Error, and this still does not work.
Can someone please shed some light on this problem?