For application deployment, we can utilize multiple methods to deploy an application to a web server or application server. We can use a batch script or shell script to copy the Package file created after the Continuous Integration process, or we can use the Jenkins plugin to deploy an application.
Deploying a WAR file from Jenkins to Tomcat
Getting ready
Go to Manage Jenkins | Manage Plugins and install Deploy to container Plugin:
Wait until the plugin has installed successfully.
How to do it...
To allow deployment using the Jenkins plugin, go to the Tomcat installation...