I am trying to upload Unit Test and dotCover Code Analysis results from TeamCity to Sonar server. It shows code coverage and unit test results in the TeamCity but no code coverage/unit test on Sonar.
TeamCity Unit test step:
Followed by Powershell script:
I have the following additional parameter in Sonar Runner step:
Dsonar.cs.vstest.reportsPaths=TestResults.trc Dsonar.cs.dotcover.reportsPaths='%sonar.coverageReport%'
Does anyone know how to fix this?
Thanks.