We are having same issue, When we had created pull request and ran analysis its analyzing old code to, so its not meeting coverage gates percentage and its failing. due to this we are not able to complete Pull request.
what is cause for this issue?
screen shots:
above is PR for Post service, and it has only one file(FeaturedPostMapTest.cs) change, but after we had ran sonar analysis its showing changes in below files, which are not modified/created with this PR:
please check and let us know what might be the cause?
FYI:
we are using SonarQube community version: 7.7