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

Preserve symlinks when copying artifacts

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      When copying artifact using the Copy Artifact plugin, symlinks are replaced by the referred files or directory.

      It would be nice to have an option to preserve symlinks when copying artifacts.

        Attachments

          Issue Links

            Activity

            Hide
            ikedam ikedam added a comment -

            Jinjing Pan
            Please report more details (e.g. environments, steps to reproduce the problem).

            Show
            ikedam ikedam added a comment - Jinjing Pan Please report more details (e.g. environments, steps to reproduce the problem).
            Hide
            panjinjing Jinjing Pan added a comment -

            My problem is not related with this plugin. Sorry for reopening.

            Show
            panjinjing Jinjing Pan added a comment - My problem is not related with this plugin. Sorry for reopening.
            Hide
            renwei Wei Ren added a comment -

            I am still seeing this issue on my two jenkins sites. One jenkins setup is Jenkins 1.651.3 + Copy Artifact Plugin 1.38, and the other jenkins setup is Jenkins 2.7.1 + Copy Aritifact Plugin 1.38. The OS of both setups is Ubuntu 14.04 LTS.

            Below are repro steps:
            1. One project P1 archives one file plus one symlink as its build artifacts like:
            directory1/file1, directory2/symlink2 where symlink2 is a link to ../directory1/file1.

            2. Another project P2 copies P1's artifacts to its workspace at the beginning of its build.

            Expected: both file1 and symlink2 are copied to P2's workspace.

            Actual: only file1 is copied to P2's workspace.

            Please let me know if you need more information.

            Show
            renwei Wei Ren added a comment - I am still seeing this issue on my two jenkins sites. One jenkins setup is Jenkins 1.651.3 + Copy Artifact Plugin 1.38, and the other jenkins setup is Jenkins 2.7.1 + Copy Aritifact Plugin 1.38. The OS of both setups is Ubuntu 14.04 LTS. Below are repro steps: 1. One project P1 archives one file plus one symlink as its build artifacts like: directory1/file1, directory2/symlink2 where symlink2 is a link to ../directory1/file1. 2. Another project P2 copies P1's artifacts to its workspace at the beginning of its build. Expected: both file1 and symlink2 are copied to P2's workspace. Actual: only file1 is copied to P2's workspace. Please let me know if you need more information.
            Hide
            ikedam ikedam added a comment -

            Wei Ren
            Your problem sounds rather link JENKINS-32832.
            Please check that.

            Show
            ikedam ikedam added a comment - Wei Ren Your problem sounds rather link JENKINS-32832 . Please check that.
            Hide
            renwei Wei Ren added a comment -

            Thank ikedam for the info. I will paste my issue there.

            Show
            renwei Wei Ren added a comment - Thank ikedam for the info. I will paste my issue there.

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                pbuyle pbuyle
              • Votes:
                2 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: