title: Jenkins: deploying war files from artifactory
body: <p>We are using <strong>Jenkins</strong> to build (<strong>maven</strong>) &amp; deploy artifacts (JARs &amp; *<em>WAR</em>*s) to an in-house artifactory server (both snapshots and releases).</p>
  
  <p>For deployment, currently, we got Jenkins jobs that package the war file (from a release scm tag) and deploy to different environments/servers. We want to skip the package phase as it seems unnecessary to package it again &amp; again for a released version because it's not possible to get a different copy of war file even after trying 1000 times. </p>
  
  <p>We are looking for a way in Jenkins to get the artifact (war) from Artifactory and deploy it to a container. I am sure other people would have faced this situation too but I am not able to find any online material regarding this.</p>
  
  <p><strong>Is there any Jenkins plugin that takes a war file from Artifactory (based on a version) and deploy it to a remote container?</strong></p>
  
  <p><strong>If this is not the right way of doing it then what are the recommendations for any other approach?</strong></p>
  
  <p>Thanks</p>