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

Implement a tarball-only option for cloning the workspace

      For workspaces that are very large and don't compress well, the overhead of tar+gzip might be frustrating. It would be nice to have the option to only tar the workspace.

          [JENKINS-26058] Implement a tarball-only option for cloning the workspace

          Luke Petre created issue -
          Luke Petre made changes -
          Component/s New: clone-workspace-plugin [ 15700 ]

          Daniel Beck added a comment -

          Did you compare the numbers in a realistic scenario to make sure this would actually help? In my experience, gzip adds very little (time) overhead.

          Daniel Beck added a comment - Did you compare the numbers in a realistic scenario to make sure this would actually help? In my experience, gzip adds very little (time) overhead.

          Daniel Beck added a comment -

          JENKINS-26008 indicates a significant speedup when archiving artifacts and not using gzip.

          Daniel Beck added a comment - JENKINS-26008 indicates a significant speedup when archiving artifacts and not using gzip.

          Luke Petre added a comment -

          Yes, I'm running this change locally and it is a significant improvement. Our workspace is 1.6GB as an uncompressed tarball and 1.1GB compressed. This change saves 90 seconds for each job in our build pipeline, which is about a 20% speedup overall.

          Luke Petre added a comment - Yes, I'm running this change locally and it is a significant improvement. Our workspace is 1.6GB as an uncompressed tarball and 1.1GB compressed. This change saves 90 seconds for each job in our build pipeline, which is about a 20% speedup overall.

          Luke Petre added a comment -

          Luke Petre added a comment - I've already implemented the feature here: https://github.com/jenkinsci/jenkins-clone-workspace-scm-plugin/pull/8

          Yes please, since "zip" screws up permissions.

          Aaron D. Marasco added a comment - Yes please, since "zip" screws up permissions.
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 160048 ] New: JNJira + In-Review [ 180233 ]
          Jenkins IRC Bot made changes -
          Component/s Original: clone-workspace-plugin [ 15700 ]

            Unassigned Unassigned
            lpetre Luke Petre
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: