Author: thomas.diesler(a)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=(a)jboss.bind.address@
+JBOSS50_INSTANCE=@hudson.home@/jobs/AS-5.0/workspace/JBossAS-5.0/build/output/(a)hudson.jboss50.build@
+JBOSS42_INSTANCE=@hudson.home@/jobs/AS-4.2/workspace/JBossAS-4.2/build/output/(a)hudson.jboss42.build@
+JBOSS40_INSTANCE=@hudson.home@/jobs/AS-4.0/workspace/JBossAS-4.0/build/output/@hudson.jboss40.build(a)-ejb3
+JBOSS_INSTANCE=$JBOSS42_INSTANCE
+ENVIRONMENT=&quot;-Djboss.bind.address=(a)jboss.bind.address@
-Djbossws.integration.target=jboss42 -Djboss50.home=$JBOSS50_INSTANCE
-Djboss42.home=$JBOSS42_INSTANCE -Djboss40.home=$JBOSS40_INSTANCE"
+
+#
+# Verify JDK1.6 availablility
+#
+if [ "java.home.jdk16" = "@java.home.jdk16(a)" ]; then
+ echo "Please point java.home.jdk16 (ant.properties) to your JDK1.6
installation"
+ exit 1
+else
+ JAVA_HOME="@java.home.jdk16(a)"
+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-(a)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(a)/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>&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-@version.id(a)/output/reports/*.xml</testResults>
+ </hudson.tasks.junit.JUnitResultArchiver>
+ <hudson.tasks.Mailer>
+ <recipients>@hudson.mail.recipients(a)</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(a)</remote>
+ <local>framework</local>
+ </hudson.scm.SubversionSCM-ModuleLocation>
+ <hudson.scm.SubversionSCM-ModuleLocation>
+ <remote>@hudson.native.url(a)</remote>
+ <local>stack-native</local>
+ </hudson.scm.SubversionSCM-ModuleLocation>
+ <hudson.scm.SubversionSCM-ModuleLocation>
+ <remote>@hudson.metro.url(a)</remote>
+ <local>stack-metro</local>
+ </hudson.scm.SubversionSCM-ModuleLocation>
+ <hudson.scm.SubversionSCM-ModuleLocation>
+ <remote>@hudson.cxf.url(a)</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-(a)version.id@ against
AS-4.2</description>
+ <actions class="vector"/>
+</project>
\ No newline at end of file