Skip to content
Permalink
Browse files

[FIXED JENKINS-13515] Downgrade touch failure to warning regardless o…

…f platform.
  • Loading branch information
jglick committed Oct 3, 2012
1 parent ed1b581 commit d767e0071561287096790974503e1ed744ab1c83
Showing with 1 addition and 6 deletions.
  1. +1 −6 src/main/java/hudson/plugins/copyartifact/FingerprintingCopyMethod.java
@@ -2,7 +2,6 @@

import hudson.Extension;
import hudson.FilePath;
import hudson.Functions;
import hudson.Util;
import hudson.model.AbstractBuild;
import hudson.model.Fingerprint;
@@ -82,11 +81,7 @@ public void copyOne(FilePath s, FilePath d) throws IOException, InterruptedExcep
try {
d.touch(s.lastModified());
} catch (IOException x) {
if (Functions.isWindows()) {
Logger.getLogger(FingerprintingCopyMethod.class.getName()).warning(x.getMessage());
} else {
throw x;
}
Logger.getLogger(FingerprintingCopyMethod.class.getName()).warning(x.getMessage());
}
String digest = Util.toHexString(md5.digest());

0 comments on commit d767e00

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