Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
- what are you trying to achieve
- what have you tried so far to achieve this
I am using SonarCloud in my Azure pipeline running in Linux and using dotnet build and test. It is working as expected up to reading the code coverage file. It errors with this message
“Could not import coverage report ‘/home/vsts/work/_temp/folder1/folder/coverage.cobertura.xml’ because 'Missing root element in /home/vsts/work/_temp/folder/folder/coverage.cobertura.xml at line 2”
I know the report is good because I publish it into the pipeline and it shows up on the summary page of the run. I have been fighting getting SonarCloud to find the code coverage files but now it would be nice to have SonarCloud read the darn thing…
Can anyone suggest a fix for this issue?