I am not able to see code coverage in Sonar Cloud. We have a master and develop branch in Sonar Cloud with 0.0% CC. However, in our VSTS build, we see as the build succeeds, 99.92% code coverage for blocks and 99.77% for lines.
Our app is build targeting dotnet Core 2.0 using docker containers on Linux.
Our build runs dotnet core restore, build and test tasks as well as Visual Studio Test task (with code coverage enabled). This allows us to see the code coverage in the VSTS build result, but when we run the tasks to run code analysis and publish to Sonar Cloud, we see the Bugs, Vulnerabilities and Smells accurately but 0.0% coverage. Sonar Cloud also sees the 86 unit tests in the dashboard. Finally the VSTS Build allows us to download the .coverage file.
Are we missing a step to send this to Sonar Cloud? Is there additional parameters we can use to get this to work?
Thanks for your help!