Hi Ofir,
Try to add "report" goal to execution steps in your plugin configuration in
addition to "prepare-agent"
<!-- Ensures that the code coverage report for unit tests is
created after unit tests have been run. -->
<execution>
<id>post-unit-test</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
<configuration>
<!-- Sets the path
to the file which contains the execution data. -->
<dataFile>${sonar.jacoco.reportPath}</dataFile>
<!-- Sets the
output directory for the code coverage report. -->
<outputDirectory>${project.build.directory}/jacoco_report </outputDirectory>
</configuration>
</execution>
Geora Barsky
Amdocs Technology
647-688-1039
647-946-5290
[amdocs-a]
Follow us on Facebook<http://www.facebook.com/amdocs/>,
Twitter<http://twitter.com/amdocs>,
LinkedIn<http://www.linkedin.com/company/amdocs>,
YouTube<http://www.youtube.com/amdocsinc>,
Google+<https://plus.google.com/105657940751678445194> and the Amdocs blog
network<http://blogs.amdocs.com/>.
From: [email protected]
[mailto:[email protected]] On Behalf Of Sonsino, Ofir
Sent: Sunday, September 24, 2017 1:35 PM
To: [email protected]
Subject: [onap-discuss] SONAR\Jacoco configuration
Hi all,
Would appreciate if anybody can take a look at the following pom file:
https://gerrit.onap.org/r/gitweb?p=vid.git;a=blob;f=epsdk-app-onap/pom.xml;h=0fb1e2b4ac8161fbf5a1aee41e015e32167143af;hb=426bc05311d51d6a18d7e12e26a951f913bad889
It's not clear why Jacoco report doesn't get generated. Any thoughts ?
Thanks everyone.
Ofir Sonsino
Project Technical Lead, VID
AT&T Network Application Development * NetCom
Tel Aviv | Tampa | Atlanta | New Jersey |Chicago
***************************************************************************
Office: +972 (3) 5451417
Mobile: +972 (52) 4377782
E-mail: [email protected]<mailto:[email protected]>
This message and the information contained herein is proprietary and
confidential and subject to the Amdocs policy statement,
you may review at https://www.amdocs.com/about/email-disclaimer
<https://www.amdocs.com/about/email-disclaimer>
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss