Skip to content
  • Jesse Glick's avatar
    [FIXED JENKINS-21958] FilePath.copyRecursiveTo given a scanner including a... · 7c568178
    Jesse Glick authored
    [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
To find the state of this project's repository at the time of any of these versions, check out the tags.
Loading