I've configured my Jenkins build server to analyze my code and post to my SonarQube server. I have successfully posted the scan results but the Test and VS Code Coverage results do not get posted to SonarQube.
I've added the required additional arguments to the SonarQube scanner for MSBuild Begin Analysis step
/d:sonar.cs.vstest.reportsPaths="<absolute path to workspace>\TestResults\*.trx"
/d:sonar.cs.vscoveragexml.reportsPaths="<absolute path to workspace>\VisualStudio.coveragexml"
/d:sonar.verbose="true"
I've configured build steps to perform the Coverage Collection through CodeCoverage.exe as expressed in the SonarQube wiki pages for importing Code Coverage and Unit Test Execution results.
I've also observed in the console output, SonarQube Scanner is parsing both files. i.e.
INFO - Parsing the Visual Studio Test Results file <absolute path>.trx
and
INFO - Parsing the Visual Studio coverage XML report <absolute path>.coveragexml
What can I do to identify and resolve the problem to import the test and coverage results?