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

symlinks in archive trees lead to double archiving

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: core
    • Labels:
      None
    • Environment:
      Centos 5.4
    • Similar Issues:
    • Released As:
      Jenkins 2.230

      Description

      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.

        Attachments

          Issue Links

            Activity

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

              People

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

                Dates

                Created:
                Updated:
                Resolved: