SonarQube version: Enterprise Edition Version 7.9.1 (build 27448)
steps to reproduce:
- Find a Sonar project that has failed Unit Tests
- Add new metric to QG - Unit Test Success = 100%
- Run Jenkins job
- Verify that there are still failed Unit test in SonarQube project
- Verify that Quality Gate should be failed
Quality Gate should be failed, because there are failed Unit tests.
Quality Gate is still Passed, even if there are Failed Unit tests.