SonarQube + Maven + JaCoCo + GitLab CI: Sonar started to show 0% code coverage after upgrading to SonarQube 7.9.2
问题 After we upgraded our SonarQube to Version 7.9.2 (build 30863), Community Edition , running the GitLab CI Pipeline results in showing 0.0% coverage (dropping from about 86.2% ), although Sonar is showing all unit tests. Maven build executed in .gitlab-ci.yml looks like this: - mvn test sonar:sonar -Dsonar.host.url=${SONAR_HOST_URL} -Dsonar.login=${SONAR_TOKEN} Obviosuly this has something to deal with notorious sonar.coverage.jacoco.xmlReportPaths and sonar.jacoco.reportPaths Sonar-JaCoCo