Author: richard.opalka(a)jboss.com
Date: 2008-01-24 16:55:06 -0500 (Thu, 24 Jan 2008)
New Revision: 5536
Modified:
framework/trunk/hudson/hudson-home/jobs/Native-ALL/config.xml
framework/trunk/hudson/hudson-home/jobs/TCK-1.4/config.xml
Log:
[JBWS-1962] optimizing TCK14 hudson job - checkout from JBoss internal SVN only on first
call of the suite
Modified: framework/trunk/hudson/hudson-home/jobs/Native-ALL/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/Native-ALL/config.xml 2008-01-24 20:34:20 UTC
(rev 5535)
+++ framework/trunk/hudson/hudson-home/jobs/Native-ALL/config.xml 2008-01-24 21:55:06 UTC
(rev 5536)
@@ -7,7 +7,7 @@
Native-Core-AS-4.0.5, Native-Core-AS-4.0.5-No-EJB3, Native-Core-AS-4.2.1,
Native-Core-AS-4.2.2, Native-Core-AS-4.2.2-JDK6, Native-Core-AS-4.2.3,
Native-Core-AS-4.2.3-JDK6, Native-Core-AS-5.0.0,
Native-Distro-AS-4.0.5, Native-Distro-AS-4.0.5-No-EJB3, Native-Distro-AS-4.2.1,
Native-Distro-AS-4.2.2, Native-Distro-AS-4.2.2-JDK6, Native-Distro-AS-4.2.3,
Native-Distro-AS-4.2.3-JDK6, Native-Distro-AS-5.0.0,
Native-Integration-AS-4.0.5, Native-Integration-AS-4.0.5-No-EJB3,
Native-Integration-AS-4.2.1, Native-Integration-AS-4.2.2, Native-Integration-AS-4.2.3,
Native-Integration-AS-5.0.0,
- Native-Tck14-Jaxr-AS-4.2.3, Native-Tck14-Jaxrpc-AS-4.2.3,
Native-Tck14-Saaj-AS-4.2.3, Native-Tck14-Webservices-AS-4.2.3,
+ Native-Tck14-Jaxr-AS-4.2.3, Native-Tck14-Jaxrpc-AS-4.2.3,
Native-Tck14-Saaj-AS-4.2.3, Native-Tck14-Webservices-AS-4.2.3
</childProjects>
</hudson.tasks.BuildTrigger>
</publishers>
Modified: framework/trunk/hudson/hudson-home/jobs/TCK-1.4/config.xml
===================================================================
--- framework/trunk/hudson/hudson-home/jobs/TCK-1.4/config.xml 2008-01-24 20:34:20 UTC
(rev 5535)
+++ framework/trunk/hudson/hudson-home/jobs/TCK-1.4/config.xml 2008-01-24 21:55:06 UTC
(rev 5536)
@@ -4,16 +4,24 @@
<hudson.tasks.Shell>
<command>
#
-# Module settings
+# IMPORTANT: For the first execution of this suite the following preconditions must be
fulfilled:
+# * RED HAT VPN must be turned on on test machine
+# * User under which HUDSON environment is running must be logged in to
+#
https://svn.corp.jboss.com/repos SVN repository
#
-SVNBASE=TCK-1.4
-
+
#
-# Verify build
+# prepare necessary TCK14 artifacts if not yet available
#
-if [ ! -d $SVNBASE ]; then
- echo "Cannot find expected build: $SVNBASE"
- exit 1
+if [ ! -f tck14.prepared ]
+then
+ echo "Checking out TCK14"
+ svn co
https://svn.corp.jboss.com/repos/tck/tck141/trunk TCK-1.4
+ echo "Exporting J2EE14 RI"
+ svn export
https://svn.corp.jboss.com/repos/tck/j2ee14-tck-dist/trunk/j2eeri-1_4_1-f...
+ touch tck14.prepared
+else
+ echo "Nothing to do. All necessary artifacts are already checked out and exported
from jboss internal SVN repository"
fi
</command>
</hudson.tasks.Shell>
@@ -24,23 +32,16 @@
<dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
<sendToIndividuals>true</sendToIndividuals>
</hudson.tasks.Mailer>
- <!--hudson.tasks.BuildTrigger>
- <childProjects>TCK-1.4</childProjects>
- </hudson.tasks.BuildTrigger-->
</publishers>
<buildWrappers class="vector"/>
<scm class="hudson.scm.SubversionSCM">
<locations>
<hudson.scm.SubversionSCM-ModuleLocation>
- <remote>@hudson.tck14.url(a)</remote>
- <local>TCK-1.4</local>
+ <remote>@hudson.framework.url(a)</remote>
+ <local>framework</local>
</hudson.scm.SubversionSCM-ModuleLocation>
</locations>
<useUpdate>true</useUpdate>
- <!--browser class="hudson.scm.browsers.FishEyeSVN">
- <
url>http://fisheye.jboss.com/browse/JBossAS/</url>
- <rootModule></rootModule>
- </browser-->
</scm>
<canRoam>true</canRoam>
<disabled>false</disabled>
@@ -52,6 +53,6 @@
</logRotator>
<keepDependencies>false</keepDependencies>
<properties/>
- <description>Build TCK-1.4</description>
+ <description>Prepare TCK-1.4 artifacts</description>
<actions class="vector"/>
-</project>
\ No newline at end of file
+</project>