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

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed Apr 25 07:08:50 EDT 2012


Author: tomjenkinson
Date: 2012-04-25 07:08:49 -0400 (Wed, 25 Apr 2012)
New Revision: 38057

Modified:
   labs/jbosstm/branches/JBOSSTS_4_16/scripts/hudson/narayana.sh
Log:
JBTM-1063 Updated to run the txbridge tests before qa/

Modified: labs/jbosstm/branches/JBOSSTS_4_16/scripts/hudson/narayana.sh
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_16/scripts/hudson/narayana.sh	2012-04-25 11:08:04 UTC (rev 38056)
+++ labs/jbosstm/branches/JBOSSTS_4_16/scripts/hudson/narayana.sh	2012-04-25 11:08:49 UTC (rev 38057)
@@ -153,50 +153,49 @@
 	exit -1
 fi
 
-#RUN QA TESTS
-cd ${WORKSPACE}
-cd qa
+# Compile and run tx-bridge tests
+cd ${WORKSPACE}/txbridge
 if [ "$?" != "0" ]; then
 	exit -1
 fi
 
-sed -i TaskImpl.properties -e "s#^COMMAND_LINE_0=.*#COMMAND_LINE_0=${JAVA_HOME}/bin/java#"
+ant dist
 if [ "$?" != "0" ]; then
 	exit -1
 fi
 
-ant -Ddriver.url=file:///home/hudson/dbdrivers get.drivers
+cd tests
 if [ "$?" != "0" ]; then
 	exit -1
 fi
 
-ant -f run-tests.xml ci-tests
+ant enable-recovery-listener -Djboss.home=$JBOSS_HOME
 if [ "$?" != "0" ]; then
 	exit -1
 fi
 
-# Compile and run tx-bridge tests
-cd ${WORKSPACE}/txbridge
+ant test
 if [ "$?" != "0" ]; then
 	exit -1
 fi
 
-ant dist
+#RUN QA TESTS
+cd ${WORKSPACE}/qa
 if [ "$?" != "0" ]; then
 	exit -1
 fi
 
-cd tests
+sed -i TaskImpl.properties -e "s#^COMMAND_LINE_0=.*#COMMAND_LINE_0=${JAVA_HOME}/bin/java#"
 if [ "$?" != "0" ]; then
 	exit -1
 fi
 
-ant enable-recovery-listener -Djboss.home=$JBOSS_HOME
+ant -Ddriver.url=file:///home/hudson/dbdrivers get.drivers
 if [ "$?" != "0" ]; then
 	exit -1
 fi
 
-ant test
+ant -f run-tests.xml ci-tests
 if [ "$?" != "0" ]; then
 	exit -1
 fi



More information about the jboss-svn-commits mailing list