Monday, February 14, 2011

Hudson

Installing hudson is pretty easy, you can download the war from http://java.net/projects/hudson/downloads/directory/war, for example you can download it directly from the server:

wget http://java.net/projects/hudson/downloads/download/war%252Fhudson-1.395.war

Then you can create a script like this that will start it:

#!/bin/bash



 



dir=/home/polopoly/hudson<



 



nohup java -jar $dir/hudson.war --httpPort=18080 --ajp13Port=18009 >$dir/hudson.log 2>&1 &; 




 


this will start hudson on port 18080, the only remaining thing you have to configure is the email server that should be used to send email alert (if you want to send them which is highly recommended).


Now you are free to create your tasks.

No comments: