Hello !
I want to use previously created report and send it to SonarQube server. I got two steps :
- execute_unit_tests (here I create opencover.xml report and then I pass it to next build step)
- execute_build (here I get my previously created artifact which is coverage.opencover.xml file)
here I start to execute
dotnet sonarscanner begin /k:"Key" /d:sonar.host.url="myUrl" /d:sonar.cs.opencover.reportsPaths:"path to my coverage.opencover.xml file"
after that I make build and then I call
dotnet sonarscanner end
All execution works fine but I can see that on sonar server my report with test coverage from test step is not included… Is there anyway to achive that?