Code-coverage not publishing on Sonar cloud dashboard

We are using the dotnet tool to generate the code coverage report in coverage.xml. While running the Sonar scanner with the begin step, we are passing the parameter:

/d:sonar.cs.vscoveragexml.reportsPaths=coverage.xml

The Sonar analysis completes successfully without any errors. However, after executing the end step, the data is published to SonarCloud, excluding the code coverage.

What do the logs say about the code coverage import?

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.