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

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Feb 1 02:51:54 EST 2013


Author: zhfeng
Date: 2013-02-01 02:51:54 -0500 (Fri, 01 Feb 2013)
New Revision: 38278

Modified:
   labs/jbosstm/branches/JBOSSTS_4_16/scripts/hudson/narayana.sh
Log:
JBTM-1448 update to run xts integration tests before start jboss-as

Modified: labs/jbosstm/branches/JBOSSTS_4_16/scripts/hudson/narayana.sh
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_16/scripts/hudson/narayana.sh	2013-01-31 20:23:42 UTC (rev 38277)
+++ labs/jbosstm/branches/JBOSSTS_4_16/scripts/hudson/narayana.sh	2013-02-01 07:51:54 UTC (rev 38278)
@@ -44,17 +44,17 @@
 JBOSS_VERSION=`ls -1 ${WORKSPACE}/jboss-as/build/target | grep jboss-as`
 export JBOSS_HOME=${WORKSPACE}/jboss-as/build/target/${JBOSS_VERSION}
 
-cp ${JBOSS_HOME}/docs/examples/configs/standalone-xts.xml ${JBOSS_HOME}/standalone/configuration
-$JBOSS_HOME/bin/standalone.sh --server-config=standalone-xts.xml&
-sleep 10 
-
 #RUN XTS AS INTEGRATION TESTS
 cd ${WORKSPACE}/jboss-as/testsuite/integration/xts
 mvn test -Pxts.integration.tests.profile
 if [ "$?" != "0" ]; then
-        exit -1                  
+    exit -1                  
 fi
 
+cp ${JBOSS_HOME}/docs/examples/configs/standalone-xts.xml ${JBOSS_HOME}/standalone/configuration
+$JBOSS_HOME/bin/standalone.sh --server-config=standalone-xts.xml&
+sleep 10 
+
 #RUN XTS UNIT TESTS
 cd ${WORKSPACE}
 cd XTS



More information about the jboss-svn-commits mailing list