Running Jenkins inside a container

Jenkins can be installed as a service inside the following containers:

  • Apache Geronimo 3.0
  • Glassfish
  • IBM WebSphere
  • JBoss
  • Jetty
  • Jonas
  • Liberty profile
  • Tomcat
  • WebLogic

In the current section, we will see how to install Jenkins on the Apache Tomcat server.

Installing Jenkins as a service on the Apache Tomcat server

Installing Jenkins as a service on the Apache Tomcat server is pretty simple. We can either choose to use Jenkins along with other services already present on the Apache Tomcat server, or we may use the Apache server solely for Jenkins.

Prerequisites

I assume that the Apache Tomcat server is installed on the machine where you intend to run Jenkins. In the following section, we will use the Apache Tomcat server 8.0. ...

Get Learning Continuous Integration with Jenkins now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.