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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.