Author: nickboldt
Date: 2010-05-21 22:04:59 -0400 (Fri, 21 May 2010)
New Revision: 22258
Modified:
trunk/build/build.xml
Log:
add collect.test.results.for.hudson target so we can call this AFTER a pure maven build to
just collect tests
Modified: trunk/build/build.xml
===================================================================
--- trunk/build/build.xml 2010-05-22 01:52:34 UTC (rev 22257)
+++ trunk/build/build.xml 2010-05-22 02:04:59 UTC (rev 22258)
@@ -544,14 +544,18 @@
</if>
</target>
- <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">
+ <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"
+ >
<var name="tests.results.found" value="false" />
- <for param="test.dir" delimiter=",
+ <for param="test.xml.files" delimiter=",
">
<path>
- <dirset dir="${WORKINGDIR}"
- includes="**/target/surefire-reports/TEST-*.xml,
**/**/target/surefire-reports/TEST-*.xml"
- excludes="**/*NoTestsRun.xml"
+ <fileset dir="${WORKINGDIR}"
+ includes="**/target/surefire-reports/TEST-*.xml"
+ excludes="**/*NoTestsRun.xml"
/>
</path>
<sequential>
@@ -564,7 +568,7 @@
<antcall target="collect.test.results">
<param name="COMPONENT" value="." />
</antcall>
- <antcall target="collect.all.test.results"/>
+ <antcall target="collect.all.test.results" />
</then>
<else>
<antcall target="create.empty.test.results.file" />
Show replies by date