Sunday, March 17, 2013

Hudson : A continuous Integration Server

What is continuous Integration Server ?
• Continuous integration (CI) is a set of practices intended to ease and stabilize the process of creating software builds. CI assists development teams with the following challenges:
1] Software build automation
2] Continuous automated build verification
3] Continuous automated build testing
4] Post-build procedure automation
image

What is Hudson ?
Hudson is a continuous integration (CI) tool written in Java, which runs in a servlet container, such as Apache Tomcat or the GlassFish application server. It supports SCM tools including CVS, Subversion, Git, Perforce and Clearcase and can execute Apache Ant and Apache Maven based projects, as well as arbitrary shell scripts and Windows batch commands. The primary developer of Hudson was Kohsuke Kawaguchi, who worked for Sun Microsystems at the time. Released under the MIT License, Hudson is free software.

Installation Hudson?
Distributions: Hudson can be downloaded from both eclipse.org and hudson-ci.org. More information about the available distributions can be found here.
Prerequisites : Hudson only needs a Java 6 or newer runtime. An internet connection will be required if you want to be able to install and auto-update plug-ins.
Install: You can install Hudson on Windows and Linux in 2 different ways.
1] Standalone War file
2] Deployed War file

Method 1: Testing Purpose:
After you download Hudson.war, you can launch it by executing java -jar Hudson.war. This is mostly useful for testing purposes.
image
Hudson CI Server Initial Setup:
image
Method 2: Production Purpose:
For production we have to use native packages for simplified install or deployment in a servlet container that supports Servlet 2.4/JSP 2.0 or later, such as Weblogic, Glassfish, Tomcat 5, JBoss, Jetty 6, etc. See Containers for more about container-specific installation instruction.
image
Here we deployed the downloaded hudson.war file in Weblogic Application Server !! Now we can access the deployed application.
image
References:
http://en.wikipedia.org/wiki/Hudson_(software)
http://wiki.eclipse.org/Hudson-ci/Installing_Hudson



No comments:

Post a Comment