Author: ozizka(a)redhat.com
Date: 2009-07-29 14:13:07 -0400 (Wed, 29 Jul 2009)
New Revision: 619
Modified:
trunk/jsfunit/testdata/hudson_shell_script.sh
Log:
* Current hudson shell script >> SVN.
Modified: trunk/jsfunit/testdata/hudson_shell_script.sh
===================================================================
--- trunk/jsfunit/testdata/hudson_shell_script.sh 2009-07-29 18:11:06 UTC (rev 618)
+++ trunk/jsfunit/testdata/hudson_shell_script.sh 2009-07-29 18:13:07 UTC (rev 619)
@@ -2,8 +2,14 @@
rm -rf embjopr/target
rm -rf embjopr/jsfunit/target
+
+### Temporarily go back to old AS, RHQ doesn't work with current new (2009-07-14)
+#cd jbosseap-5.x/
+#svn up
+#cd ..
+
### Build JBoss AS, checked out / updated by Hudson
-cd jbossas-5.x/build
+cd jbosseap-5.x/build
./build.sh clean
./build.sh -Dbuild.unsecured=true
cd ../..
@@ -11,7 +17,7 @@
### Set JBoss AS home dir
# We don't want to stick with specific version, so get the home dynamically.
# Get only the last dir. Hopefully versions will be named alphabetically.
-export JBOSS_HOME=`pwd`/`ls -d -1 jbossas-5.x/build/output/* | tail -n 1`
+export JBOSS_HOME=`pwd`/`ls -d -1 jbosseap-5.x/build/output/* | tail -n 1`
echo "JBOSS_HOME: $JBOSS_HOME"
# Remove bundled AS console
# Name of war changed on 04/24 - smcgowan
@@ -22,12 +28,17 @@
### List JVMs
jps -l
+
cd embjopr
mvn install -Dmaven.test.skip=true --update-snapshots
cd jsfunit
rm -rf target
+
echo "Launching tests; binding JBoss AS to MYTESTIP_1 == $MYTESTIP_1"
-mvn -Pjboss5x install --fail-never --update-snapshots -DJBOSS_HOME=$JBOSS_HOME
-Dcargo.jboss.bind.address=$MYTESTIP_1 -Dhtmlunit.browser=ie7
+#echo -e "USER hudson hudson hudson hudson\nNICK HudsonBot\nJOIN #embjopr\nPRIVMSG
#embjopr :`hostname`\nQUIT\n" |nc
irc.devel.redhat.com 6667 || :
+echo `hostname`:4000 >> /tmp/embjopr-debug.log
+
+mvn -Pjboss5x install --fail-never --update-snapshots -DJBOSS_HOME=$JBOSS_HOME
-Dcargo.jboss.bind.address=$MYTESTIP_1
sleep 5