Skip to main content

[Hudson] Path to test .xml files

  2 posts   Feedicon  
Replies: 1 - Last Post: September 24, 2011 00:01
by: Winston Prakash
showing 1 - 2 of 2
Posted: September 19, 2011 22:13 by blackwolf
Hi,

I'm having trouble figuring out the correct path for the "Publish JUnit test result report" option and I was hoping somebody could help me out.

I have a master-slave set up, where the master only delegates jobs. All my builds are set up to output everything (including JUnit test results) outside their $WORKSPACE directory (somewhere in /var/tmp/build). Now I would like to be able to see those test results on the master; however, I can't figure out how to specify the path to the test *.xml files. I tried an absolute path (/var/tmp/build/...) and a relative one (../../../../var/tmp/build/...), but neither one worked.

How do I set up this path correctly? Is it even possible to specify a path outside $WORKSPACE?

Thanks!
Posted: September 24, 2011 00:01 by Winston Prakash
Unfortunately The JUnit Publisher always looks at path relative to Workspace. May be you could fool hudson by creating a symlink (as part of your build) from the external folder to some dummy folder with in the workspace. Never tried it though Smile
Replies: 1 - Last Post: September 24, 2011 00:01
by: Winston Prakash
 
 
Close
loading
Please Confirm
Close