Author: alessio.soldano(a)jboss.com
Date: 2010-06-07 09:27:33 -0400 (Mon, 07 Jun 2010)
New Revision: 12431
Modified:
framework/trunk/hudson/jboss/bin/jbossws-qa.sh
Log:
Hudson runs should fail on OOME..
Modified: framework/trunk/hudson/jboss/bin/jbossws-qa.sh
===================================================================
--- framework/trunk/hudson/jboss/bin/jbossws-qa.sh 2010-06-07 10:54:29 UTC (rev 12430)
+++ framework/trunk/hudson/jboss/bin/jbossws-qa.sh 2010-06-07 13:27:33 UTC (rev 12431)
@@ -93,7 +93,7 @@
}
detectFailures() {
- cat $WORKSPACE/tests.log | egrep "BUILD FAILURE" | tee
$WORKSPACE/failure.log
+ cat $WORKSPACE/tests.log | egrep "BUILD FAILURE|java.lang.OutOfMemoryError" |
tee $WORKSPACE/failure.log
if [ -s $WORKSPACE/failure.log ]; then
echo "Failure detected"
exit 1