[jbossws-commits] JBossWS SVN: r4479 - in framework/trunk/hudson/hudson-home/jobs: Distro-Native-AS-4.2-JDK6 and 1 other directory.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Thu Aug 23 06:18:46 EDT 2007


Author: thomas.diesler at jboss.com
Date: 2007-08-23 06:18:45 -0400 (Thu, 23 Aug 2007)
New Revision: 4479

Added:
   framework/trunk/hudson/hudson-home/jobs/Distro-Native-AS-4.2-JDK6/
   framework/trunk/hudson/hudson-home/jobs/Distro-Native-AS-4.2-JDK6/config.xml
Log:
Add Distro-Native-AS-4.2-JDK6

Added: framework/trunk/hudson/hudson-home/jobs/Distro-Native-AS-4.2-JDK6/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Distro-Native-AS-4.2-JDK6/config.xml	                        (rev 0)
+++ framework/trunk/hudson/hudson-home/jobs/Distro-Native-AS-4.2-JDK6/config.xml	2007-08-23 10:18:45 UTC (rev 4479)
@@ -0,0 +1,139 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+  <builders class="vector">
+    <hudson.tasks.Shell>
+      <command>
+#
+# Module settings
+#
+MODULE=Distro-Native-AS-4.2-JDK6
+
+WORKSPACE=`pwd`
+FRAMEWORKDIR=$WORKSPACE/framework
+STACKNATIVE=$WORKSPACE/stack-native
+STACKMETRO=$WORKSPACE/stack-metro
+STACKCXF=$WORKSPACE/stack-cxf
+JBOSS_BINDADDR=@jboss.bind.address@
+JBOSS50_INSTANCE=@hudson.home@/jobs/AS-5.0/workspace/JBossAS-5.0/build/output/@hudson.jboss50.build@
+JBOSS42_INSTANCE=@hudson.home@/jobs/AS-4.2/workspace/JBossAS-4.2/build/output/@hudson.jboss42.build@
+JBOSS40_INSTANCE=@hudson.home@/jobs/AS-4.0/workspace/JBossAS-4.0/build/output/@hudson.jboss40.build at -ejb3
+JBOSS_INSTANCE=$JBOSS42_INSTANCE
+ENVIRONMENT=&quot;-Djboss.bind.address=@jboss.bind.address@ -Djbossws.integration.target=jboss42 -Djboss50.home=$JBOSS50_INSTANCE -Djboss42.home=$JBOSS42_INSTANCE -Djboss40.home=$JBOSS40_INSTANCE&quot;
+
+#
+# Verify JDK1.6 availablility
+#
+if [ "java.home.jdk16" = "@java.home.jdk16@" ]; then
+	echo "Please point java.home.jdk16 (ant.properties) to your JDK1.6 installation"
+	exit 1
+else
+	JAVA_HOME="@java.home.jdk16@"
+fi
+
+#
+# stop jbossas
+#
+$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE stop
+        
+#
+# undeploy stack-metro
+#
+cd $STACKMETRO
+cp ant.properties.example ant.properties
+./build.sh $ENVIRONMENT undeploy-jboss42
+               
+#
+# undeploy stack-cxf
+#
+cd $STACKCXF
+cp ant.properties.example ant.properties
+./build.sh $ENVIRONMENT undeploy-jboss42
+        
+#
+# Build distro
+#
+cd $STACKNATIVE
+cp ant.properties.example ant.properties
+./build.sh $ENVIRONMENT clean build-bin-dist
+
+#
+# Deploy distro
+#
+cd output/jbossws-native- at version.id@
+./build.sh $ENVIRONMENT deploy-jboss42
+
+#
+# start jbossas
+#
+$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE start $JBOSS_BINDADDR
+
+# Was it successfully started?
+$FRAMEWORKDIR/hudson/jboss/bin/http-spider.sh $JBOSS_BINDADDR:8080 $WORKSPACE
+if [ -e $WORKSPACE/spider.failed ]; then
+  tail -n 100 $JBOSS_INSTANCE/server/@jboss.server.instance@/log/server.log
+	$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE stop $JBOSS_BINDADDR
+	exit 1
+fi
+
+#
+# execute tests
+#
+./build.sh $ENVIRONMENT tests-clean tests 2>&amp;1 | tee $WORKSPACE/tests.out
+cat $WORKSPACE/tests.out | egrep FIXME\|FAILED | sort -u
+
+#
+# stop jbossas
+#
+$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE stop
+</command>
+    </hudson.tasks.Shell>
+  </builders>
+  <publishers class="vector">
+    <hudson.tasks.junit.JUnitResultArchiver>
+      <testResults>stack-native/output/jbossws-native- at version.id@/output/reports/*.xml</testResults>
+    </hudson.tasks.junit.JUnitResultArchiver>
+    <hudson.tasks.Mailer>
+      <recipients>@hudson.mail.recipients@</recipients>
+      <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
+      <sendToIndividuals>true</sendToIndividuals>
+    </hudson.tasks.Mailer>
+  </publishers>
+  <buildWrappers class="vector"/>
+  <scm class="hudson.scm.SubversionSCM">
+    <locations>
+      <hudson.scm.SubversionSCM-ModuleLocation>
+        <remote>@hudson.framework.url@</remote>
+        <local>framework</local>
+      </hudson.scm.SubversionSCM-ModuleLocation>
+      <hudson.scm.SubversionSCM-ModuleLocation>
+        <remote>@hudson.native.url@</remote>
+        <local>stack-native</local>
+      </hudson.scm.SubversionSCM-ModuleLocation>
+      <hudson.scm.SubversionSCM-ModuleLocation>
+        <remote>@hudson.metro.url@</remote>
+        <local>stack-metro</local>
+      </hudson.scm.SubversionSCM-ModuleLocation>
+      <hudson.scm.SubversionSCM-ModuleLocation>
+        <remote>@hudson.cxf.url@</remote>
+        <local>stack-cxf</local>
+      </hudson.scm.SubversionSCM-ModuleLocation>
+    </locations>
+    <useUpdate>true</useUpdate>
+    <browser class="hudson.scm.browsers.FishEyeSVN">
+      <url>http://fisheye.jboss.com/browse/JBossWS/</url>
+      <rootModule></rootModule>
+    </browser>
+  </scm>
+  <canRoam>true</canRoam>
+  <disabled>false</disabled>
+  <enableRemoteTrigger>false</enableRemoteTrigger>
+  <triggers class="vector"/>
+  <logRotator>
+    <daysToKeep>-1</daysToKeep>
+    <numToKeep>20</numToKeep>
+  </logRotator>
+  <keepDependencies>false</keepDependencies>
+  <properties/>
+  <description>Build and test jbossws-native- at version.id@ against AS-4.2</description>
+  <actions class="vector"/>
+</project>
\ No newline at end of file




More information about the jbossws-commits mailing list