[jbpm-commits] JBoss JBPM SVN: r3892 - in jbpm4/trunk/hudson/hudson-home/jobs: jBPM4-Database-Matrix and 1 other directories.

do-not-reply at jboss.org do-not-reply at jboss.org
Mon Feb 16 11:53:28 EST 2009


Author: heiko.braun at jboss.com
Date: 2009-02-16 11:53:28 -0500 (Mon, 16 Feb 2009)
New Revision: 3892

Modified:
   jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/config.xml
   jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/config.xml
   jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.6/config.xml
Log:
Align hudson jobs

Modified: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/config.xml	2009-02-16 15:46:06 UTC (rev 3891)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Container-Matrix/config.xml	2009-02-16 16:53:28 UTC (rev 3892)
@@ -50,23 +50,40 @@
   </axes>
   <builders>
     <hudson.tasks.Shell>
-      <command>WORKSPACE=`pwd`
+<command>
+WORKSPACE=`pwd`
 JBPMDIR=$WORKSPACE/jbpm4
 
-export HUDSON_BASE=/home/hudson/workspace/jbpm-hudson-4.0.0-SNAPSHOT
-export JBPM_VERSION=4.0.0-SNAPSHOT
-export JBOSS_SERVER=default
-export JBOSS_BINDADDR=192.168.0.101
+export HUDSON_BASE=@hudson.base@
+export JBPM_VERSION=@version.id@
+export JBOSS_SERVER=@jboss.server.instance@
+export JBOSS_BINDADDR=@jboss.bind.address@
 
+#
 # copy the maven profile
+#
 cp $JBPMDIR/hudson/profiles.xml.local.qa $JBPMDIR/profiles.xml
 
 #
+# create the database tables
+#
+cd $JBPMDIR/modules/db
+mvn -Pcreate-tables -Ddatabase=$DATABASE install
+
+#
 # call command.sh
 #
-/bin/sh $JBPMDIR/hudson/hudson-home/command.sh        
+cd $WORKSPACE
+/bin/sh $JBPMDIR/hudson/hudson-home/command.sh
 
-      </command>
+#
+# drop the database tables (cleanup)
+#
+cd $JBPMDIR/modules/db
+mvn -Pdrop-tables -Ddatabase=$DATABASE install
+
+cd $WORKSPACE      
+</command>
     </hudson.tasks.Shell>
   </builders>
   <publishers>

Modified: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/config.xml	2009-02-16 15:46:06 UTC (rev 3891)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-Database-Matrix/config.xml	2009-02-16 16:53:28 UTC (rev 3892)
@@ -48,21 +48,40 @@
   </axes>
   <builders>
     <hudson.tasks.Shell>
-      <command>WORKSPACE=`pwd`
+<command>
+WORKSPACE=`pwd`
 JBPMDIR=$WORKSPACE/jbpm4
 
-export HUDSON_BASE=/home/hudson/workspace/jbpm-hudson-4.0.0-SNAPSHOT
-export JBPM_VERSION=4.0.0-SNAPSHOT
-export JBOSS_SERVER=default
-export JBOSS_BINDADDR=192.168.0.101
+export HUDSON_BASE=@hudson.base@
+export JBPM_VERSION=@version.id@
+export JBOSS_SERVER=@jboss.server.instance@
+export JBOSS_BINDADDR=@jboss.bind.address@
 
+#
 # copy the maven profile
+#
 cp $JBPMDIR/hudson/profiles.xml.local.qa $JBPMDIR/profiles.xml
 
 #
+# create the database tables
+#
+cd $JBPMDIR/modules/db
+mvn -Pcreate-tables -Ddatabase=$DATABASE install
+
+#
 # call command.sh
 #
-/bin/sh $JBPMDIR/hudson/hudson-home/command.sh    </command>
+cd $WORKSPACE
+/bin/sh $JBPMDIR/hudson/hudson-home/command.sh
+
+#
+# drop the database tables (cleanup)
+#
+cd $JBPMDIR/modules/db
+mvn -Pdrop-tables -Ddatabase=$DATABASE install
+
+cd $WORKSPACE              
+</command>
     </hudson.tasks.Shell>
   </builders>
   <publishers>

Modified: jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.6/config.xml
===================================================================
--- jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.6/config.xml	2009-02-16 15:46:06 UTC (rev 3891)
+++ jbpm4/trunk/hudson/hudson-home/jobs/jBPM4-JDK1.6/config.xml	2009-02-16 16:53:28 UTC (rev 3892)
@@ -40,9 +40,42 @@
       </values>
     </axis>
   </axes>
-  <builders>
+    <builders>
     <hudson.tasks.Shell>
-      <command>/bin/sh ./jbpm4/hudson/jbpm4-base.sh</command>
+<command>
+WORKSPACE=`pwd`
+JBPMDIR=$WORKSPACE/jbpm4
+
+export HUDSON_BASE=@hudson.base@
+export JBPM_VERSION=@version.id@
+export JBOSS_SERVER=@jboss.server.instance@
+export JBOSS_BINDADDR=@jboss.bind.address@
+
+#
+# copy the maven profile
+#
+cp $JBPMDIR/hudson/profiles.xml.local.qa $JBPMDIR/profiles.xml
+
+#
+# create the database tables
+#
+cd $JBPMDIR/modules/db
+mvn -Pcreate-tables -Ddatabase=$DATABASE install
+
+#
+# call command.sh
+#
+cd $WORKSPACE
+/bin/sh $JBPMDIR/hudson/hudson-home/command.sh
+
+#
+# drop the database tables (cleanup)
+#
+cd $JBPMDIR/modules/db
+mvn -Pdrop-tables -Ddatabase=$DATABASE install
+
+cd $WORKSPACE
+</command>
     </hudson.tasks.Shell>
   </builders>
   <publishers>




More information about the jbpm-commits mailing list