• J
    [FIXED JENKINS-21958] FilePath.copyRecursiveTo given a scanner including a... · 7c568178
    Jesse Glick 提交于
    [FIXED JENKINS-21958] FilePath.copyRecursiveTo given a scanner including 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.)
    7c568178
FilePath.java 97.6 KB