[jbpm-commits] JBoss JBPM SVN: r3625 - jbpm4/trunk/hudson/hudson-home.

do-not-reply at jboss.org do-not-reply at jboss.org
Fri Jan 9 10:44:31 EST 2009


Author: tom.baeyens at jboss.com
Date: 2009-01-09 10:44:31 -0500 (Fri, 09 Jan 2009)
New Revision: 3625

Modified:
   jbpm4/trunk/hudson/hudson-home/command-db.sh
Log:
added -f to copy

Modified: jbpm4/trunk/hudson/hudson-home/command-db.sh
===================================================================
--- jbpm4/trunk/hudson/hudson-home/command-db.sh	2009-01-09 15:05:52 UTC (rev 3624)
+++ jbpm4/trunk/hudson/hudson-home/command-db.sh	2009-01-09 15:44:31 UTC (rev 3625)
@@ -5,24 +5,23 @@
 #
 # $Id$
 
+set -x
+
 WORKSPACE=`pwd`
 JBPMDIR=$WORKSPACE/jbpm4
-RESOURCESDIR=$WORKSPACE/resources
 
-ENVIRONMENT=""
-
 #
 # copy the profiles.xml
 #
-echo copying $RESOURCESDIR/profiles.xml to $JBPMDIR
-cp $RESOURCESDIR/profiles.xml $JBPMDIR
+echo copying profiles.xml from resources
+cp -f $WORKSPACE/resources/profiles.xml $JBPMDIR
 
 #
 # build the tests
 #
 cd $JBPMDIR
 cp profiles.xml.example profiles.xml
-MVN_CMD="mvn $ENVIRONMENT -DskipTests -Pload clean install"
+MVN_CMD="mvn -DskipTests -Pload clean install"
 echo $MVN_CMD; $MVN_CMD 2>&1; MVN_STATUS=$?
 if [ $MVN_STATUS -ne 0 ]; then
   echo maven exit status $MVN_STATUS
@@ -32,21 +31,21 @@
 #
 # log dependency tree
 #
-MVN_CMD="mvn -o $ENVIRONMENT dependency:tree"
+MVN_CMD="mvn -o dependency:tree"
 echo $MVN_CMD; $MVN_CMD | tee $WORKSPACE/dependency-tree.txt
 
 #
 # execute example tests
 #
 cd $JBPMDIR/modules/examples
-MVN_CMD="mvn -o $ENVIRONMENT -Ddatabase=$DATABASE -DtestFailureIgnore=true test"
+MVN_CMD="mvn -o -Ddatabase=$DATABASE -DtestFailureIgnore=true test"
 echo $MVN_CMD; $MVN_CMD 2>&1 | tee $WORKSPACE/tests.examples.log
 
 #
 # execute database tests
 #
 cd $JBPMDIR/modules/test-db
-MVN_CMD="mvn -o $ENVIRONMENT -Ddatabase=$DATABASE -DtestFailureIgnore=true test"
+MVN_CMD="mvn -o -Ddatabase=$DATABASE -DtestFailureIgnore=true test"
 echo $MVN_CMD; $MVN_CMD 2>&1 | tee $WORKSPACE/tests.test-db.log
 
 cat $WORKSPACE/tests.examples.log $WORKSPACE/tests.test-db.log  | egrep FIXME\|FAILED | sort -u | tee $WORKSPACE/fixme.txt




More information about the jbpm-commits mailing list