Coverage not blocking PRs

I’m using Sonar Way in my Quality Gate which says Coverage is less than 80.0% and my PR analysis is reporting Coverage on New Code 68.4% though the Analysis is passing. On my view, it should be blocking the PR, right? Am I doing something wrong?


image

Hi,

Welcome to the community!

This does sound odd. Would you mind providing a screenshot of your PR in SonarQube?

 
Thx,
Ann

I have been seeing this same issue regularly in our PRs. I’ve attached an example, but effectively I regularly see Sonarcloud saying a PR has passed the Quality Gate even though it has less than 80% coverage (often much less)

Hi @greg_h_amplifi,

Welcome to the community!

You’ve resurrected a thread that’s more than 2 months old. Per the FAQ, please don’t do that. Normally I’d ask you to create a new thread with all your details. Please do that if the docs don’t help.

 
Ann