<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" ><channel><title>Claus Witt &#187; ci</title> <atom:link href="http://www.clauswitt.com/tag/ci/feed/" rel="self" type="application/rss+xml" /><link>http://www.clauswitt.com</link> <description>software and web developer</description> <lastBuildDate>Thu, 24 Jun 2010 20:07:03 +0000</lastBuildDate> <generator>http://wordpress.org/?v=2.9.2</generator> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Xinc and Phing Configuration Files</title><link>http://www.clauswitt.com/xinc-and-phing-configuration-files/</link> <comments>http://www.clauswitt.com/xinc-and-phing-configuration-files/#comments</comments> <pubDate>Tue, 03 Mar 2009 15:00:30 +0000</pubDate> <dc:creator>Claus Witt</dc:creator> <category><![CDATA[Development]]></category> <category><![CDATA[Web development]]></category> <category><![CDATA[ci]]></category> <category><![CDATA[phing]]></category> <category><![CDATA[xinc]]></category><guid isPermaLink="false">http://www.clauswitt.com/?p=121</guid> <description><![CDATA[I have previously blogged about Xinc. I have decided to show how simple my setup really is. The Xinc configuration is a simple xml file containing few commands. [...]]]></description> <content:encoded><![CDATA[<p>I have <a href="http://www.clauswitt.com/2009/02/23/continuous-integration-with-xinc/">previously blogged about Xinc</a>. I have decided to show how simple my setup really is. The Xinc configuration is a simple xml file containing few commands.</p><pre name="code" class="xml">
<?xml version="1.0"?>
<xinc engine="Sunrise">
<project name="System" interval="10">
        <schedule interval="20"/>
    <modificationset>
        <svn directory="/var/xinc/projects/System/" update="true" />
    </modificationset>
    <builders>
<phingbuilder buildfile="/var/xinc/projects/System/build.xml" />
    </builders>
<publishers>
    <onrecovery>
            <email to="<MY EMAIL>" subject="Build Successfully recoverd for ${project.name}" message="The build with label ${build.label} was recovered from previous failures"/>
    </onrecovery>
    <onfailure>
            <email to="<MY EMAIL>" subject="Build Failed for ${project.name}" message="The build with label ${build.label} failed"/>
    </onfailure>
    <onsuccess>
         <documentation file="/var/xinc/projects/System/apidocs/" alias="PHPDoc" index="/var/xinc/projects/System/apidocs/index.html" />
     </onsuccess>
    </publishers>
    </project>
</xinc>
</pre><p>It does nothing more than check if there is a newer revision of the Subversion repository, if there is, it checks it out, and runs the Phing buildscript, and reports if there are errors with a mail. (In the beginning it sent mails upon success as well &#8211; I got very tired of all the &#8220;nothing is wrong&#8221; emails so I decided it was ok to just notify me if something went wrong with a build.</p><p>The phing buildfile described in my previous post is almost just as simple.</p><pre name="code" class="xml">
<?xml version="1.0"?>
<project name="Ambpmservices Build File" basedir="/var/xinc/projects/System" default="build">
    <target name="build" depends="update, test">
    </target>
    <target name="update">
        <exec command="svn update"/>
    </target>
    <target name="test"  depends="codesnif">
<phpunit haltonfailure="true" printsummary="true">
            <batchtest>
                <fileset dir=".">
                     <include name="*Test.php"/>
                </fileset>
            </batchtest>
        </phpunit>
    </target>
        <target name="codesnif" depends="document">
<phpcodesniffer standard="PEAR" format="summary" file="/var/xinc/projects/System/" allowedFileExtensions="php php5 inc" />
        </target>
        <target name="document">
<phpdoc title="System API Documentation"
                  destdir="apidocs"
                  sourcecode="no"
                  output="HTML:Smarty:PHP">
                   <fileset dir=".">
                      <include name="**/*.php" />
                   </fileset>
<projdocfileset dir=".">
                   </projdocfileset>
                </phpdoc>
        </target>
</project>
</pre><p>I described the actions of this file in <a href="http://www.clauswitt.com/2009/02/23/continuous-integration-with-xinc/">the previous post</a>.</p> ]]></content:encoded> <wfw:commentRss>http://www.clauswitt.com/xinc-and-phing-configuration-files/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Continuous Integration with Xinc</title><link>http://www.clauswitt.com/continuous-integration-with-xinc/</link> <comments>http://www.clauswitt.com/continuous-integration-with-xinc/#comments</comments> <pubDate>Mon, 23 Feb 2009 06:30:57 +0000</pubDate> <dc:creator>Claus Witt</dc:creator> <category><![CDATA[Development]]></category> <category><![CDATA[Web development]]></category> <category><![CDATA[ci]]></category> <category><![CDATA[phing]]></category> <category><![CDATA[php]]></category> <category><![CDATA[xinc]]></category><guid isPermaLink="false">http://www.clauswitt.com/?p=54</guid> <description><![CDATA[At my company Arnsbo Media, responsible for one of the largest archive of voiceover talents in the world, we use Xinc for Continuous Integration. Every five minutes the CI server checks if there has been updates to the trunk of each of our software projects. If this is the case it runs the phing buildscript [...]]]></description> <content:encoded><![CDATA[<p>At my company Arnsbo Media, responsible for one of <a title="The Internet Voice Talent Agency" href="http://www.voicearchive.com/" target="_blank">the largest archive of voiceover talents</a> in the world, we use <a title="Xinc Continous Integration" href="http://code.google.com/p/xinc/" target="_blank">Xinc</a> for Continuous Integration. Every five minutes the CI server checks if there has been updates to the trunk of each of our software projects. If this is the case it runs the <a title="Phing" href="http://phing.info/trac/" target="_blank">phing buildscript</a> which is responsible for updating the svn checkout, checking the source with a codesniffer, creating documentation and running all tests. If all is ok, Xinc is happy, and the latest version of the given software is ready as a zip file, documentation is ready for browsing. If anything fails a mail will be sent to notify everyone involved in the project.</p> ]]></content:encoded> <wfw:commentRss>http://www.clauswitt.com/continuous-integration-with-xinc/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached (user agent is rejected)
Database Caching using memcached

Served from: www.clauswitt.com @ 2010-07-30 04:31:23 -->