Author: richard.opalka(a)jboss.com
Date: 2008-01-24 08:47:21 -0500 (Thu, 24 Jan 2008)
New Revision: 5532
Added:
framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Saaj-AS-4.2.3/
framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Saaj-AS-4.2.3/config.xml
Modified:
framework/trunk/ant.properties.example
Log:
[JBWS-1962] adding TCK14 SAAJ hudson job for AS 4.2.3
Modified: framework/trunk/ant.properties.example
===================================================================
--- framework/trunk/ant.properties.example 2008-01-24 12:58:52 UTC (rev 5531)
+++ framework/trunk/ant.properties.example 2008-01-24 13:47:21 UTC (rev 5532)
@@ -46,14 +46,14 @@
hudson.jboss423.build=jboss-4.2.3.GA
hudson.jboss423.rev=HEAD
+hudson.jboss500.url=https://svn.jboss.org/repos/jbossas/trunk
+hudson.jboss500.build=jboss-5.0.0.Beta4
+hudson.jboss500.rev=HEAD
+
hudson.tck14.url=https://svn.corp.jboss.com/repos/tck/tck141/trunk
hudson.tck14.build=tck141
hudson.tck14.rev=HEAD
-hudson.jboss500.url=https://svn.jboss.org/repos/jbossas/trunk
-hudson.jboss500.build=jboss-5.0.0.Beta4
-hudson.jboss500.rev=HEAD
-
hudson.mail.recipients=
hudson.smtp.host=localhost
Added: framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Saaj-AS-4.2.3/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Saaj-AS-4.2.3/config.xml
(rev 0)
+++
framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Saaj-AS-4.2.3/config.xml 2008-01-24
13:47:21 UTC (rev 5532)
@@ -0,0 +1,159 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+ <builders class="vector">
+ <hudson.tasks.Shell>
+ <command>
+#
+# Module settings
+#
+MODULE=Native-Tck14-Saaj-AS-4.2.3
+
+WORKSPACE=`pwd`
+FRAMEWORKDIR=$WORKSPACE/framework
+STACKNATIVE=$WORKSPACE/stack-native
+J2EERI14_INSTALL_FILE=j2eeri-1_4_1-fcs-bin-b05-linux-04_mar_2004.zip
+JBOSS_BINDADDR=(a)jboss.bind.address@
+JBOSS_INSTANCE=@hudson.home@/jobs/AS-4.2.3/workspace/JBossAS-4.2.3/build/output/(a)hudson.jboss423.build@
+ENVIRONMENT=&quot;-Djboss.bind.address=(a)jboss.bind.address@
-Djbossws.integration.target=jboss423 -Djboss423.home=$JBOSS_INSTANCE"
+
+#
+# export environment variables needed by TCK14 tests
+#
+JBOSS_HOME=$JBOSS_INSTANCE
+TS_HOME=@hudson.home(a)/jobs/TCK-1.4/workspace/TCK-1.4
+J2EE_HOME=$WORKSPACE/j2eeri-1_4_1
+SUITE_HOME=$TS_HOME/src/com/sun/ts/tests/saaj
+export JBOSS_HOME TS_HOME J2EE_HOME
+
+#
+# prepare J2EE 1.4 RI
+#
+if [ ! -f $J2EERI14_INSTALL_FILE ]
+then
+ svn export
https://svn.corp.jboss.com/repos/tck/j2ee14-tck-dist/trunk/$J2EERI14_INST...
+fi
+
+if [ -f $J2EERI14_INSTALL_FILE ]
+then
+ rm -rf $J2EE_HOME
+ unzip $J2EERI14_INSTALL_FILE
+else
+ echo "Missing J2EERI 14 installation file"
+ exit 1
+fi
+
+#
+# delete old TCK reports
+#
+rm -rf $SUITE_HOME/JTwork
+rm -rf $SUITE_HOME/JTreport
+
+#
+# stop jbossas
+#
+$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE stop
+
+#
+# build and deploy
+#
+cd $STACKNATIVE
+cp ant.properties.example ant.properties
+./build.sh $ENVIRONMENT -Dforce.thirdparty.get=true clean deploy-jboss423
+
+#
+# prepare TCK for use with jboss
+#
+pushd $TS_HOME/j2eetck-mods
+ant clean
+ant -Dnormic=true
+popd
+
+#
+# prepare J2EE RI for TCK
+#
+pushd $J2EE_HOME
+ant -f setup.xml setup
+popd
+
+#
+# prepare the cts config to run the tests with
+#
+pushd $TS_HOME/bin
+./tsant clean.vi
+./tsant config.vi
+popd
+
+#
+# start jbossas
+#
+$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE tcsstart $JBOSS_BINDADDR
+
+#
+# wait 2 minutes
+#
+sleep 120s
+
+#
+# execute tests
+#
+pushd $SUITE_HOME
+$TS_HOME/bin/tsant runclient
+popd
+
+#
+# convert TCK14 reports to JUnit reports
+#
+$JAVA_HOME/bin/java \
+ -cp $STACKNATIVE/thirdparty/jbossws-common.jar \
+ org.jboss.wsf.test.TCK14ToJunitReportConverter \
+ $SUITE_HOME \
+ $WORKSPACE/tckjunitreports
+
+#
+# stop jbossas
+#
+$FRAMEWORKDIR/hudson/jboss/bin/jboss.sh $JBOSS_INSTANCE stop
+</command>
+ </hudson.tasks.Shell>
+ </builders>
+ <publishers class="vector">
+ <hudson.tasks.junit.JUnitResultArchiver>
+ <testResults>tckjunitreports/*.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>
+ </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-(a)version.id@ against TCK 14 on
AS-4.2.3</description>
+ <actions class="vector"/>
+</project>
Property changes on:
framework/trunk/hudson/hudson-home/jobs/Native-Tck14-Saaj-AS-4.2.3/config.xml
___________________________________________________________________
Name: svn:keywords
+ Id Revision
Name: svn:eol-style
+ LF