Details
Description
The parser of generic test execution and generic test coverage reports fails if it finds data about a test file that doesn't have a recognized language.
This can happen if the scanner is not configured to exclude certain files that are not supported by the analyzers installed in SonarQube. In that case, if the report being imported refers to those files, the scanner will fail.
We should give a warning instead of failing.
Error during parsing of the generic coverage report 'coverage_report'. Look at SonarQube documentation to know the expected XML format. Caused by: java.lang.IllegalStateException: Line 1632 of report refers to a file with an unknown language: file.cc at org.sonar.api.utils.Preconditions.checkState(Preconditions.java:61)
Attachments
Issue Links
- links to