Hi Aditya,
did you try to create a coverage report with the JaCoCo report task?
Here is an example script:
http://www.eclemma.org/jacoco/trunk/doc/examples/build/build.xml
For issues with the Jenkins plugin please ask at the project's mailing list:
https://wiki.jenkins-ci.org/display/JENKINS/JaCoCo+Plugin
Best regards,
-marc
On 12.05.14 13:49, [email protected] wrote:
Hi,
I am having similar problem as that of saga. I need to include multiple classes
under jacoco:coverage :
<target name="HomepageModelTest.run-jacoco"
depends="HomepageModelTest.instrument">
<jacoco:coverage destfile="${evise.dir}/UI/HomepageModelTest/jacoco.exe">
<java classname="com.a.b.homepage.model.am.HomepageAMHelper" fork="true">
<classpath>
<pathelement location="${src.bin.dir}"/>
</classpath>
</java>
</jacoco:coverage>
</target>
Now here, I have multiple classes under "am" package. However, it is not able to pickup
all the classes if i simply use "am.*".
I am using testng through ANT build.xml.
My overall aim is to generate jacoco code coverage report[through Jenkins] but
it is showing 0% and with no jacoco.exec getting generated.
I know my information is vague, so kindly ask me the details you want to help
me with my trouble.
Early response is appreciated.
Thanks,
Aditya
--
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].
For more options, visit https://groups.google.com/d/optout.