Follow these instructions: https://wiki.jenkins-ci.org/display/JENKINS/Installing+Jenkins+on+Ubuntu
To start Hudson:
java -jar /downloads/hudson/hudson.war
To install the Windows service:
Make sure Java is available on the
Make sure Maven is installed.
Start Hudson (see previous step).
Browse to the Hudson web interface, http://localhost:8080/
Click on Manage Hudson.
Click on Install as Windows Service.
Enter the Installation Directory. I entered
/tools/hudson/(Note: probably better to make this a different folder to the one where Hudson was started).
Start the Hudson services from the Windows services dialog.
Uninstall - Windows Service¶
To uninstall the Windows service:
cd /tools/hudson/ hudson.exe uninstall