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

expose ability to create/unpack tar.gz / zip as a workflow step

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      it is sometimes usefull to create a zip (or tar.gz) of some files ina workspace to archive as a single unit.

      However to do this you need to rely n platform tools to create the file.
      Whilst on Unix/Linux this is not too hard on windows it is a PITA requiring either extra tools or powershell scripting - neither of which is portable.

      It would be nice if Jenkins/javas ability to create tar.gz/zip was exposed as a native step.

        Attachments

          Issue Links

            Activity

            Hide
            teilo James Nord added a comment -

            not with this ticket. I suggest you open a new Jira if you desire this functionality

            Show
            teilo James Nord added a comment - not with this ticket. I suggest you open a new Jira if you desire this functionality
            Hide
            ekeko Pablo added a comment -

            hi, currently pipeline-utility-steps only offer unzip... any plan to support unpacking of tar and tar.gz files?
             

            Show
            ekeko Pablo added a comment - hi, currently pipeline-utility-steps only offer unzip... any plan to support unpacking of tar and tar.gz files?  
            Show
            scof Roman Sinyakov added a comment - - edited Already implemented  https://jenkins.io/doc/pipeline/steps/pipeline-utility-steps/#code-unzip-code-extract-zip-file https://jenkins.io/doc/pipeline/steps/pipeline-utility-steps/#code-zip-code-create-zip-file
            Hide
            jglick Jesse Glick added a comment -

            A good candidate for pipeline-utility-steps, if not already there.

            Show
            jglick Jesse Glick added a comment - A good candidate for pipeline-utility-steps , if not already there.
            Hide
            jglick Jesse Glick added a comment -

            The priority is already pretty low. I am working on an implementation of JENKINS-26942 in which the storage format (tar.gz) is an implementation detail, which keeps the flow syntax attractively simple, and I think covers most use cases. If we later want to add some steps to create ZIPs or the like within a workspace, we can do that, either in workflow-plugin or in any contributed plugin.

            Show
            jglick Jesse Glick added a comment - The priority is already pretty low. I am working on an implementation of JENKINS-26942 in which the storage format ( tar.gz ) is an implementation detail, which keeps the flow syntax attractively simple, and I think covers most use cases. If we later want to add some steps to create ZIPs or the like within a workspace, we can do that, either in workflow-plugin or in any contributed plugin.

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              teilo James Nord
              Votes:
              4 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: