<?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>2Paths &#187; hudson</title>
	<atom:link href="http://www.2paths.com/tag/hudson/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.2paths.com</link>
	<description>Custom Software Technical Architecture, Design and Development in Vancouver, BC, Canada</description>
	<lastBuildDate>Mon, 27 Sep 2010 01:15:46 +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>Building GRAILS app on Debian using Maven GRAILS Plugin</title>
		<link>http://www.2paths.com/2008/12/23/building-grails-app-on-debian-using-maven-grails-plugin/</link>
		<comments>http://www.2paths.com/2008/12/23/building-grails-app-on-debian-using-maven-grails-plugin/#comments</comments>
		<pubDate>Tue, 23 Dec 2008 23:07:54 +0000</pubDate>
		<dc:creator>Lorill</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Under the hood]]></category>
		<category><![CDATA[Utilities]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[Grails]]></category>
		<category><![CDATA[Grails ended with a non null return code]]></category>
		<category><![CDATA[grails maven plugin]]></category>
		<category><![CDATA[hudson]]></category>

		<guid isPermaLink="false">http://www.2paths.com/?p=432</guid>
		<description><![CDATA[We&#8217;re now using GRAILS in one of our Maven-ized projects, and have it building using the Maven GRAILS plugin. We needed to roll this integration out to Husdon, our CI server which is running on a Debian box. We ran into a couple of snags.  
We had downloaded and installed the debian package grails_1.0.4-1_all.deb [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re now using GRAILS in one of our Maven-ized projects, and have it building using the <a href="http://forge.octo.com/maven/sites/mtg/grails-maven-plugin/">Maven GRAILS plugin</a>. We needed to roll this integration out to Husdon, our CI server which is running on a Debian box. We ran into a couple of snags.  </p>
<p>We had downloaded and installed the debian package <code>grails_1.0.4-1_all.deb</code> from the <a href="http://grails.org/Download">GRAILS site</a>, configured the GRAILS_HOME environment variable for our build target, and attempted to  build it. We got this error:<br />
<code>Grails ended with a non null return code: 127</code><br />
After some digging, it turns out that the debian package installs GRAILS but puts the actual executable in /usr/bin instead of just a symlink from the GRAILS_HOME.  The Maven GRAILS plugin appears to be calling grails using the GRAILS_HOME path. Making a symlink to the grails executable in the bin dir of the GRAILS_HOME fixed this problem (although the symlink really more correctly belongs in the /usr/bin dir).</p>
<p>Trying to build again we came across a different problem, where the GRAILS version was showing up as null, causing build errors. After some googling I found <a href="http://code.google.com/p/ant-deb-task/issues/detail?id=19#c1">this useful post</a>, and re-installed GRAILS with the updated <a href="http://code.google.com/p/ant-deb-task/downloads/detail?name=grails_1.0.4-2_all.deb&amp;can=2&amp;q=">grails_1.0.4-2_all.deb</a> package, repeating the steps for the GRAILS executable.  Now we&#8217;re all up and running in Hudson!  I hope this might alleviate some pain for anyone trying to troubleshoot this problem.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.2paths.com/2008/12/23/building-grails-app-on-debian-using-maven-grails-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hudson &#8211; too easy</title>
		<link>http://www.2paths.com/2008/08/02/hudson-too-easy/</link>
		<comments>http://www.2paths.com/2008/08/02/hudson-too-easy/#comments</comments>
		<pubDate>Sat, 02 Aug 2008 20:28:13 +0000</pubDate>
		<dc:creator>Geoff</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Under the hood]]></category>
		<category><![CDATA[continuous integration]]></category>
		<category><![CDATA[hudson]]></category>

		<guid isPermaLink="false">http://blog.2paths.com/hudson-too-easy.html</guid>
		<description><![CDATA[Continuous integration is a lovely thing. Automated testing is also lovely as you can see where things work or not almost instantly in different environments and scenarios.
Over the years I have used a few CI servers and tools &#8211; most notably, CruiseControl (Java and .NET) and Continuum (from the Maven crew). These systems, whilst useful, [...]]]></description>
			<content:encoded><![CDATA[<p>Continuous integration is a lovely thing. Automated testing is also lovely as you can see where things work or not almost instantly in different environments and scenarios.</p>
<p>Over the years I have used a few CI servers and tools &#8211; most notably, CruiseControl (Java and .NET) and Continuum (from the Maven crew). These systems, whilst useful, cam e with a few annoyances, most notably their slight fiddliness in getting up and running. Whislt they worked, it seemed that there were always tweaks required here and there to get things running smoothly and when things went wrong they we not that easy to correct.</p>
<p>After chatting with a few friends, I thought I would give <a href="https://hudson.dev.java.net/">Hudson</a> a try as it seems like a new contender for CI server of the month. Spurned on by glowing feedback from said friends I though I would see how easy it would be to try and aggregate our disparate CI servers (For Java and .NET) into a single hudson installation &#8211; something advertised to be easy on the tin.</p>
<p>Here are the steps I followed:<br />
- download WAR, runit<br />
- config master/slave<br />
- config maven app<br />
- config .NET app<br />
- force some builds<br />
- too easy</p>
<p>A simple distributed build system that works cross platform sounded too good to be true, however it seems that hudson is well on the way to being just that. I couldn&#8217;t believe how easy it was to get a distributed build/CI system up and running and building/testing our Java and .NET apps with all reports and config managed centrally. I especially like the simple reports on build trends and the weather paradigm used for displaying build stability.</p>
<p>After this simple proof of concept, we moved the setup to a cluster of VMWare instances (Linux and windows) so we can now build multi-platform apps and manage things centrally for all projects. This is now our main CI platform and seems to be working well.</p>
<p>Hurray for progress!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.2paths.com/2008/08/02/hudson-too-easy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

