Author: ozizka(a)redhat.com
Date: 2009-09-15 09:43:27 -0400 (Tue, 15 Sep 2009)
New Revision: 751
Modified:
trunk/jsfunit/testdata/hudson_shell_script.sh
Log:
* hudson script updated - kill JBoss AS before next round
Modified: trunk/jsfunit/testdata/hudson_shell_script.sh
===================================================================
--- trunk/jsfunit/testdata/hudson_shell_script.sh 2009-09-03 18:46:55 UTC (rev 750)
+++ trunk/jsfunit/testdata/hudson_shell_script.sh 2009-09-15 13:43:27 UTC (rev 751)
@@ -63,12 +63,16 @@
echo "Running whole testsuite... (DONT_SPLIT)"
mvn -Pjboss5x -Pfoo$ADD_PROFILES install -Dcargo.jboss.configuration=$JBOSS_CONFIG
-Dhtmlunit.browser=$BROWSER --fail-never --update-snapshots -DJBOSS_HOME=$JBOSS_HOME
-Dcargo.jboss.bind.address=$MYTESTIP_1
else
+ ## Include functions for Hudson.
+ . ~/config_repository/scripts/common/common_bash.sh
## Split testsuite to parts, because of OOME
for part in Apps ConnFactories Datasources Jms theRest; do
echo "Running tests for part '$part'..."
svn revert pom.xml
echo "Performing 'patch -p0 <
testdata/pom_patches/pom-$part.patch'..."
patch -p0 < testdata/pom_patches/pom-$part.patch
+ echo "Killing JBoss AS..."
+ kill-jboss
rm -rf target/jboss5x # Empty Cargo's configuration dir
mvn -Pjboss5x -Pfoo$ADD_PROFILES install
-Dcargo.jboss.configuration=$JBOSS_CONFIG -Dhtmlunit.browser=$BROWSER --fail-never
--update-snapshots -DJBOSS_HOME=$JBOSS_HOME -Dcargo.jboss.bind.address=$MYTESTIP_1
#mv target/surefire-reports/TEST-TestSuite.xml TEST-TestSuite-$part.xml
Show replies by date