[jboss-svn-commits] JBL Code SVN: r38003 - labs/jbosstm/branches/JBOSSTS_4_16/scripts/hudson.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Thu Apr 12 01:44:33 EDT 2012


Author: zhfeng
Date: 2012-04-12 01:44:33 -0400 (Thu, 12 Apr 2012)
New Revision: 38003

Modified:
   labs/jbosstm/branches/JBOSSTS_4_16/scripts/hudson/narayana.sh
Log:
JBTM-1112 update to add shutdown jboss-as command for protection

Modified: labs/jbosstm/branches/JBOSSTS_4_16/scripts/hudson/narayana.sh
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_16/scripts/hudson/narayana.sh	2012-04-12 04:36:58 UTC (rev 38002)
+++ labs/jbosstm/branches/JBOSSTS_4_16/scripts/hudson/narayana.sh	2012-04-12 05:44:33 UTC (rev 38003)
@@ -42,16 +42,19 @@
 cd ${WORKSPACE}
 cd XTS
 if [ "$?" != "0" ]; then
+	$JBOSS_HOME/bin/jboss-cli.sh --connect command=:shutdown
 	exit -1
 fi
 
 ant -Dpublican=false -Dtesttype=tests-11 -Dsartype=sar-11 install
 if [ "$?" != "0" ]; then
+	$JBOSS_HOME/bin/jboss-cli.sh --connect command=:shutdown
 	exit -1
 fi
 
 cp xts-install/tests/*ear $JBOSS_HOME/standalone/deployments/
 if [ "$?" != "0" ]; then
+	$JBOSS_HOME/bin/jboss-cli.sh --connect command=:shutdown
 	exit -1
 fi
 sleep 10 
@@ -60,6 +63,7 @@
 cd xts-install/tests
 ant -f run-tests.xml tests-11
 if [ "$?" != "0" ]; then
+	$JBOSS_HOME/bin/jboss-cli.sh --connect command=:shutdown
 	exit -1
 fi
 
@@ -68,6 +72,7 @@
 cd XTS
 cp xts-install/interop-tests/interop11.war $JBOSS_HOME/standalone/deployments/
 if [ "$?" != "0" ]; then
+	$JBOSS_HOME/bin/jboss-cli.sh --connect command=:shutdown
 	exit -1
 fi
 sleep 10 
@@ -76,6 +81,7 @@
 mkdir reports
 ant -f run-interop-tests.xml -Dserver.hostname=localhost wstx11-interop-tests
 if [ "$?" != "0" ]; then
+	$JBOSS_HOME/bin/jboss-cli.sh --connect command=:shutdown
 	exit -1
 fi
 



More information about the jboss-svn-commits mailing list