[jboss-svn-commits] JBL Code SVN: r38093 - labs/jbosstm/branches/JBOSSTS_4_16/scripts/hudson.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri May 18 09:03:09 EDT 2012
Author: paul.robinson
Date: 2012-05-18 09:03:09 -0400 (Fri, 18 May 2012)
New Revision: 38093
Modified:
labs/jbosstm/branches/JBOSSTS_4_16/scripts/hudson/narayana.sh
Log:
Automatic detection of JBOSS_HOME
Modified: labs/jbosstm/branches/JBOSSTS_4_16/scripts/hudson/narayana.sh
===================================================================
--- labs/jbosstm/branches/JBOSSTS_4_16/scripts/hudson/narayana.sh 2012-05-18 12:48:52 UTC (rev 38092)
+++ labs/jbosstm/branches/JBOSSTS_4_16/scripts/hudson/narayana.sh 2012-05-18 13:03:09 UTC (rev 38093)
@@ -41,7 +41,9 @@
fi
#START JBOSS
-export JBOSS_HOME="${WORKSPACE}/jboss-as/build/target/jboss-as-7.2.0.Alpha1-SNAPSHOT"
+JBOSS_VERSION=`ls -1 ${WORKSPACE}/jboss-as/build/target | grep jboss-as`
+export JBOSS_HOME=${WORKSPACE}/jboss-as/build/target/${JBOSS_VERSION}
+
$JBOSS_HOME/bin/standalone.sh --server-config=../../docs/examples/configs/standalone-xts.xml&
sleep 10
More information about the jboss-svn-commits
mailing list