Importing test-reporter.xml

-Dsonar.javascript.lcov.reportPaths=./coverage/lcov.info
-Dsonar.testExecutionReportPaths=coverage/test-reporter.xml

while running the pipeline am getting the below error

ERROR: Error during SonarScanner execution
ERROR: Error during parsing of generic test execution report ‘/var/lib/jenkins/workspace/sonar_code/coverage/test-reporter.xml’. Look at the SonarQube documentation to know the expected XML format

Hey there.

As noted in the template post – what version of SonarQube are you using?