What is the feature provided by this script? In which context it applies?
I never had trouble to integrate surefire reports in Hudson, and never needed a script to do so. What is the added value of this one?

On 02/16/2012 06:40 AM, Nick Boldt wrote:
If you depend on this old Ant script [1] to generate a dummy JUnit test results file in Hudson (so that should you temporarily disable your tests, the job won't fail), please switch to using this new, simpler one [2].

[1] http://anonsvn.jboss.org/repos/jbosstools/trunk/build/build.xml

[2] http://anonsvn.jboss.org/repos/jbosstools/trunk/build/results/collect-test-results.xml

The Hudson config change looks like this as a pseudo-diff:

     <hudson.tasks.Ant>
       <targets>collect.test.results.for.hudson -q -logger org.apache.tools.ant.NoBannerLogger</targets>
       <antName>ant-1.7.x</antName>
-      <buildFile>${WORKSPACE}/build/build.xml</buildFile>
+ <buildFile>${WORKSPACE}/build/results/collect-test-results.xml</buildFile>
     </hudson.tasks.Ant>

If I broke your job and you need my assistance, please post complaints to this jira:

https://issues.jboss.org/browse/JBIDE-10690

Ultimately, I'd like to remove this script entirely in favour of something else (eg., maven) but for now at least the code's simpler and will therefore be easier to rewrite.



--
Mickael Istria
Eclipse developer at JBoss, by RedHat
My blog - My Tweets