| From: | jenkins...@googlegroups.com |
| To: | jenkins...@googlegroups.com |
| Date: | 12/26 10:15 |
| From: | mpc...@gmail.com |
| To: | jenkins...@googlegroups.com |
| Cc: | KEVIN FLEMING (BLOOMBERG/ 731 LEXIN) |
| Date: | 12/26 11:51 |
Here’s what I do for JUnit and Emma reports:
1. In the job configuration, I have a build step (execute shell) prior to executing the build, that creates a directory in the WORKSPACE for each report type (e.g. mkdir –p “${WORKSPACE}/junit-test-results”).
2. In the build step where I execute my build target (in my case, using ant), I specify the output directory for all JUnit reports (e.g. ant –Dreport.dir=${WORKSPACE}/junit-test-results build).
3. I do the same, but specifying the different workspace directory, for Emma when running my “coverage” ant target.
4. Now, down in the “Post-build Actions” section, as the previous posters stated, use the Ant pattern expression to find the .xml in your workspace directory (i.e. **/junit-test-results/*.xml).
-Jeff Ng
From: jenkins...@googlegroups.com [mailto:jenkins...@googlegroups.com]
On Behalf Of Md. Humayun Kabir Rana
Sent: Wednesday, November 26, 2014 12:03 AM
To: jenkins...@googlegroups.com
Subject: EXTERNAL: Re: how to configure paths for "Publish JUnit test result report" plugin
But, How I will generate xml file I could not understand. and Where I will put this xml file pls
On Wednesday, December 26, 2012 9:14:52 PM UTC+6, Harpreet singh Wadhwa wrote:
Regular expression is the key :-)
example: "**/Test-*.xml"
This will get all the files starting with Test and ending with xml (from any directory inside workspace).
Thanks
On Tue, Dec 25, 2012 at 12:47 PM, Z W <mpc...@gmail.com> wrote:
Hi All
We have different projects in a a build job producing different
subdirectories of xml test results file
How do we configure multiple paths in plugin "Publish JUnit test
result report" to get the test results file from different directories
path; paths are not similar.
thanks
--
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
jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/9bed537c-92bb-46d6-938e-95183bd1ebe9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.