Skip to content

Commit

Permalink
[JENKINS-9741] partial fix for preserving file permissions when copying
Browse files Browse the repository at this point in the history
artifacts.  Use FilePath.copyToWithPermission to fix issue when "flatten"
option is chosen.
  • Loading branch information
alanharder committed Jul 24, 2011
1 parent b9b1517 commit defe966
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -55,6 +55,6 @@ public int copyAll(FilePath srcDir, String filter, FilePath targetDir)
@Override
public void copyOne(FilePath source, FilePath target)
throws IOException, InterruptedException {
source.copyTo(target);
source.copyToWithPermission(target);
}
}

0 comments on commit defe966

Please sign in to comment.