Using Junit and jacoco unable to get the appropriate result


(durgesh) #1

DEBUG: ‘Go Unit Test Report’ skipped because there is no related file in current project
19:20:58.686 DEBUG: ‘Import of go vet issues’ skipped because there is no related file in current project
19:20:58.686 DEBUG: ‘Import of Golint issues’ skipped because there is no related file in current project
19:20:58.687 DEBUG: ‘Import of GoMetaLinter issues’ skipped because there is no related file in current project
19:20:58.687 DEBUG: ‘SonarJS’ skipped because there is no related file in current project
19:20:58.687 DEBUG: ‘SonarJS Coverage’ skipped because there is no related file in current project

Also, i find some logs as:

DEBUG: Class not found in resource cache : org/jacoco/agent/AgentJar

INFO: No information about coverage per test.
19:21:00.386 INFO: Sensor JaCoCoSensor [java] (done) | time=115ms
19:21:00.386 INFO: Sensor SonarJavaXmlFileSensor [java]
19:21:00.386 INFO: Sensor SonarJavaXmlFileSensor [java] (done) | time=0ms
19:21:00.386 INFO: Sensor Zero Coverage Sensor
19:21:00.396 INFO: Sensor Zero Coverage Sensor (done) | time=10ms
19:21:00.396 INFO: Sensor CPD Block Indexer


(Tibor Blenessy) #2

Hello,

please provide more information about what are you trying to achieve, which version of SonarQube are you using, etc…