@Kevin Thanks for correcting me (on not a regex) @zw For you this will work. as it searches in all directories under Workspace (in this case)
Thanks On Wed, Dec 26, 2012 at 8:50 AM, zw <mpc8...@gmail.com> wrote: > 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*To:*jenkins...@googlegroups.**com* >> 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> 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://linuxgazettes.blogspot.com/> >> http://in.linkedin.com/in/**wharpreet<http://in.linkedin.com/in/wharpreet> >> > -- http://wharpreet.blogspot.com http://linuxgazettes.blogspot.com http://in.linkedin.com/in/wharpreet