title: Unable to deploy war file on to Tomcat8 in jenkins
body: <p>I'm doing a project as part of DevOps certification.</p>
  
  <p>I need to build a pipeline which contains around 6 steps.</p>
  
  <p>In the 5th step, I need to generate a .war file (which is successful).</p>
  
  <p>In the last step, i need to deploy the war file which contains artifacts on to tomcat using Jenkins. </p>
  
  <p>The project keeps failing. Is that something because of incorrect configuration. Here are the attached screenshots of build, post-build actions, and the console output of project. </p>
  
  <p><strong>Build and post-build actions</strong>
  <a href="https://i.stack.imgur.com/uFt8M.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uFt8M.jpg" alt="enter image description here"></a>
  <strong>console-output of the project</strong>
  <a href="https://i.stack.imgur.com/w9fZP.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/w9fZP.jpg" alt="enter image description here"></a>
  Where am I doing it wrong.</p>