This is my ant Dump task:
<target name="dump-now" depends="init">
<echo message="entering dump part" />
<jacoco:dump address="vci-wmlm-17.manhdev.com" port="6090"
dump="true" destfile="${coverage.dir}/lmjacoco.exec" retryCount="10" />
</target>
This is my jenkins JAVA_ARG setup:
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
My tomcat application is started on port: 26000.
The TCP port mentioned in the ant task isn't being used by any other process.
The below is the error available in the jenkins console:
generate-report:
[echo] Generating xml report....
init:
dump-now:
[echo] entering dump part
[jacoco:dump] Connecting to vci-wmlm-17.manhdev.com/10.50.65.134:6090
[jacoco:dump] Connection refused
[jacoco:dump] Connecting to vci-wmlm-17.manhdev.com/10.50.65.134:6090
[jacoco:dump] Connection refused
Is there a problem with this setup. I have also tried the alternative where I
give the address and TCP port in the Jenkins JAVA_OPTS itself. Please help.
--
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/d7aeb9c8-5017-440d-a9d2-3d32e2b82b04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.