Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
DevOps Bootcamp

You're reading from   DevOps Bootcamp The fastest way to learn DevOps

Arrow left icon
Product type Paperback
Published in May 2017
Publisher Packt
ISBN-13 9781787285965
Length 312 pages
Edition 1st Edition
Tools
Concepts
Arrow right icon
Author (1):
Arrow left icon
Mitesh Soni Mitesh Soni
Author Profile Icon Mitesh Soni
Mitesh Soni
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. DevOps Concepts and Assessment Framework FREE CHAPTER 2. Continuous Integration 3. Containers 4. Cloud Computing and Configuration Management 5. Continuous Delivery 6. Automated Testing (Functional and Load Testing) 7. Orchestration - End-to-End Automation 8. Security and Monitoring

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 as follows:
  • Click on the manager application link on the Tomcat home page and enter the username and password you set in tomcat-users.xml. Now we can access the management application. For a local Tomcat, we can use localhost to access the Tomcat page or we can use the...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image