Question

I have a simple PoC project in Hudson. The PoC has unit tests written via UnitTest++ and outputs the results as XML for consumption by xUnit to munge into jUnit format.

Here are the salient relevant

  • I have my project configured to use MSBuild to build the 2008 solution.
  • The project contains both the dll it is to build and the unit tests which are run as a post-build step.
  • I set my workspace in Hudson is set to c:\develop\money (Money is the name of the project) and in the Hudson console I can see the workspace folders, the solution file and output folders (/bin, /doc, etc).
  • The test console app outputs its file 'money_unit_tests.xml' to the folder 'reports' (making c:\develop\money\reports) which is precreated.

However it seems that the workspace isn't sticking. If I submit the workspace directory it shows me the folders but if I then reload the page then it shows the 'No files in directory' message.

Why does Hudson not use C:\Develop... like I configured it?

What can I do change it?

If I can't change it, what can I do to mitigate these changes? (I don't exactly want to hardcode the output for the xml to C:.hudson...)

Was it helpful?

Solution

It appears in Configure there is an Advanced option which hides several additional options. Under there is custom workspace, which puzzles me as to what the workspace folder is for (which is still blank).

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top