Hi Guys, I see 0% code coverage from the ".exec" file generated through jacocoagent.jar. Below is the command which I set during server startup.
-javaagent:<windows_path>/lib/jacocoagent.jar=destfile=<windows_path>/Jacoco_client.exec,append=true,includes=*,output=tcpserver,address=localhost,port=6300 I got the ".exec" file using ExecutionDataClient.java as a client. The size of the ".exec" is showing around 600KB and I can also see the class file information inside the executable file. When I upload the integration test execution file to eclipse mapping respective java sources, coverage shows 0%. Same is the case when I upload it directly to Sonarqube using below properites in Jenkins. sonar.projectKey=TEST_Jacoco sonar.projectName=TEST_Jacoco sonar.projectVersion=1.0 sonar.jacoco.reportPaths=<project_build>\\Jacoco_1015.exec sonar.java.binaries=<project_build>\\Classes sonar.language=java Can you please let me know how to use the view code coverage from ".exec" file generated by jacocoagent ??? Thanks you in advance ravi -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/0902a689-8bdc-4572-8188-63632d82ae0a%40googlegroups.com.
