2. Continuous Integration
The purpose of this presentation is to provide a step by
step on how to build a continuous integration
environment for a Rails project under Ubuntu.
Here are the steps I followed, I will provide more details
in the next slides:
• Install Hudson
• Configure Hudson
• Run your integartion
2
3. Hudson Installation
• sudo sh -c "echo
'deb http://hudsonci.org/debian binary/' >
/etc/apt/sources.list.d/hudson.list“
• sudo apt-get update
• sudo apt-get install hudson
After this installation you should be able to
access Hudson web console from this url:
http://localhost:8080
3
4. Hudson Configration
• Select "New Job"
• Check option "Build a free-style software project"
and enter a name.
• Under "Source Code Management", select "SVN“
Enter:
• Repository URL: http://blah/project/trunk Local
module directory (optional): trunk
4
6. Build your application
You can configure your build to be running after each
5 min for example:
Under "Build Triggers", select "Poll SCM“
Enter:
# Poll every 5 minutes */5 * * * *
Click "Build Now" to test the configuration!!
6