Installing and Using the Hudson build server

Version 82.1 by Johan Henselmans on 2009/06/10 10:22
Warning: For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

Hudson is a build server that takes the chore of the building and can do it automatically, based on all kinds of variables. 

The complete introduction has been show on wowodc-west in 2009. 

Installing Hudson

To get Hudson running, the easiest way is to start running tomcat on a server. 

Unknown macro: color. Click on this message for details.

  • Create an administrative user in /opt/local/share/java/tomcat6/conf/tomcat-users.xml (20 mins to find out where the user should be and how not to restart tomcat)

something along the line of:

Unknown macro: color. Click on this message for details.

(remember this is testing)

Unknown macro: color. Click on this message for details.

  • download Hudson from hudson.dev.java.net, take care that you use the contextual menu to download the link hudson war file
  • create a folder /opt/local/var/db/hudson (this will be the place where hudson will store it's stuff
  • change ownership of that folder with ownership www:_www
  • add to /opt/local/share/java/tomcat6/conf/setenv.local:

Unknown macro: color. Click on this message for details.

  • install Hudson in Tomcat: goto localhost:8080, login with the user and password that you have created in the tomcat-users.xml, and upload hudson.war to the tomcat server. 

Next