Jenkins continuous integration server

From Arianne
Revision as of 17:34, 10 September 2009 by imported>Madmetzger (JDK)
Jump to navigation Jump to search



Hudson is an extensible continuous integration server. At the moment it is tested.

Installation

To install and run Hudson you just need to download the hudson.war from the hudson web site and have java ready. To start the server you need a small start script that issues the following command:

java -jar hudson.war

Once the hudson is started, you can reach the user interface via your favourite browser if you open the following URL (assuming you have hudson on the same machine as your browser):

http://localhost:8080

If you see the hudson interface loading, you have successfully installed hudson.

Configuration for Stendhal

To let hudson build stendhal you have to match the following prerequesites:

  • ANT installed on the same system
  • JDK1.5 installed (already matched if you were successfully running hudson, as it needs java to run)
  • CVS-Client installed

Source Code Management System

Just select CVS and configure the following parameters:

  • CVS-Root
  • :pserver:anonymous@arianne.cvs.sourceforge.net:/cvsroot/arianne
  • Module
  • stendhal
  • Branch
  • leave this empty if you want to build HEAD.
  • or choose a branch name to build

Build Trigger

Here you configure, when a build is started. Our current way of triggering builds is triggered from CVS at a certain time. This means not, the CVS tells hudson to start a build, but it tells hudson to check regularly the CVS for changes and builds, when there were commits since last build.

You also can start build at certain times not regarding changes since last build.

For both of this options you have to provide a cron like notation, when to check/build. At the moment, we check every day at 5 am and build then.

The other options allow it to start a build via URL or let a build start, if another build was finished.

JDK

TODO: JDK

Buildjob

TODO: Build Job

Known Problems