<?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>Touchdown Consulting Services &#187; continuous integration</title>
	<atom:link href="http://www.touchdownconsulting.nl/tag/continuous-integration/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.touchdownconsulting.nl</link>
	<description>application, e-commerce and website development</description>
	<lastBuildDate>Wed, 17 Aug 2011 10:39:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Building and deploying Java WebSphere applications with Jenkins CI</title>
		<link>http://www.touchdownconsulting.nl/2011/03/building-and-deploying-websphere-applications-with-jenkins-ci/</link>
		<comments>http://www.touchdownconsulting.nl/2011/03/building-and-deploying-websphere-applications-with-jenkins-ci/#comments</comments>
		<pubDate>Wed, 16 Mar 2011 15:00:23 +0000</pubDate>
		<dc:creator>Michiel Rook</dc:creator>
				<category><![CDATA[Jenkins]]></category>
		<category><![CDATA[Main]]></category>
		<category><![CDATA[continuous integration]]></category>
		<category><![CDATA[j2ee]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[jenkins]]></category>
		<category><![CDATA[websphere]]></category>

		<guid isPermaLink="false">http://www.touchdownconsulting.nl/?p=78</guid>
		<description><![CDATA[Jenkins CI (the new name of Hudson) is a very popular continuous integration system. It can be used to monitor the execution of various jobs, including but not limited to compilation, packaging, testing and deploying of software. Also, it is very easy to configure and comes with a great set of (3rd party) plugins. I [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.touchdownconsulting.nl%2F2011%2F03%2Fbuilding-and-deploying-websphere-applications-with-jenkins-ci%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.touchdownconsulting.nl%2F2011%2F03%2Fbuilding-and-deploying-websphere-applications-with-jenkins-ci%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><a title="Jenkins CI" href="http://jenkins-ci.org/" target="_blank">Jenkins CI</a> (the new name of Hudson) is a very popular continuous integration system. It can be used to monitor the execution of various jobs, including but not limited to compilation, packaging, testing and deploying of software. Also, it is very easy to configure and comes with a great set of (3rd party) plugins.<br />
I use Jenkins in a number of ways: to monitor and prepare &amp; test new releases of <a title="Phing" href="http://www.phing.info/" target="_blank">Phing</a>, monitor various internal processes (such as backup logs), and build and deploy various other projects that I work on.</p>
<p>In this post I will expand on some of the techniques discussed in an earlier <a title="Enhance continuous integration using Rational Application Developer and the Hudson build server" href="http://www.ibm.com/developerworks/rational/library/10/enhancecontinuousintegrationwiththerationalapplicationdeveloperbuildutility/" target="_blank">IBM developerWorks article</a>, to (automatically) build and deploy Java J2EE applications to a WebSphere server. The code fragments listed below are contained in a downloadable archive that you&#8217;ll be able to download at the end of this post.</p>
<h3>Requirements</h3>
<p>To get started, you&#8217;ll need to have installed:</p>
<ul>
<li>Jenkins CI with the following plugins (can be installed via &#8220;Manage Jenkins&#8221; -> &#8220;Manage Plugins&#8221;):
<ul>
<li>Copy Artifact</li>
<li>Blame Subversion</li>
<li>Parameterized Trigger</li>
<li>RAD Builder</li>
</ul>
</li>
<li><a title="Ant Contrib" href="http://ant-contrib.sourceforge.net/" target="_blank">Ant Contrib</a></li>
<li>IBM Rational Application Developer</li>
<li>A test/staging installation of the WebSphere Application Server</li>
</ul>
<p>This post assumes you have some knowledge of Ant, and are able to install Jenkins and IBM RAD.</p>
<h3>Job configuration</h3>
<p>For this particular case we will configure two Jenkins CI jobs: one job will build number of artifacts (in this case, .ear files) from source code contained in a version control repository, and another job will deploy the generated artifacts to a WebSphere server. This deployment job will be triggered when the build job completes (successfully).</p>
<div id="attachment_91" class="wp-caption alignnone" style="width: 650px"><a href="http://www.touchdownconsulting.nl/wp-content/uploads/2011/03/Dashboard-Jenkins_1299666081192.png" rel="lightbox[78]"><img class="size-large wp-image-91" title="Jenkins CI Dashboard" src="http://www.touchdownconsulting.nl/wp-content/uploads/2011/03/Dashboard-Jenkins_1299666081192-640x380.png" alt="Jenkins CI Dashboard" width="640" height="380" /></a><p class="wp-caption-text">Jenkins CI Dashboard</p></div>
<h3>Build job</h3>
<p>Create a new &#8220;free-style&#8221; job, and configure it as you normally would. Make sure you check out the source code to the <em>src</em> directory, within the job workspace.</p>
<div id="attachment_131" class="wp-caption alignnone" style="width: 650px"><a href="http://www.touchdownconsulting.nl/wp-content/uploads/2011/03/Example-Websphere-Build-part0.png" rel="lightbox[78]"><img class="size-large wp-image-131" title="Build Job - SVN config" src="http://www.touchdownconsulting.nl/wp-content/uploads/2011/03/Example-Websphere-Build-part0-640x154.png" alt="Build Job - SVN config" width="640" height="154" /></a><p class="wp-caption-text">Build Job - SVN config</p></div>
<p>Then, click &#8220;Add build step&#8221;, and select the IBM RAD plugin. The field &#8220;build file&#8221; should contain the path to the build file we will use (<em>Builder\build.xml</em> in the archive). The field &#8220;RAD workspace&#8221; points to a directory (within the job&#8217;s workspace) where a RAD workspace will be created, in this case (see the build file below) we use the path &#8220;rad-workspace&#8221;. The other settings can be left at their default values.</p>
<div id="attachment_132" class="wp-caption alignnone" style="width: 650px"><a href="http://www.touchdownconsulting.nl/wp-content/uploads/2011/03/Example-Websphere-Build-part1.png" rel="lightbox[78]"><img class="size-large wp-image-132" title="Build Job - RAD builder" src="http://www.touchdownconsulting.nl/wp-content/uploads/2011/03/Example-Websphere-Build-part1-640x223.png" alt="Build Job - RAD builder" width="640" height="223" /></a><p class="wp-caption-text">Build Job - RAD builder</p></div>
<h3>Build file</h3>
<p>The Jenkis RAD builder plugins creates a fresh workspace, similar to the workspace that is used inside RAD (or Eclipse). To prepare this workspace with the right configuration settings, we use the task <a href="http://publib.boulder.ibm.com/infocenter/radhelp/v7r5/topic/com.ibm.etools.ant.tasks.doc/topics/tantworkspacepreferencefile.html" target="_blank">workspacePreferenceFile</a>. The input for this task is a simple preferences file, either text format (key=value pairs, see sample), or the Eclipse .epf format.</p>
<pre>
<pre class="brush: plain; title: ; notranslate">
compiler.compliance=1.5
compiler.source=1.5
classpath.SOMELIBRARY=D:\Development\somelibrary.jar
</pre>
</pre>
<p>The task <em>workspacePreferenceFile</em> is then called in the <em>setup-workspace</em> target.</p>
<pre>
<pre class="brush: xml; title: ; notranslate">
&lt;target name=&quot;setup-workspace&quot;
	description=&quot;Sets the preferences for the current workspace&quot;&gt;

	&lt;!-- Debug information --&gt;
	&lt;echo level=&quot;verbose&quot; message=&quot;rad.preferences.filename=${rad.preferences.filename}&quot;/&gt;

	&lt;!-- Set the workspace preferences --&gt;
	&lt;workspacePreferenceFile
		PreferenceFileName=&quot;${rad.preferences.filename}&quot;
		useEclipsePrefs=&quot;false&quot;
		overwrite=&quot;true&quot;/&gt;
	&lt;echo level=&quot;verbose&quot; message=&quot;workspacePreferenceFile done&quot;/&gt;
&lt;/target&gt;
</pre>
</pre>
<p>Next, the code that has previously been checked out by Jenkins will need to be copied to this new workspace. The properties <em>copy.from.path</em> and <em>copy.excludes</em> (optional, comma-separated list of excluded patterns) are set in the IBM RAD builder configuration (build job).</p>
<pre>
<pre class="brush: xml; title: ; notranslate">
&lt;target name=&quot;copy-projects&quot;
description=&quot;Copies the content of a folder to the current workspace&quot;&gt;

	&lt;!-- Debug information --&gt;
	&lt;echo level=&quot;verbose&quot; message=&quot;copy.from.path=${copy.from.path}&quot;/&gt;
	&lt;echo level=&quot;verbose&quot; message=&quot;workspace=${workspace}&quot;/&gt;

	&lt;copy
		todir=&quot;${workspace}&quot;
		includeEmptyDirs=&quot;true&quot;&gt;
		&lt;fileset dir=&quot;${copy.from.path}&quot; excludes=&quot;${copy.excludes}&quot;&gt;
			&lt;include name=&quot;**/**&quot;/&gt;
		&lt;/fileset&gt;
	&lt;/copy&gt;
	&lt;echo level=&quot;verbose&quot; message=&quot;copy done&quot;/&gt;
&lt;/target&gt;
</pre>
</pre>
<p>Now that the workspace is configured and contains the projects we&#8217;d like to build, it&#8217;s time to make RAD aware of the contents by actively importing each project &#8211; this is done by calling the <a href="http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.etools.j2eeapp.doc/topics/tantprojectimport.html" target="_blank">projectImport</a> task. The list of projects is generated by scanning the workspace for directories that contain a <em>.project</em> file.</p>
<pre>
<pre class="brush: xml; title: ; notranslate">
&lt;target name=&quot;import-projects&quot;
	description=&quot;Imports a set of projects into the current workspace&quot;&gt;

	&lt;!-- Retrieve list of projects (folders containing a .project file) --&gt;
	&lt;dirset id=&quot;projects.list&quot; dir=&quot;${workspace}&quot;&gt;
		&lt;include name=&quot;*&quot;/&gt;
		&lt;present targetdir=&quot;${workspace}&quot;&gt;
			&lt;mapper type=&quot;glob&quot; from=&quot;*&quot; to=&quot;*/.project&quot; /&gt;
		&lt;/present&gt;
	&lt;/dirset&gt;
	&lt;pathconvert property=&quot;projects.name&quot; refid=&quot;projects.list&quot; pathsep=&quot;,&quot;&gt;
		&lt;map from=&quot;${workspace}&quot; to=&quot;&quot;/&gt;
	&lt;/pathconvert&gt;

	&lt;!-- Debug information --&gt;
	&lt;echo level=&quot;verbose&quot; message=&quot;projects.name=${projects.name}&quot;/&gt;

	&lt;!-- Import the projects --&gt;
	&lt;foreach
		list=&quot;${projects.name}&quot;
		target=&quot;import-project&quot;
		param=&quot;project.name&quot;/&gt;
&lt;/target&gt;

&lt;target name=&quot;import-project&quot;&gt;
	&lt;!-- Debug information --&gt;
	&lt;echo level=&quot;verbose&quot; message=&quot;project.name=${project.name}&quot;/&gt;
	&lt;echo level=&quot;verbose&quot; message=&quot;workspace=${workspace}&quot;/&gt;

	&lt;projectImport
		projectName=&quot;${project.name}&quot;
		projectLocation=&quot;${workspace}/${project.name}&quot;/&gt;
	&lt;echo level=&quot;verbose&quot; message=&quot;projectImport ${project.name} done&quot;/&gt;
&lt;/target&gt;
</pre>
</pre>
<p>The most important part of the build file is the target <em>build-workspace</em>, which calls the task <a href="http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.etools.j2eeapp.doc/topics/tantworkspacebuild.html" target="_blank">workspaceBuild</a> to perform a full build. By default, this task will fail the build if any (compiler) errors are encountered &#8211; this is what we want.</p>
<pre>
<pre class="brush: xml; title: ; notranslate">
&lt;target name=&quot;build-workspace&quot;
	depends=&quot;setup-workspace,copy-projects,import-projects&quot;
	description=&quot;Builds the current workspace&quot;&gt;

	&lt;!-- Fully build the workspace --&gt;
	&lt;workspaceBuild
		BuildType=&quot;Full&quot;/&gt;
	&lt;echo level=&quot;verbose&quot; message=&quot;workspaceBuild done&quot;/&gt;
&lt;/target&gt;
</pre>
</pre>
<p>Hopefully, there are no errors, and we are in a situation where all the projects have been built successfully. Time to generate some artifacts!<br />
The target <em>export-ear</em> first updates the (generated) manifest file with a few Jenkins parameters, such as build number, SVN revision, job name, and the current date. This data is a useful (extra) aid to identify the version / origin of deployed code (please note that you can also use the fingerprinting functionality for this, see below).</p>
<p>We then call the <a href="http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.etools.j2eeapp.doc/topics/tanteare.html" target="_blank">earExport</a> task to create a .ear file, identical to choosing &#8220;Export&#8221; -> &#8220;EAR file&#8221; within RAD.</p>
<pre>
<pre class="brush: xml; title: ; notranslate">
&lt;target name=&quot;export-ear&quot;
	description=&quot;Exports the EAR defined by the ear.project.name/ear.filename properties&quot;&gt;

	&lt;property name=&quot;ear.filename&quot; value=&quot;${workspace}${ear.project.name}-${env.BUILD_NUMBER}-${env.BUILD_ID}.ear&quot;/&gt;

	&lt;!-- Update the manifest with Jenkins build info --&gt;
	&lt;echo&gt;Updating manifest&lt;/echo&gt;
	&lt;tstamp&gt;
		&lt;format property=&quot;TODAY&quot; pattern=&quot;yyyy-MM-dd HH:mm:ss&quot;/&gt;
	&lt;/tstamp&gt;
	&lt;manifest
		file=&quot;${workspace}${ear.project.name}/META-INF/MANIFEST.MF&quot;
		mode=&quot;update&quot;&gt;
		&lt;attribute name=&quot;Built-By&quot; value=&quot;Jenkins CI&quot;/&gt;
		&lt;attribute name=&quot;Implementation-Version&quot; value=&quot;#${env.BUILD_NUMBER} - r${env.SVN_REVISION} - ${env.BUILD_ID}&quot;/&gt;
		&lt;attribute name=&quot;Implementation-Title&quot; value=&quot;${env.JOB_NAME}&quot;/&gt;
		&lt;attribute name=&quot;Built-Date&quot; value=&quot;${TODAY}&quot;/&gt;
	&lt;/manifest&gt;

	&lt;!-- Debug information --&gt;
	&lt;echo level=&quot;verbose&quot; message=&quot;ear.filename=${ear.filename}&quot;/&gt;
	&lt;echo level=&quot;verbose&quot; message=&quot;ear.project.name=${ear.project.name}&quot;/&gt;

	&lt;!-- Export the EAR project as an EAR file --&gt;
	&lt;earExport
		EARProjectName=&quot;${ear.project.name}&quot;
		EARExportFile=&quot;${ear.filename}&quot;
		ExportSource=&quot;false&quot;
		IncludeProjectMetaFiles=&quot;false&quot;
		Overwrite=&quot;true&quot;/&gt;
	&lt;echo level=&quot;verbose&quot; message=&quot;earExport ${ear.filename} done&quot;/&gt;
&lt;/target&gt;
</pre>
</pre>
<p>When the RAD builder finishes succesfully, the build part of the job is completed and a number of artifacts (.ear files) will have been generated.</p>
<div id="attachment_125" class="wp-caption alignnone" style="width: 650px"><a href="http://www.touchdownconsulting.nl/wp-content/uploads/2011/03/Example-Websphere-Build-part2.png" rel="lightbox[78]"><img class="size-large wp-image-125" title="Build job - post-build actions" src="http://www.touchdownconsulting.nl/wp-content/uploads/2011/03/Example-Websphere-Build-part2-640x283.png" alt="Build job - post-build actions" width="640" height="283" /></a><p class="wp-caption-text">Build job - post-build actions</p></div>
<p>In the post-build actions we make sure the generated artifacts are scooped up and archived. This makes sure that artifacts are kept even if the original build was (re)moved. Additionally, we enable the recording of fingerprints on each artifact. In essence, this will calculate and store a hash value (MD5 or similar) based on the contents of each file. Should we need to identify a particular artifact at some point in the future, we can simply upload that file to Jenkins, let it calculate a hash value, and match that hash value against its internal fingerprint database. If there&#8217;s a match, Jenkins will tell us the job name, build number, date, and any other useful information.</p>
<p>Finally, we call the deploy job using the parameterized trigger plugin. In this case, we do not override any of the default parameters (see below). Should you want to, click &#8220;Add parameter&#8221;, then &#8220;Predefined parameters&#8221;. Enter the parameters (key=value pairs) in the text area.</p>
<p><strong>Deploy job</strong></p>
<p>As stated before, the deployment job copies generated artifacts from the build job, and installs the artifacts on a (test/staging) WebSphere server. To achieve this, the job calls the <a href="http://publib.boulder.ibm.com/infocenter/wbihelp/v6rxmx/index.jsp?topic=%2Fcom.ibm.wasee.doc%2Finfo%2Fee%2Fjavadoc%2Fee%2Fcom%2Fibm%2Fwebsphere%2Fant%2Ftasks%2FWsAdmin.html" target="_blank">wsadmin</a> tool and executes a single JACL script.</p>
<p>An important part of this job are the predefined parameters, telling the JACL script which SOAP connection to use, and which node / cell / server name / virtual host to install the application to. In this case, each of these parameters has a default value &#8211; pointing to a default (local) testing server.</p>
<div id="attachment_128" class="wp-caption alignnone" style="width: 650px"><a href="http://www.touchdownconsulting.nl/wp-content/uploads/2011/03/Example-Websphere-Deploy-Config-part1.png" rel="lightbox[78]"><img class="size-large wp-image-128" title="Deploy Job - Build parameters" src="http://www.touchdownconsulting.nl/wp-content/uploads/2011/03/Example-Websphere-Deploy-Config-part1-640x1203.png" alt="Deploy Job - Build parameters" width="640" height="1203" /></a><p class="wp-caption-text">Deploy Job - Build parameters</p></div>
<p>The build phase of the job consists of three separate build steps:</p>
<ul>
<li>Remove any artifacts that were left by previous builds</li>
<li>Copy the artifacts generated by the last successful run of the build job</li>
<li>Execute <a href="http://publib.boulder.ibm.com/infocenter/wsdoc400/v6r0/index.jsp?topic=/com.ibm.websphere.iseries.doc/info/ae/ae/rovr_antcmd.html" target="_blank">ws_ant</a> (Ant with WebSphere functionality/classes preloaded), which in turn uses <em>wsadmin</em> to run a <a href="http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.base.doc/info/aes/ae/cxml_jacl.html" target="_blank">JACL</a> script.</li>
</ul>
<div id="attachment_127" class="wp-caption alignnone" style="width: 650px"><a href="http://www.touchdownconsulting.nl/wp-content/uploads/2011/03/Example-Websphere-Deploy-Config-part2.png" rel="lightbox[78]"><img class="size-large wp-image-127" title="Deploy Job - Build steps" src="http://www.touchdownconsulting.nl/wp-content/uploads/2011/03/Example-Websphere-Deploy-Config-part2-640x567.png" alt="Deploy Job - Build steps" width="640" height="567" /></a><p class="wp-caption-text">Deploy Job - Build steps</p></div>
<p>The JACL script has two modes of operation. First, it stops and uninstalls the previous version of the application we are trying to install. Errors that occur during this first part are ignored.</p>
<pre class="brush: plain; title: ; notranslate">
set appManager [$AdminControl queryNames cell=$cell,node=$node,type=ApplicationManager,process=$server,*]

catch { $AdminControl invoke $appManager stopApplication $appname } result

$AdminConfig save

$AdminApp uninstall $appname

$AdminConfig save
</pre>
<p>In the second part of the script, the application is installed on the specified node/cell/server/virtual host. Then, after giving the application server some time to process the installed artifact, the script starts the application. If this completes without errors the application is ready to use!</p>
<pre>
<pre class="brush: plain; title: ; notranslate">
$AdminApp install &quot;$workspace/$earfile&quot; &quot;-node $node -cell $cell -server $server -verbose -defaultbinding.virtual.host $vhost -usedefaultbindings&quot;

$AdminConfig save

set ready false
set retries 0

while {$retries &lt; 20} {
	incr retries
	set ready [$AdminApp isAppReady $appname]
	puts &quot;AdminApp isAppReady: $ready ($retries)&quot;

	if {$ready} { break }

	sleepDelay 5
}

set appManager [$AdminControl queryNames node=$node,cell=$cell,type=ApplicationManager,process=$server,*]

$AdminControl invoke $appManager startApplication $appname

$AdminConfig save
</pre>
</pre>
<h3>Conclusion / thoughts</h3>
<p>In this post you&#8217;ve seen how to use Jenkins CI to build (through IBM RAD) and deploy (through IBM wsadmin) a J2EE application to a WebSphere server. I hope these exampless can serve as a starting point for your forays into the exciting world of Jenkins CI.</p>
<p>Comments and suggestions are very welcome!</p>
<h3>Downloads</h3>
<ul>
<li><a href='http://www.touchdownconsulting.nl/wp-content/uploads/2011/03/WebSphere.zip'>WebSphere Demo Files</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.touchdownconsulting.nl/2011/03/building-and-deploying-websphere-applications-with-jenkins-ci/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting up continuous integration for PHP using Hudson and Phing</title>
		<link>http://www.touchdownconsulting.nl/2009/11/setting-up-continuous-integration-for-php-using-hudson-and-phing-davegardner/</link>
		<comments>http://www.touchdownconsulting.nl/2009/11/setting-up-continuous-integration-for-php-using-hudson-and-phing-davegardner/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 20:32:17 +0000</pubDate>
		<dc:creator>Michiel Rook</dc:creator>
				<category><![CDATA[Phing]]></category>
		<category><![CDATA[continuous integration]]></category>
		<category><![CDATA[dave gardner]]></category>
		<category><![CDATA[hudson]]></category>

		<guid isPermaLink="false">http://www.touchdownconsulting.nl/?p=11</guid>
		<description><![CDATA[&#8220;CI gets the most out of Unit Tests by forcing them to be run after every change. Not only that, but with a good CI setup, developers instantly know if they haven’t written enough tests. If avoids the situtation where Joe Bloggs has added in a huge chunk of code with zero tests.&#8221; READ MORE]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.touchdownconsulting.nl%2F2009%2F11%2Fsetting-up-continuous-integration-for-php-using-hudson-and-phing-davegardner%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.touchdownconsulting.nl%2F2009%2F11%2Fsetting-up-continuous-integration-for-php-using-hudson-and-phing-davegardner%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>&#8220;CI gets the most out of Unit Tests by <strong>forcing them to be run after every change</strong>. Not only that, but with a good CI setup, developers instantly know if they haven’t written enough tests. If avoids the situtation where Joe Bloggs has added in a huge chunk of code with zero tests.&#8221;</p>
<p><a href="http://www.davegardner.me.uk/blog/2009/11/09/continuous-integration-for-php-using-hudson-and-phing/" target="_blank">READ MORE</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.touchdownconsulting.nl/2009/11/setting-up-continuous-integration-for-php-using-hudson-and-phing-davegardner/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

