V_Sathish
(V Sathish)
February 12, 2025, 9:31am
1
Hi Team,
We have coverage in our azure pipeline but in sonar cloud we are getting zero coverage.
But in other projects we are getting the coverage. I am attaching the screen shots of both sonar and pipeline test.
Colin
(Colin)
February 13, 2025, 9:37am
2
Hey there.
Have you followed to the documentation on [.NET Test Coverage](.NET test coverage | SonarQube Cloud Documentation ?
If so, what do the logs say about the import of code coverage?
When coverage data isn’t appearing as expected in SonarQube Server / Community Build or SonarQube Cloud, the first place you should look is the scanner logs.
Where do I find the scanner logs?
This will likely be broken out into its own guide soon
The Scanner logs are the output of executing one of the scanners , either directly or wrapped by one of many integrations, such as the SonarScanner for Jenkins , SonarScanner for Azure DevOps , SonarQube /SonarCloud GitHub Actions or SonarQube /…