For a project in Clojure, I am trying to import issues, test coverage and test execution to SonarCloud. However, when I try to import test coverage and test execution, it doesn’t work because the file I’m pointing to is an unknown language to SonarCloud. Is there any way to solve my problem, especially since importing issues works fine?
Also, for test coverage, I generate an .xml file that contains the lines that are covered by the tests and those that are not. So on your end, you don’t need to parse anything, right? So why is pointing to a file that is not recognized by SonarCloud a problem?
You’re right. The generic issues format works for files in unknown languages, but the generic test formats don’t. Even in SonarQube - even after the ticket you cited - we still don’t handle files in unknown languages. (That ticket just downgrades the error into a warning.)
As you say, this is a known issue. And it’s simply not a priority at the moment.
As a side note, I believe there are plugins available (although none in the SonarQube Marketplace) to support Clojure analysis. So SonarQube might work for you…