A simple pattern of "**/*.xml" will collect *all* XML files in the entire workspace. If there are XML files the plugin should not inspect, then you'll have to ensure that the test result files all have some common portion of their name. For example, if all of your test result files had names that ended with "-test.xml", then "**/*-test.xml" would collect all of them, regardless of which directory they are located in. This is what the previous example was trying to show you, the "**" pattern is special and it means search all subdirectories. ----
----- Original Message ----- From: mpc8...@gmail.com To: jenkinsci-users@googlegroups.com Cc: KEVIN FLEMING (BLOOMBERG/ 731 LEXIN) At: Dec 26 2012 11:51:01 Hi Kevin Thanks for responding. My question isnt tied to one directory; eg **/Test-*.xml may be one but I have another set of test results under **/target/surefire-reports/*.xml Question: How do I input in that plugin box to pick up both 2 different test results directories ? Thanks On Wednesday, December 26, 2012 7:16:30 AM UTC-8, Kevin P. Fleming wrote: > > That's not a regular expression, it's an Ant pattern expression. They > are quite different, and serve different purposes. > > ------------------------------ > *From:*jenkins...@googlegroups.com <javascript:>*To:* > jenkins...@googlegroups.com <javascript:>*Date:*12/26 10:15 > ------------------------------ > > 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 <javascript:>>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 >> > > > > -- > > http://wharpreet.blogspot.com > http://linuxgazettes.blogspot.com > http://in.linkedin.com/in/wharpreet >