Scanner command used when applicable SonarCloudAnalyze@3
Languages of the repository Swift
Error observed (wrap logs/code around with triple quotes
##[error]01:28:31.749 ERROR Coverage report '/Users/vm1/agent/_work/1/coverage/cobertura.xml' could not be read/imported. Error: {}
java.lang.IllegalStateException: Invalid report: expected to find 'line' within a 'sourcefile' at line 13 column 13
at org.sonar.plugins.jacoco.XmlReportParser.parse(XmlReportParser.java:89)
at org.sonar.plugins.jacoco.JacocoSensor.importReport(JacocoSensor.java:72)
You’ll need to ask slather to generate a report in the sonarqube_xml and import this report using the sonar.coverageReportPaths analysis parameter, rather than the sonar.coverage.jacoco.xmlReportPaths you’re trying to use.