JaCoCo is a code coverage tool. The report you pasted is the code coverage 
result. This can visualized in Jenkins using the 
https://plugins.jenkins.io/code-coverage-api 
<https://plugins.jenkins.io/code-coverage-api> plugin. The JUnit plugin can’t 
read those reports.

In order to visualize JUnit results you need to run JUnit (without coverage) 
and provide a link to these results. 

> Am 01.04.2019 um 16:32 schrieb yash sharma <[email protected]>:
> 
> Hi All,
> 
> In my Jenkins I am doing a post build action which will display Junit test 
> result report. PFB the snip for the configuration of Junit xmls
> <Auto Generated Inline Image 1.png>
> 
> I am doing an Ant(jacoco) build to generate Junit results. 
> Post a successful build I get an error message like 
> <Auto Generated Inline Image 2.png>
> I could see the xml generated and even the HTML file displaying the results
> <Auto Generated Inline Image 3.png>
> 
> My Junit Plugin version is 1.2.
> 
> PFA the attached JUNIT xml.
> 
> Any help is appreciated.
> Thanks and regards
> 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Jenkins 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/jenkinsci-users/fd0fc17a-9b36-43b6-b08a-65013b552776%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/jenkinsci-users/fd0fc17a-9b36-43b6-b08a-65013b552776%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout 
> <https://groups.google.com/d/optout>.
> <report.xml><Auto Generated Inline Image 1.png><Auto Generated Inline Image 
> 2.png><Auto Generated Inline Image 3.png>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins 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/jenkinsci-users/7EEBC97E-C800-47A2-86EF-0DB78601D6BC%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to