Jenkins Beginner Tutorial 2 – How to setup Jenkins on Tomcat


Running Jenkins standalone (jetty/winstone) vs Running Jenkins on Tomcat

***Tomcat 5 or above***
***java(7 or above) should be available***

Step 1
Download Tomcat

Step 2
Unzip and place tomcat folder at any location

Step 3
Copy/Place the jenkins.war file inside tomcat/webapps folder

Step 4
Goto commandpromt (cmd) – windows | terminal – mac
– goto tomcat/bin directory
– make all files executable : chmod +x *.sh

In case of windows this command will not work. This step might not be needed if you are on windows. Else you can right click on the file/folder goto security tab and change the permissions.

Can watch –
TOMCAT – How to install and run on Windows | Change Port | Run app

Step 5
Start Tomcat : ./
(to shutdown tomcat : ./

Step 6
Verify if tomcat started : browser – http://localhost:8080

Step 7
Verify if jenkins is running on tomcat : http://localhost:8080/jenkins

*** To start jenkins (standalone) on a diff port***
java -jar jenkins.war – – httpPort=9090


Jenkins Beginner Playlist

Send me your comments and feedback


Comments 2

  • I just want to tell you that I’m new to blogging and site-building and definitely liked you’re web blog. Probably I’m want to bookmark your blog post . You certainly come with tremendous articles and reviews. Many thanks for sharing your webpage.

  • I wrote a new LiveJournal blog post about 20 minutes ago, and have Facebook set up to import my blog posts. It’s already imported all my old ones; how long does it take for Facebook to check for new blog posts, and to import them to my Facebook notes?.

Leave a Reply

Your email address will not be published.