Skip to content
Permalink
Browse files

[FIXED JENKINS-14900] Disabled ant default excludes.

  • Loading branch information
ikedam committed Jul 13, 2014
1 parent 1f7f665 commit 609ca2e0e09db223961ae5faae74bb06e85eb4a0
@@ -378,7 +378,7 @@ private boolean perform(Run src, AbstractBuild<?,?> dst, String expandedFilter,
cnt = copier.copyAll(srcDir, expandedFilter, targetDir, isFingerprintArtifacts());
else {
targetDir.mkdirs(); // Create target if needed
FilePath[] list = srcDir.list(expandedFilter);
FilePath[] list = srcDir.list(expandedFilter, null, false);
for (FilePath file : list)
copier.copyOne(file, new FilePath(targetDir, file.getName()), isFingerprintArtifacts());
cnt = list.length;
@@ -60,7 +60,7 @@ private MessageDigest newMD5() {
@Override
public int copyAll(FilePath srcDir, String filter, FilePath targetDir, boolean fingerprintArtifacts) throws IOException, InterruptedException {
targetDir.mkdirs(); // Create target if needed
FilePath[] list = srcDir.list(filter);
FilePath[] list = srcDir.list(filter, null, false);
for (FilePath file : list) {
String tail = file.getRemote().substring(srcDir.getRemote().length());
if (tail.startsWith("\\") || tail.startsWith("/"))

0 comments on commit 609ca2e

Please sign in to comment.
You can’t perform that action at this time.