which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) 7.7
what are you trying to achieve : pick coverage.xml
what have you tried so far to achieve this :
I have a go service and i want to push code coverage report of that service to sonarqube. first i generated the coverage report in xml format (file name is coverage.xml). then I ran sonar scanner with sonar.go.coverage.reportPaths=coverage.xml parameter.
I got below error.
ERROR: Error parsing coverage info for file /home/akumar397/optic2/coverage.xml: Invalid go
coverage, expect 'mode:' on the first line.
It seems SQ is expecting file in coverage.out format. what about coverage.xml ?
is there any tool/utility which can convert coverage.xml to coverage.out ?