I want to use dotCover’s generated report to be imported by SonarQube for Code Coverage using TFS CI Pipeline.
I provided the parameter so that it will pick the report from the path and analyze it further to reflect in the Sonar Dashboard
I have included parameters in the Begin step like this -
begin /k:"$(ProjectName)" /d:sonar.host.url="http://<ip>:9000/" /d:sonar.login="$(ProjectKey)" /d:sonar.verbose=true /d:sonar.cs.dotcover.reportsPaths="//abc/CodeCover/CodeCover.html"
When I run the Sonar-Runner it appears that it is parsing the dotcover reports and also says that Execution success but still the code coverage is showing 0% in the Sonar Dashboard .
Need help regarding how can I achieve code coverage after passing dotCover reports using TFS Pipeline ?