Mismatch formats and languages

  • Version 9.3 (build 51899)

I am trying to upload a set of files that are generated as part of our build.
For example, my test runner generates a lcov coverage file.

However, putting in the lcov in sonar.javascript.lcov.reportPaths doesn’t work.

Sonarqube complains that the language isn’t javascript, which indeed, it isn’t. But I also don’t want to spend the time on writing a parser to convert them to Sonarqube’s generic, but properitary format?

Same with a junit.xml, I can only get that file to work if it is Java, but I’m not writing Java.

Question: How do I upload an arbitrary lcov and junit.xml for any language?


Welcome to the community!

Sorry, but what you want just isn’t supported. It’s why import options are listed per language.