Hi,
please check your maven log files. The dump goal should log something like:
- "Connecting to..."
- "Dumping execution data to..."
Or a error is logged. This should give you an idea what actually is
going on.
Regards,
-marc
On 06.10.16 20:14, sneha agarwal wrote:
I am using Jenkins plugin 2.0.1 and the jacoco version 0.7.6.
The coverage shows 0 and I do not see any exec file generated as well.
Please suggest.
POM file used :
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.7.6.201602180812</version>
<configuration>
<destFile>../../coverage/jacoco.exec</destFile>
<reset>true</reset>
<append>false</append>
</configuration>
<executions>
<execution>
<id>dump</id>
<phase>integration-test</phase>
<goals>
<goal>dump</goal>
</goals>
</execution>
</executions>
</plugin>
and tomcat upddate CATALINA_OPTS="$CATALINA_OPTS
-javaagent:/path/tomcat/lib/jacocoagent.jar=output=tcpserver,append=true,dumponexit=false,classdumpdir=/path/tomcat/classes-cov/,includes=com/abc/abc/**,address=*"
--
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]
<mailto:[email protected]>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jacoco/96ad82d7-e3dd-4fc6-a09f-81baccc0a9e1%40googlegroups.com
<https://groups.google.com/d/msgid/jacoco/96ad82d7-e3dd-4fc6-a09f-81baccc0a9e1%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
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/85a388f9-18bb-6745-7b11-134935cb9015%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.