svn commit: r13652 - trunk/tools/cruisecontrol
| Newsgroups | gmane.comp.lang.uml.argouml.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: tfmorris
Date: 2007-10-09 14:06:11-0700
New Revision: 13652
Added:
trunk/tools/cruisecontrol/
trunk/tools/cruisecontrol/build-argouml.xml
trunk/tools/cruisecontrol/config.xml
trunk/tools/cruisecontrol/emailmap.properties
Log:
First pass of CruiseControl implementation
Added: trunk/tools/cruisecontrol/build-argouml.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/tools/cruisecontrol/build-argouml.xml?view=auto&rev=13652
==============================================================================
--- (empty file)
+++ trunk/tools/cruisecontrol/build-argouml.xml 2007-10-09 14:06:11-0700
@@ -0,0 +1,36 @@
+<!-- Delegating build script, used by cruisecontrol to build ArgoUML.
+ Note that the basedir is set to the checked out project -->
+<project name="build-argouml"
+ default="build"
+ basedir="checkout/argouml">
+
+ <property name="svnant.repository.user" value="guest"/>
+ <property name="svnant.repository.passwd" value=""/>
+ <property name="svnant.latest.url" value="http://argouml.tigris.org/svn/argouml/trunk"/>
+ <property name="" value=""/>
+ <property name="" value=""/>
+
+<!--
+ <path id="svn.classpath">
+ <pathelement location="${svnjavahl.jar}" />
+ <pathelement location="${svnant.jar}" />
+ <pathelement location="${svnClientAdapter.jar}" />
+ </path>
+
+ <taskdef resource="svntask.properties" classpathref="svn.classpath"/>
+-->
+
+ <target name="build">
+ <!-- Get the latest from SVN -->
+ <exec executable="svn">
+ <arg line="update ${svnant.latest.url} --username=${svnant.repository.user}"/>
+ </exec>
+<!--
+ <svn username="${svnant.repository.user}" password="${svnant.repository.passwd}">
+ <update file="argouml" />
+ </svn>
+-->
+ <!-- Call the target that does everything -->
+ <ant dir="src_new" antfile="build.xml" target="cruisecontrol"/>
+ </target>
+</project>
Added: trunk/tools/cruisecontrol/config.xml
Url: http://argouml.tigris.org/source/browse/argouml/trunk/tools/cruisecontrol/config.xml?view=auto&rev=13652
==============================================================================
--- (empty file)
+++ trunk/tools/cruisecontrol/config.xml 2007-10-09 14:06:11-0700
@@ -0,0 +1,50 @@
+<cruisecontrol>
+ <project name="argouml" buildafterfailed="true">
+ <listeners>
+ <currentbuildstatuslistener file="logs/argouml/status.txt" />
+ </listeners>
+
+ <!-- Bootstrappers are run every time the build runs,
+ *before* the modification checks -->
+ <bootstrappers></bootstrappers>
+
+ <!-- Defines where cruise looks for changes, to decide
+ whether to run the build -->
+ <modificationset quietperiod="300">
+ <svn
+ RepositoryLocation="http://argouml.tigris.org/svn/argouml/trunk argouml"
+ username="guest" />
+ </modificationset>
+
+ <!-- Configures the actual build loop, how often and which
+ build file/target ** values in seconds ** Increase! -->
+ <schedule interval="3600">
+ <ant anthome="checkout/argouml/tools/apache-ant-1.7.0"
+ buildfile="build-argouml.xml" target="build" uselogger="true"
+ usedebug="false" />
+ </schedule>
+
+ <!-- directory to write build logs to -->
+ <log logdir="logs/argouml">
+ <merge dir="checkout/argouml/build/tests/reports/junit/output/" />
+ <merge dir="checkout/argouml/build/tests/reports/checkstyle/" />
+ </log>
+
+ <!-- Publishers are run *after* a build completes -->
+ <publishers>
+
+ <!-- TODO: Not operational yet. Needs valid Host and URL -->
+ <email mailhost="SMTP_HOST"
+ returnaddress="[email protected]"
+ buildresultsurl="http://localhost/cc/buildresults/argouml"
+ skipusers="false"
+ spamwhilebroken="true">
+
+ <always address="[email protected]" />
+ <failure address="[email protected]" />
+ <propertiesmapper file="emailmap.properties" />
+ </email>
+
+ </publishers>
+ </project>
+</cruisecontrol>
Added: trunk/tools/cruisecontrol/emailmap.properties
Url: http://argouml.tigris.org/source/browse/argouml/trunk/tools/cruisecontrol/emailmap.properties?view=auto&rev=13652
==============================================================================
--- (empty file)
+++ trunk/tools/cruisecontrol/emailmap.properties 2007-10-09 14:06:11-0700
@@ -0,0 +1,4 @@
[email protected]
[email protected]
[email protected]
[email protected]