Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Introduced "bamboo-test" task which does NOT halt on failure to allow

bamboo tests to complete and report properly
  • Loading branch information...
commit d3fb5f982a2d8293b4fc1a2192772af48f13dd19 1 parent b348233
@bwmcadams bwmcadams authored
Showing with 8 additions and 1 deletion.
  1. +8 −1 build.xml
View
9 build.xml
@@ -235,6 +235,13 @@ limitations under the License.
</testng>
</target>
+ <target name="bamboo-test" depends="compile">
+ <testng classpathref="classpath" outputdir="${testdir}" listeners="com.mongodb.util.TestNGListener" haltonfailure="false" >
+ <jvmarg value="-Xmx512M" />
+ <xmlfileset dir="." includes="testng.xml"/>
+ </testng>
+ </target>
+
<target name="test-single" depends="compile">
<condition property="propsSpecified">
<and>
@@ -300,7 +307,7 @@ limitations under the License.
<!-- The reporting targets -->
<!-- ******************************************************************* -->
- <target name="junit-reports" depends="test">
+ <target name="junit-reports" depends="bamboo-test">
<junitreport todir="${testdir}">
<fileset dir="${testdir}"><include name="*/*.xml"/></fileset>
<report format="noframes" todir="${testdir}"/>
Please sign in to comment.
Something went wrong with that request. Please try again.