Status: Closed (View Workflow)
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.
- is blocking
JENKINS-24891 Remove FilePathCopyMethod from copyartifact
- is duplicated by
JENKINS-22453 Invalid symbolic links get archived but cannot be copied using Copy Artifacts
- is related to
JENKINS-22637 "Copy Artifacts Plugin" should support ArtifactManager
- links to
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.
Your problem sounds rather link
Please check that.
Please report more details (e.g. environments, steps to reproduce the problem).