I am having a build step in teamcity which runs nunit tests and generates the coverage report using dotcover.
It generates the hidden artifacts having converage report under folder .teamcity/.NetCoverage
I need to set this part to sonar coverage report path sonar.cs.dotcover.reportsPaths
, i can see the dotcover files under temp folder, so tried to set the path to
-Dsonar.cs.dotcover.reportsPaths=%system.teamcity.build.tempDir%/
but that is not working, what path should i set for sonar.cs.dotcover.reportsPaths
so that the coverage report path is reflected in sonarcube.