Hello Evgeny,
Thanks a lot for the timely reply. As per your suggestion, these are
now my JAVA_OPTS:
JAVA_OPTS=-javaagent:/tools/
jacoco-0.7.6/lib/jacocoagent.jar=includes=com.manh.*:com.logistics.*,destfile=/builds/v2017/lm/deployments/lm/tomcat-ora/distribution/coverage/lmjacoco.exec,output=tcpserver,port=65000
*The connection refused exception is now gone, but the .exec file recieved
only 5 Bytes of data and the sessions tab shows this message:*
Sessions
No session information available.
No execution data available.
Also, the jenkins console had this:
dump-now:
[echo] entering dump part
[jacoco:dump] Connecting to MyTCPServer:65000
[jacoco:dump] Dumping execution data to /builds/v2017/lm/deployments/
lm/tomcat-ora/distribution/coverage/lmjacoco.exec
[jacoco:report] Loading execution data file /builds/v2017/lm/deployments/
lm/tomcat-ora/distribution/coverage/lmjacoco.exec
[jacoco:report] Writing bundle 'Code Coverage Report from JaCoCo for LM'
with 3523 classes
[echo] /staging/2017/jenkin-slave/vci-wmlm-17/workspace/LM_2017_
CI_LJO_DAILY_DEPLOYMENT
[copy] Copying 1 file to /staging/2017/jenkin-slave/
vci-wmlm-17/workspace/LM_2017_CI_LJO_DAILY_DEPLOYMENT
[copy] Copying 7307 files to /staging/2017/jenkin-slave/
vci-wmlm-17/workspace/LM_2017_CI_LJO_DAILY_DEPLOYMENT
Looks like I've come very close and I'm doing some small mistake. Can you
please help me out?
--
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/a7eabc10-6063-4cf3-9f06-32cdcfb739d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.