Code Coverage is 0% in Sonarqube for Mockito tests – CentOS
I developed some Mockito tests using Jenkins pipeline and will see the report through SonarQube. So far this is what I typed in the Jenkins script: sh ' mvn sonar:sonar -Dsonar.sources=src/main/java -Dsonar.css.node=. -Dsonar.java.binaries=. -Dsonar.host.url=http://192.168.2.2:9000/ -Dsonar.login=admin -Dsonar.password=sonar -Dsonar.jacoco.reportPath=build/reports/jacoco.xml' I've also added…