If I dont upload the code coverage report, Sonar shows the code coverage as “-” and the Quality Gate passes although we are using the default quality gate on all projects which requires 80%.
How make the Quality gate fail if the project does not upload coverage report?
Thanks for reaching out.
Indeed, we don’t display the coverage result and don’t fail the Quality Gate because the report has not been uploaded. Maybe you could elaborate on why the Quality Gate should fail when the coverage report is not uploaded?
Hi, we have hundreds of Sonar “projects”. We group them by team/department level into portfolios. If on a portfolio level all requirements are green and the status is PASSED we expect the software is compliant with the Quality Gate (Quality gate states 80% coverage). Right now we cant rely on that “green”.