[embjopr-commits] EMBJOPR SVN: r801 - trunk/jsfunit/testdata.

embjopr-commits at lists.jboss.org embjopr-commits at lists.jboss.org
Mon Oct 19 15:50:57 EDT 2009


Author: ozizka at redhat.com
Date: 2009-10-19 15:50:56 -0400 (Mon, 19 Oct 2009)
New Revision: 801

Modified:
   trunk/jsfunit/testdata/hudson_shell_script.sh
Log:
 * Hudson shell script updated - cd back to $WORKSPACE

Modified: trunk/jsfunit/testdata/hudson_shell_script.sh
===================================================================
--- trunk/jsfunit/testdata/hudson_shell_script.sh	2009-10-19 19:45:04 UTC (rev 800)
+++ trunk/jsfunit/testdata/hudson_shell_script.sh	2009-10-19 19:50:56 UTC (rev 801)
@@ -26,10 +26,12 @@
     exit -1;
   elif [ -d "$EAP_ZIP_PATH/build" ] ; then
     ###  --Built-- Checked out by Hudson
-    cd $EAP_ZIP_PATH/build
-    ./build.sh clean
-    ./build.sh -Dbuild.unsecure=true
-    export JBOSS_HOME=$EAP_ZIP_PATH/build/output/`ls -1 $EAP_ZIP_PATH/build/output`
+    pushd .
+      cd $EAP_ZIP_PATH/build
+      ./build.sh clean
+      ./build.sh -Dbuild.unsecure=true
+      export JBOSS_HOME=$EAP_ZIP_PATH/build/output/`ls -1 $EAP_ZIP_PATH/build/output`
+    popd
   else
     ###  Get and unzip EAP 5 binaries
     #if [ -n $EAP_URL ] ; then
@@ -47,9 +49,9 @@
   fi
 fi
 
+cd $WORKSPACE
 
 ###  Set JBoss AS home dir
-#export JBOSS_HOME=`pwd`/jboss-eap-5.0/jboss-as
 echo "JBOSS_HOME: $JBOSS_HOME"
 #  Remove bundled AS console
 #  Name of war changed on 04/24 - smcgowan



More information about the embjopr-commits mailing list