Setting up Hudson CI in Windows and Unix environment

by Yogaraj Khanal on July 29th, 2012


This article demonstrates that how you can setup Hudson CI on Windows and UNIX environment.


Hudson is extensible continues integration server for build and deployment purpose of software applications.


Download the latest version of hudson.war from following location:

I am using version 2.2.1 for this article purpose latest stable build from the repository.
It will download hudson,war into your download folder. You just need to drop your war file to the the webapps folder of Tomcat and restart the tomcat to deploy the war. You should be able to see hudson deployed in the console as shown below.

You should see hudson deployment in progress window for the first time as shown is screenshot below.

You have to click on first tab to create a new job as “HudsonTest” for this article and I selected free-style software project as first option listed and hit OK button.

I am using SVN for this demo so let me put the URL under Source Code management option as shown below and ant war target to build the war file for my project and hit Save.

Then you can hit Build now see the project build process as shown below.

You can also view the console output as shown below for the action ant war target.

Build will take a while depending on the size of your project and will display success message like below and give the first build no as shown in screen shot below.

If the build is successful you can see blue icon as shown in the screen shot and if there is some broken code you can see red icon and go to console and see errors as shown in following screen shot.

You can go to Manage Hudson->Configure and add additional stuff like sending email to the people who should be notified when build fails as shown in following screen shot.

There are other lots of fun stuff you can do once you setup fine. I will let you explore by referring to wikis. You can send me comments in this article if you have any questions.


This article demonstrates how you can setup hudson continuous integration tool in Windows and Unix environment.



Profile Photo
Yogaraj Khanal
Date: July 29th, 2012