Unable to see code coverage for VSTS/TFS build

coverage
vsts
sonarqube

(Som Tripathi) #1

Using sonarqube plugin for VSTS/C# Version 4.0 running on VSTS/TFS build
MSBuild 14/15 both installed.

I am unable to view code coverage for my build in Sonarqube. It does show the number of tests built and run but not the coverage.

The pipeline looks perfect and have even added this line : sonar.cs.vscoveragexml.reportsPaths=**/*.coveragexml to additional parameters for getting code coverage, however I have had no luck.

Could someone please advise on how to get this to work?