title: Zip a directory in Jenkins Pipeline
body: <p>I keep getting this error: <strong>"No signature of method: zip.call()"</strong></p>
  
  <p>This is the code i am running in Jenkins pipeline :</p>
  
  <pre><code>pipeline {
     agent any
     stages {
         stage("test..")
         {
              steps
              {
               zip dir: '', glob: '', zipFile: 'testz.zip'
              }
          }
      }
  }
  </code></pre>
  
  <p>I have the zip step appear in sample steps in pipeline syntax, so not sure why this failing. I need to zip my source code folder.</p>
  
  <p>Pipeline Utility Steps plugins is installed :
  <a href="https://i.stack.imgur.com/sulDt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sulDt.png" alt="enter image description here"></a></p>