[jbossws-commits] JBossWS SVN: r3641 - in trunk/build/hudson/hudson-home/jobs: Core-Tests-AS-4.2_JDK6 and 1 other directory.

jbossws-commits at lists.jboss.org jbossws-commits at lists.jboss.org
Tue Jun 19 12:21:41 EDT 2007


Author: heiko.braun at jboss.com
Date: 2007-06-19 12:21:40 -0400 (Tue, 19 Jun 2007)
New Revision: 3641

Added:
   trunk/build/hudson/hudson-home/jobs/Core-Tests-AS-4.2_JDK6/
   trunk/build/hudson/hudson-home/jobs/Core-Tests-AS-4.2_JDK6/config.xml
Log:
JDK 6 test run

Added: trunk/build/hudson/hudson-home/jobs/Core-Tests-AS-4.2_JDK6/config.xml
===================================================================
--- trunk/build/hudson/hudson-home/jobs/Core-Tests-AS-4.2_JDK6/config.xml	                        (rev 0)
+++ trunk/build/hudson/hudson-home/jobs/Core-Tests-AS-4.2_JDK6/config.xml	2007-06-19 16:21:40 UTC (rev 3641)
@@ -0,0 +1,108 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+  <builders class="vector">
+    <hudson.tasks.Shell>
+      <command>
+#
+# Module settings
+#
+MODULE=JBWS-CoreTests-AS-4.2_JDK6
+
+WORKSPACE=`pwd`
+JBWSDIR=$WORKSPACE/jbossws
+JBOSS_BINDADDR=@jboss.bind.address@
+JBOSS_INSTANCE=@hudson.home@/jobs/AS-4.2/workspace/Branch_4_2/build/output/@hudson.jboss42.build@
+ENVIRONMENT=&quot;-Dforce.thirdparty.get=true -Djboss.bind.address=@jboss.bind.address@ -Djbossws.integration.target=jboss42 -Djboss42.home=$JBOSS_INSTANCE&quot;
+
+#
+# Verify JDK 6 availablility
+#
+if [ "@jdk6.home@" = "jdk6.home" ]; then
+	echo "Please point jdk6.home (ant.properties) to your JAVA 1.6 installation"
+	exit 1
+else
+	JAVA_HOME="@jdk6.home@"
+	cp $JBWSDIR/build/build.conf.example $JBWSDIR/build/build.conf
+fi
+
+#
+# copy ant.properties
+#
+cd $JBWSDIR/build
+cp ant.properties.example ant.properties
+./build.sh clean
+
+#
+# stop jbossas
+#
+$JBWSDIR/build/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE stop
+
+#
+# deploy to jboss
+#
+cd $JBWSDIR/jbossws-core
+./build.sh $ENVIRONMENT deploy-jboss42
+
+#
+# start jbossas
+#
+$JBWSDIR/build/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE start $JBOSS_BINDADDR
+
+# Was it successfully started?
+$JBWSDIR/build/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
+	$JBWSDIR/build/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
+#
+$JBWSDIR/build/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE stop
+</command>
+    </hudson.tasks.Shell>
+  </builders>
+  <publishers class="vector">
+    <hudson.tasks.junit.JUnitResultArchiver>
+      <testResults>jbossws/jbossws-core/output/tests/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>@svn.url@</remote>
+        <local>jbossws</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- at version.id@ against AS-4.2</description>
+  <actions class="vector"/>
+</project>
\ No newline at end of file


Property changes on: trunk/build/hudson/hudson-home/jobs/Core-Tests-AS-4.2_JDK6/config.xml
___________________________________________________________________
Name: svn:keywords
   + Id Revision
Name: svn:eol-style
   + LF




More information about the jbossws-commits mailing list