Author: nickboldt
Date: 2010-05-21 22:27:29 -0400 (Fri, 21 May 2010)
New Revision: 22260
Modified:
trunk/build/build.xml
Log:
document how to use collect.test.results.for.hudson target; set defaults
Modified: trunk/build/build.xml
===================================================================
--- trunk/build/build.xml 2010-05-22 02:21:52 UTC (rev 22259)
+++ trunk/build/build.xml 2010-05-22 02:27:29 UTC (rev 22260)
@@ -544,11 +544,22 @@
</if>
</target>
+ <!--
+ To run this after a maven build in Hudson, set these properties:
+ basedir=${WORKSPACE}/sources
+ WORKINGDIR=${WORKSPACE}/sources
+ COMPONENT=.
+ move.test.results=true
+ -->
<target name="collect.test.results.for.hudson"
depends="init"
if="isInHudson"
description="collect test results after a pure maven build so Hudson has
something to see"
+ <property name="basedir"
value="${WORKSPACE}/sources" />
+ <property name="WORKINGDIR" value="${WORKSPACE}/sources" />
+ <property name="COMPONENT" value="." />
+ <property name="move.test.results" value="true" />
<var name="tests.results.found" value="false" />
<for param="test.xml.files" delimiter=",
">