title: Jenkins triggered code deploy is not including subdirectories while creating the zip file
body: <p>The directory structure of my jenkins workspace is this - </p>
  
  <pre><code>|- appspec.yml
  |- afterInstall.sh
  |---
     |codebase
  </code></pre>
  
  <p>The problem is that zip being prepared is not containing the codebase directory. </p>
  
  <p>Following is a screenshot of what I have enetered in the "Deploy an application to AWS CodeDeploy" section of Jenkins - </p>
  
  <p><a href="https://i.stack.imgur.com/gbTLi.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gbTLi.png" alt="enter image description here"></a></p>
  
  <p>I checked that there is a Subdirectory option there, which reads - </p>
  
  <blockquote>
    <p>A subdirectory inside the workspace to be packed instead of the whole
    workspace. Remember that the appspec.yml must be placed at the top of
    the .zip archive. The excludes and includes will be applied based on
    this path.</p>
  </blockquote>
  
  <p>But, that does not seem to be what I am looking for, since I want to include the subdirectory in addition to all the files that are present in the root.</p>