Please sign in to comment.
[FIXED JENKINS-21958] FilePath.copyRecursiveTo given a scanner includ…
…ing a symlink but not any regular file in the same directory would neglect to create the parent directory on the destination and thus not copy the link. (Util.createSymlink is partly to blame for not throwing a descriptive IOException when it fails to create a link, but this is its historical behavior needed for compatibility. copyRecursiveTo also continues to suppress error text from this method because there is nowhere for it to go. Perhaps need a new variant of createSymlink that is guaranteed to either have created the link or throw an exception.)
- Loading branch information...
Showing with 44 additions and 6 deletions.