Skip to content

Commit d3fb5f9

Browse files
author
Brendan W. McAdams
committed
Introduced "bamboo-test" task which does NOT halt on failure to allow
bamboo tests to complete and report properly
1 parent b348233 commit d3fb5f9

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

build.xml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,13 @@ limitations under the License.
235235
</testng>
236236
</target>
237237

238+
<target name="bamboo-test" depends="compile">
239+
<testng classpathref="classpath" outputdir="${testdir}" listeners="com.mongodb.util.TestNGListener" haltonfailure="false" >
240+
<jvmarg value="-Xmx512M" />
241+
<xmlfileset dir="." includes="testng.xml"/>
242+
</testng>
243+
</target>
244+
238245
<target name="test-single" depends="compile">
239246
<condition property="propsSpecified">
240247
<and>
@@ -300,7 +307,7 @@ limitations under the License.
300307
<!-- The reporting targets -->
301308
<!-- ******************************************************************* -->
302309

303-
<target name="junit-reports" depends="test">
310+
<target name="junit-reports" depends="bamboo-test">
304311
<junitreport todir="${testdir}">
305312
<fileset dir="${testdir}"><include name="*/*.xml"/></fileset>
306313
<report format="noframes" todir="${testdir}"/>

0 commit comments

Comments
 (0)