Closed uhafner closed 3 years ago
It seems that the JUnit parser cannot parse reports with plain errors. This is similar to #120 (error rather than failure):
<testcase name="shouldParseEmptyFile" classname="edu.hm.hafner.analysis.parser.SonarQubeDiffParserTest" time="0"> <error type="org.json.JSONException"><![CDATA[org.json.JSONException: Missing value at 0 [character 1 line 1] ]]></error> </testcase>
The whole file is available in my downstream PR jenkinsci/analysis-model#604
Failure visible in https://github.com/jenkinsci/analysis-model/pull/604/checks?check_run_id=2296507586
Thanks for reporting!
Fixed byt parsing it as file - and line 0. Released as 1.144.4
-
0
1.144.4
Open issue again if not working!
It seems that the JUnit parser cannot parse reports with plain errors. This is similar to #120 (error rather than failure):
The whole file is available in my downstream PR jenkinsci/analysis-model#604
Failure visible in https://github.com/jenkinsci/analysis-model/pull/604/checks?check_run_id=2296507586