Coverage is failing for build via Gitlab to Sonarqube v7.9.6

Hi All,

We are getting Coverage is zero after upgrading to 7.9.6 LTS community edition. And the dependency check is also getting failed which run a build via Gitlab.

NFO: Dependency-Check XML report does not exists. Please check property sonar.dependencyCheck.xmlReportPath:/builds/pearsontechnology/gpt/glp/glp-retry-service/${WORKSPACE}/dependency-check-report.xml

[527](https://gitlab.com/pearsontechnology/gpt/glp/glp-retry-service/-/jobs/713094262#L527)INFO: XML-Analysis skipped/aborted due to missing report file

[528](https://gitlab.com/pearsontechnology/gpt/glp/glp-retry-service/-/jobs/713094262#L528)INFO: Dependency-Check HTML report does not exists. Please check property sonar.dependencyCheck.htmlReportPath:/builds/pearsontechnology/gpt/glp/glp-retry-service/${WORKSPACE}/dependency-check-report.html

[529](https://gitlab.com/pearsontechnology/gpt/glp/glp-retry-service/-/jobs/713094262#L529)INFO: HTML-Dependency-Check report does not exist.

[530](https://gitlab.com/pearsontechnology/gpt/glp/glp-retry-service/-/jobs/713094262#L530)INFO: Process Dependency-Check report (done) | time=3ms

[531](https://gitlab.com/pearsontechnology/gpt/glp/glp-retry-service/-/jobs/713094262#L531)INFO: Sensor Dependency-Check [dependencycheck] (done) | time=3ms

INFO: Sensor Dependency-Check [dependencycheck]

[521](https://gitlab.com/pearsontechnology/gpt/glp/glp-retry-service/-/jobs/713094262#L521)INFO: Process Dependency-Check report

[522](https://gitlab.com/pearsontechnology/gpt/glp/glp-retry-service/-/jobs/713094262#L522)INFO: Using JSON-Reportparser

[523](https://gitlab.com/pearsontechnology/gpt/glp/glp-retry-service/-/jobs/713094262#L523)INFO: Dependency-Check JSON report does not exists. Please check property sonar.dependencyCheck.jsonReportPath:/builds/pearsontechnology/gpt/glp/glp-retry-service/${WORKSPACE}/dependency-check-report.json

[524](https://gitlab.com/pearsontechnology/gpt/glp/glp-retry-service/-/jobs/713094262#L524)INFO: JSON-Analysis skipped/aborted due to missing report file

[525](https://gitlab.com/pearsontechnology/gpt/glp/glp-retry-service/-/jobs/713094262#L525)INFO: Using XML-Reportparser

Coverage report '/builds/pearsontechnology/gpt/glp/glp-retry-service/build/reports/jacoco/jacocoTest.exec' could not be read/imported. Error: {}

[368](https://gitlab.com/pearsontechnology/gpt/glp/glp-retry-service/-/jobs/713094262#L368)java.lang.IllegalStateException: Failed to parse JaCoCo XML report: /builds/pearsontechnology/gpt/glp/glp-retry-service/build/reports/jacoco/jacocoTest.exec

Please someone assist on this.

Hi,

Dependency check is provided by a 3rd-party plugin; you should file an issue on that project.

For coverage, what language are we talking about here? And what format are you feeding in?

 
Ann