Thursday, January 29, 2015

Configure HUDSON CI tool in Tomcat

I thought of automating the build and deployment process to reduce  the efforts that my team spends and minimize the errors that we see later while integrating and deploying to production by adopting one Continuous Integration (CI) tool into my project. I chose HUDSON as it is very simple to configure, opensource, widely adopted and I used it in one of my previous projects (5 years back). Here are the steps to configure Hudson in Tomcat

·         Download Hudson.war file from http://eclipse.org/hudson/download.php
·         Go through the best practices http://wiki.eclipse.org/Hudson-ci/Hudson_Best_Practices
·         Deploy the war file into your favorite web container(Tomcat, JBoss..etc)
·         You may need to tweak your JVM memory options like set "JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx1024m -XX:MaxPermSize=256m -server" https://docs.oracle.com/cd/E40518_01/integrator.311/integrator_install/src/cli_ldi_server_config.html
·         Start your web container and open it in browser (http://localhost:8080/hudson-3.2.1/)
·         Select or unselect required plugins and enter your proxy details if you are under proxy

·         It will download those plugins and will be ready to start play around it

No comments:

Post a Comment