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 opentomcat-users.xml
in your Tomcat installation directory and un-comment the role and user lines or rewrite them. Setmanager-script
as therolename
for testing purposes. We needmanager-script
for deployment via theDeploy to Container
plugin. - For the Jenkins deploy plugin, change the
rolename
tomanager-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 IP address as well. For a remote web server, we can utilize an IP address or domain name to access...