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

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

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: file-operations-plugin
    • Labels:
    • Environment:
      Plugin version 1.7, regarding unzip operation
      Jenkins version 2.89.4 on Windows
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              pskumar448 Suresh Kumar
              Reporter:
              childen Christian Hilden
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: