Hello,
As discussed in this email thread [1], please find attached the patch to
add Hudson jobs in the repository. This patch adds the Hudson
configuration files in build/hudson/ directory. These jobs are already
setup and tested in the build farm. The Solaris specific jobs can be
added later, after they are verified.

[[
The configuration files for Hudson jobs added in Apache build farm.

* build/hudson/README
  Document the configuration of Hudson jobs.

* build/hudson/jobs/subversion-trunk-ubuntu/config.xml
  The configuration file specific to building Subversion in trunk on
  Ubuntu system.

* build/hudson/jobs/subversion-1.6.x-ubuntu/config.xml
  The configuration file specific to building Subversion in "1.6.x"
  branch on Ubuntu system.
]]

[1] http://tr.im/FOZ5
-- 
Bhuvaneswaran A    
CollabNet Software P Ltd.  |  www.collab.net
Index: build/hudson/jobs/subversion-trunk-ubuntu/config.xml
===================================================================
--- build/hudson/jobs/subversion-trunk-ubuntu/config.xml	(revision 0)
+++ build/hudson/jobs/subversion-trunk-ubuntu/config.xml	(revision 0)
@@ -0,0 +1,84 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+  <actions/>
+  <description>Build Subversion from &quot;trunk&quot; branch on Ubuntu system</description>
+  <logRotator>
+    <daysToKeep>-1</daysToKeep>
+    <numToKeep>40</numToKeep>
+  </logRotator>
+  <keepDependencies>false</keepDependencies>
+  <properties>
+    <hudson.plugins.disk__usage.DiskUsageProperty/>
+    <hudson.plugins.descriptionsetter.JobByDescription/>
+    <hudson.plugins.jira.JiraProjectProperty>
+      <siteName>https://issues.apache.org/jira/</siteName>
+    </hudson.plugins.jira.JiraProjectProperty>
+  </properties>
+  <scm class="hudson.scm.SubversionSCM">
+    <locations>
+      <hudson.scm.SubversionSCM_-ModuleLocation>
+        <remote>https://svn.apache.org/repos/asf/subversion/trunk</remote>
+        <local>subversion-trunk</local>
+      </hudson.scm.SubversionSCM_-ModuleLocation>
+    </locations>
+    <useUpdate>true</useUpdate>
+    <browser class="hudson.scm.browsers.ViewSVN">
+      <url>http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN</url>
+    </browser>
+    <excludedRegions></excludedRegions>
+    <excludedUsers></excludedUsers>
+    <excludedRevprop></excludedRevprop>
+  </scm>
+  <assignedNode>minerva.apache.org (Ubuntu)</assignedNode>
+  <canRoam>false</canRoam>
+  <disabled>false</disabled>
+  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
+  <jdk>(Default)</jdk>
+  <triggers class="vector">
+    <hudson.triggers.SCMTrigger>
+      <spec>*/30 * * * *</spec>
+    </hudson.triggers.SCMTrigger>
+  </triggers>
+  <concurrentBuild>false</concurrentBuild>
+  <builders>
+    <hudson.tasks.Shell>
+      <command>cd subversion-trunk
+
+make distclean
+
+./autogen.sh
+
+./configure --enable-maintainer-mode --disable-shared
+
+make
+</command>
+    </hudson.tasks.Shell>
+    <hudson.tasks.Shell>
+      <command>#!/bin/bash
+
+cd subversion-trunk
+
+make check
+
+ret=$?
+
+echo &quot;Generating junit files ...&quot;
+
+python tools/dev/gen_junit_report.py --log-file=./tests.log --output-dir=build/junit-reports
+
+exit $ret</command>
+    </hudson.tasks.Shell>
+  </builders>
+  <publishers>
+    <hudson.tasks.junit.JUnitResultArchiver>
+      <testResults>subversion-trunk/build/junit-reports/*</testResults>
+      <testDataPublishers/>
+    </hudson.tasks.junit.JUnitResultArchiver>
+    <hudson.tasks.Mailer>
+      <recipients>notificati...@subversion.apache.org</recipients>
+      <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
+      <sendToIndividuals>false</sendToIndividuals>
+    </hudson.tasks.Mailer>
+  </publishers>
+  <buildWrappers/>
+</project>
\ No newline at end of file
Index: build/hudson/jobs/subversion-1.6.x-ubuntu/config.xml
===================================================================
--- build/hudson/jobs/subversion-1.6.x-ubuntu/config.xml	(revision 0)
+++ build/hudson/jobs/subversion-1.6.x-ubuntu/config.xml	(revision 0)
@@ -0,0 +1,88 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<project>
+  <actions/>
+  <description>Build Subversion from 1.6.x branch on Ubuntu system</description>
+  <logRotator>
+    <daysToKeep>-1</daysToKeep>
+    <numToKeep>40</numToKeep>
+  </logRotator>
+  <keepDependencies>false</keepDependencies>
+  <properties>
+    <hudson.plugins.disk__usage.DiskUsageProperty/>
+    <hudson.plugins.descriptionsetter.JobByDescription/>
+    <hudson.plugins.jira.JiraProjectProperty>
+      <siteName>https://issues.apache.org/jira/</siteName>
+    </hudson.plugins.jira.JiraProjectProperty>
+  </properties>
+  <scm class="hudson.scm.SubversionSCM">
+    <locations>
+      <hudson.scm.SubversionSCM_-ModuleLocation>
+        <remote>https://svn.apache.org/repos/asf/subversion/branches/1.6.x</remote>
+        <local>subversion-1.6.x</local>
+      </hudson.scm.SubversionSCM_-ModuleLocation>
+    </locations>
+    <useUpdate>true</useUpdate>
+    <browser class="hudson.scm.browsers.ViewSVN">
+      <url>http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN</url>
+    </browser>
+    <excludedRegions></excludedRegions>
+    <excludedUsers></excludedUsers>
+    <excludedRevprop></excludedRevprop>
+  </scm>
+  <assignedNode>minerva.apache.org (Ubuntu)</assignedNode>
+  <canRoam>false</canRoam>
+  <disabled>false</disabled>
+  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
+  <jdk>(Default)</jdk>
+  <triggers class="vector">
+    <hudson.triggers.SCMTrigger>
+      <spec>*/30 * * * *</spec>
+    </hudson.triggers.SCMTrigger>
+  </triggers>
+  <concurrentBuild>false</concurrentBuild>
+  <builders>
+    <hudson.tasks.Shell>
+      <command>cd subversion-1.6.x
+
+make distclean
+
+./autogen.sh
+
+# cp /home/bhuvan/apr . -r
+# cp /home/bhuvan/apr-util . -r
+# cp /home/bhuvan/sqlite-amalgamation . -r
+
+./configure --enable-maintainer-mode --disable-shared
+
+make
+</command>
+    </hudson.tasks.Shell>
+    <hudson.tasks.Shell>
+      <command>#!/bin/bash
+
+cd subversion-1.6.x
+
+make check
+
+ret=$?
+
+echo &quot;Generating junit files ...&quot;
+
+python ../../subversion-trunk-ubuntu/subversion-trunk/tools/dev/gen_junit_report.py --log-file=./tests.log --output-dir=build/junit-reports
+
+exit $ret</command>
+    </hudson.tasks.Shell>
+  </builders>
+  <publishers>
+    <hudson.tasks.junit.JUnitResultArchiver>
+      <testResults>subversion-1.6.x/build/junit-reports/*</testResults>
+      <testDataPublishers/>
+    </hudson.tasks.junit.JUnitResultArchiver>
+    <hudson.tasks.Mailer>
+      <recipients>notificati...@subversion.apache.org</recipients>
+      <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
+      <sendToIndividuals>false</sendToIndividuals>
+    </hudson.tasks.Mailer>
+  </publishers>
+  <buildWrappers/>
+</project>
\ No newline at end of file
Index: build/hudson/README
===================================================================
--- build/hudson/README	(revision 0)
+++ build/hudson/README	(revision 0)
@@ -0,0 +1,20 @@
+INTRODUCTION
+------------
+The configuration specific to Hudson Build system is available in this
+directory. The Hudson jobs are configured to build Subversion code base
+periodically, generate the test report and report failures (if any) to
+pre-defined mailing list.
+
+The test results can be viewed in this page:
+  http://hudson.zones.apache.org/hudson/view/subversion
+
+SETUP DETAILS
+-------------
+  - The last 40 build reports are retained.
+  - The Subversion repository is polled every 30 minutes.
+  - The failure notifications are sent to
+    notificati...@subversion.apache.org mailing list.
+  - The builds corresponding to Linux are performed in a Ubuntu system.
+  - The Linux builds are tied to minerva.apache.org host.
+  - The builds corresponding to Solaris are performed in a Solaris 10 system.
+  - The Solaris builds are tied to lucene.zones.apache.org host.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to