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

symlinks in archive trees lead to double archiving

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • core
    • None
    • Centos 5.4
    • Jenkins 2.230

      If the tree you are archiving contains an internal symlink, the target files will be archived twice. This can lead to a very large increase in the size of the archived data and consequently, the time it takes to archive it.

      Example:

      /archive-root
      /big-directory
      /symlink -> big-directory

      Then every file in big directory will be archived twice.

      A fix would be for Hudson to detect internal symlinks and copy them rather than dereference them.

          [JENKINS-5597] symlinks in archive trees lead to double archiving

          pgweiss created issue -
          Andrew Bayer made changes -
          Assignee New: Andrew Bayer [ abayer ]
          Andrew Bayer made changes -
          Issue Type Original: Bug [ 1 ] New: Improvement [ 4 ]
          Andrew Bayer made changes -
          Link New: This issue is duplicated by JENKINS-5993 [ JENKINS-5993 ]
          Alan Harder made changes -
          Component/s New: core [ 15593 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 135689 ] New: JNJira + In-Review [ 174366 ]
          E H made changes -
          Attachment New: JENKINS-5597-example.groovy [ 43463 ]
          Oleg Nenashev made changes -
          Released As New: Jenkins 2.230
          Assignee Original: Andrew Bayer [ abayer ]
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

            Unassigned Unassigned
            pgweiss pgweiss
            Votes:
            23 Vote for this issue
            Watchers:
            29 Start watching this issue

              Created:
              Updated:
              Resolved: