Permalink
Browse files

For JunitReports to be output, testNG cannot halt on test failure.

Bamboo will detect failures from the report status.
  • Loading branch information...
1 parent 4e2342a commit c4cbe5b801c987e29af79f686de2f53e153ddb3a @bwmcadams bwmcadams committed Dec 10, 2011
Showing with 5 additions and 1 deletion.
  1. +5 −1 build.xml
View
@@ -312,7 +312,11 @@ limitations under the License.
<!-- The reporting targets -->
<!-- ******************************************************************* -->
- <target name="junit-reports" depends="test">
+ <target name="junit-reports">
+ <testng classpathref="classpath" outputdir="${testdir}" listeners="com.mongodb.util.TestNGListener" haltonfailure="false" >
+ <jvmarg value="-Xmx512M" />
+ <xmlfileset dir="." includes="testng.xml"/>
+ </testng>
<junitreport todir="${testdir}">
<fileset dir="${testdir}"><include name="*/*.xml"/></fileset>
<report format="noframes" todir="${testdir}"/>

0 comments on commit c4cbe5b

Please sign in to comment.