How to show merged cobertura line coverage report in SonarQube

From Gitlab CI I am merging 2 typescript projects each having “cobertura-coverage.xml” into one “merged-cobertura-coverage.xml” report with cli “npx cobertura-merge …”. When uploading this file I cannot see line coverage report. Do you have any idea what is missing? Content of files looks good in my understanding (see attachments, only dummy projects). I am using SonarQube 8.9 LTS
sq-issue.zip (3.7 KB)

In “sonar-project.properties” I am using following vairables

sonar.sources=./
sonar.sourceEncoding=UTF-8
sonar.qualitygate.wait=true
sonar.flex.cobertura.reportPath=**/merged-cobertura-coverage.xml

Thanks for your support in advance
KR
Andreas

Hey there.

SonarQube doesn’t support Cobertura reports for reporting coverage on Javascript/Typescript code – only LCOV files. Read more in the docs!