Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-50214

Add ability to unzip files using a wildcard as zip file name

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • file-operations-plugin
    • Plugin version 1.7, regarding unzip operation
      Jenkins version 2.89.4 on Windows

      It would be greate if it would be possible to use some kind of wildcard expession as zip file name in unzip operations e.g. target\some-name-*.zip.

      Use case:

      We have to download latest build artifacts from a gitlab instance (which we cannot control) and use them in our builds. Unfortunatly those artifacts include zipped files with version codes and build time included in the filename (e.g.: some_components_0.5.0.201803151319.zip).

      Using target file name in the download operation does not solve the problem as the versiond zip files are contained in the downloaded zip file. -> We have to unzip the outer file first and the inner file second.

      Currently using wildcards in zip file names leads to a fatal error.

            pskumar448 Suresh Kumar
            childen Christian Hilden
            Votes:
            3 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: