O'Reilly logo

Jenkins Essentials 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

Deploying a war file from Jenkins to Tomcat

We will use the Deploy plugin available at https://wiki.jenkins-ci.org/x/CAAjAQ to deploy a war file into a specific container.

The Deploy plugin takes the war/ear file, and deploys it to a running local or remote application server at the end of a build.

It supports the following containers:

  • Tomcat: 4.x/5.x/6.x/7.x
  • JBoss: 3.x/4.x
  • Glassfish: 2.x/3.x

To deploy a war file in a Websphere container, use the Deploy WebSphere plugin available at https://wiki.jenkins-ci.org/x/UgCkAg.

To deploy a war file in a Weblogic container, use the WebLogic Deployer plugin available at https://wiki.jenkins-ci.org/x/q4ahAw.

  1. On the Jenkins dashboard, go to the Manage Jenkins link and then click on Manage Plugins and install Deploy ...

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