Coverage report works in Jenkins using Jacoco but I cannot get coverage report in SonarQube
问题 I'm using Jenkins+Jacoco+Sonarqube to test my code. In Jenkins, my mvn command is: clean org.jacoco:jacoco-maven-plugin:prepare-agent install -Dmaven.test.skip=false -Dmaven.test.failure.ignore=true sonar:sonar And I add action 'record jacoco coverage report' after build. But the result is, jenkins works as below: It shows coverage report and other information. But I cannot get coverage percentage in sonarQube therefore the quality gate in Sonarqube cannot be passed. I guess that sonar cannot