skip to Main Content

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…

VIEW QUESTION

SonarQube Docker Installation CorruptIndexException: checksum failed

I'm trying to create docker container with SonarQube inside it, but I get this error while composing for the first time: Caused by: java.util.concurrent.ExecutionException: org.apache.lucene.index.CorruptIndexException: checksum failed (hardware problem?) : expected=f736ed01 actual=298dcde2 (resource=BufferedChecksumIndexInput(NIOFSIndexInput(path="/opt/sonarqube/data/es7/nodes/0/_state/_7w.fdt"))) I tried installing it on a fresh…

VIEW QUESTION
Back To Top
Search