Sunday, September 25, 2011

Continuous Deployment With Jenkins And Rex

To build Rex you need the following dependencies:

build-essential libexpat1-dev libssh2-1-dev zlib1g-dev libssl-dev

Don't forget to install Rex and Rex::Apache::Deploy on your Jenkins server as well. You need at least Rex 0.19.0 and Rex::Apache::Deploy 0.7.0.

 

Installing Tomcat

Install it on: CI Server

At first we will install Jenkins. Fire up a shell and use apt-get to installtomcat6 and tomcat6-admin. If you want, you can use this howto that shows youhow to install Tomcat with Rex and jump to Step 2 "Deploying Jenkins".

sudo apt-get install tomcat6 tomcat6-admin

Now open the file /etc/tomcat6/tomcat-users.xml and replace the content with the following.


View the Original article