Thanks for your reply Geora.

I've added the execution step you mentioned (updated pom here:                 
https://gerrit.onap.org/r/#/c/14971/1/epsdk-app-onap/pom.xml)

I still get in Jenkins console:
Skipping JaCoCo execution due to missing execution data file.
And also noticed this one:
Tests are skipped.

I must miss something , trying to google it but can't seem to find a solution 
at the moment.
Would appreciate any advice here.

Thanks,
Ofir

From: BARSKY, GEORA
Sent: Monday, September 25, 2017 5:33 AM
To: Sonsino, Ofir <[email protected]>; [email protected]
Subject: RE: SONAR\Jacoco configuration

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<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.facebook.com_amdocs_&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=YKrlt1M487Gbcxf6GKUYkdaaJq4RCPChFI2AKdT_bP8&m=_uw5zAkZ3WeKi_2of8JSPWg_SdDqhsDKABi8Xl0LFpc&s=vOJ1UWID0wB7DQBJcG3qpvehyDHQfB8hMKya2YHtno8&e=>,
 
Twitter<https://urldefense.proofpoint.com/v2/url?u=http-3A__twitter.com_amdocs&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=YKrlt1M487Gbcxf6GKUYkdaaJq4RCPChFI2AKdT_bP8&m=_uw5zAkZ3WeKi_2of8JSPWg_SdDqhsDKABi8Xl0LFpc&s=sq6sPVMUlu4yqU039ldqugH8dasitGtGzkvM2BAoOSI&e=>,
 
LinkedIn<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.linkedin.com_company_amdocs&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=YKrlt1M487Gbcxf6GKUYkdaaJq4RCPChFI2AKdT_bP8&m=_uw5zAkZ3WeKi_2of8JSPWg_SdDqhsDKABi8Xl0LFpc&s=oUjKQhbk45ZBLXGriOmFqSrr9pislU8Yx_hIt832Fg8&e=>,
 
YouTube<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.youtube.com_amdocsinc&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=YKrlt1M487Gbcxf6GKUYkdaaJq4RCPChFI2AKdT_bP8&m=_uw5zAkZ3WeKi_2of8JSPWg_SdDqhsDKABi8Xl0LFpc&s=_xnfaH-X19wDd38vlet1wW97Hyji5Y7N3itXulAifOE&e=>,
 
Google+<https://urldefense.proofpoint.com/v2/url?u=https-3A__plus.google.com_105657940751678445194&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=YKrlt1M487Gbcxf6GKUYkdaaJq4RCPChFI2AKdT_bP8&m=_uw5zAkZ3WeKi_2of8JSPWg_SdDqhsDKABi8Xl0LFpc&s=tOpp2xizSnwGcgdGI1vNQsXRxOR1_zNyj5ipLFDv1eU&e=>
 and the Amdocs blog 
network<https://urldefense.proofpoint.com/v2/url?u=http-3A__blogs.amdocs.com_&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=YKrlt1M487Gbcxf6GKUYkdaaJq4RCPChFI2AKdT_bP8&m=_uw5zAkZ3WeKi_2of8JSPWg_SdDqhsDKABi8Xl0LFpc&s=GjbhvnfxYT6Oq360C6K6V11iv7tbdLOwbsGLXwVBaLw&e=>.


From: 
[email protected]<mailto:[email protected]> 
[mailto:[email protected]] On Behalf Of Sonsino, Ofir
Sent: Sunday, September 24, 2017 1:35 PM
To: [email protected]<mailto:[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<https://urldefense.proofpoint.com/v2/url?u=https-3A__gerrit.onap.org_r_gitweb-3Fp-3Dvid.git-3Ba-3Dblob-3Bf-3Depsdk-2Dapp-2Donap_pom.xml-3Bh-3D0fb1e2b4ac8161fbf5a1aee41e015e32167143af-3Bhb-3D426bc05311d51d6a18d7e12e26a951f913bad889&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=YKrlt1M487Gbcxf6GKUYkdaaJq4RCPChFI2AKdT_bP8&m=_uw5zAkZ3WeKi_2of8JSPWg_SdDqhsDKABi8Xl0LFpc&s=1oWvk0aZtIfEv1kBAHe9CCRoCoKBHmQmCs3OI71TgUo&e=>

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://urldefense.proofpoint.com/v2/url?u=https-3A__www.amdocs.com_about_email-2Ddisclaimer&d=DwMFAg&c=LFYZ-o9_HUMeMTSQicvjIg&r=YKrlt1M487Gbcxf6GKUYkdaaJq4RCPChFI2AKdT_bP8&m=_uw5zAkZ3WeKi_2of8JSPWg_SdDqhsDKABi8Xl0LFpc&s=orL1xNegKFLIHSvHQ9b-Udy5jrY5wE8QjdvjsiG5Wgs&e=>
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to