O'Reilly logo

DevOps Bootcamp by Mitesh Soni

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Continuous delivery in Docker container using Jenkins Plugin

Let's understand how we can deploy a web application in Tomcat using the Jenkins plugin.

We can follow a few steps for that:

  • Run Apache Tomcat
  • Use the proper IP address and port number combination to navigate to the Tomcat home page:
  • Go to the conf directory and then open tomcat-users.xml in your Tomcat installation directory and un-comment the role and user lines or rewrite them. Set manager-script as the rolename for testing purposes. We need manager-script for deployment via the Deploy to Container plugin.
  • For the Jenkins deploy plugin, change the rolename to manager-script ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required