title: Azure devops pipeline ArchiveFiles error: Unable to locate executable file: 'zip'
body: <p>I'm creating an Azure DevOps pipeline for python package build, but the task ArchiveFiles@2 failed.</p>
  <pre><code>- stage: Build
    jobs:
      - job: BuildApp
        pool:
          vmImage: 'ubuntu-latest'
        - task: ArchiveFiles@2
          inputs:
            rootFolderOrFile: '$(Build.SourcesDirectory)'
            includeRootFolder: false
            archiveType: 'zip'
            archiveFile: '$(Build.ArtifactStagingDirectory)/$(Build.BuildId).zip'
            replaceExistingArchive: true
            verbose: true
  </code></pre>
  <p>The error log is this</p>
  <pre><code>Found 20 files
  Archiving file: .env_sample
  ... 21 more ...
  
  ##[debug]Checking for archive destination folder:/__w/1/a
  ##[debug]Creating archive with zip: /__w/1/a/1009007.zip
  ##[debug]which 'zip'
  ##[debug]not found
  ##[debug]Unable to locate executable file: 'zip'. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.
  
  </code></pre>