mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-14 12:32:15 +00:00
Merge pull request #265 from CMoH/jenkins-9577
[JENKINS-9577] Fix last modification timestamp after unzip
This commit is contained in:
commit
2bd40df444
1 file changed
+1
-1
@@ -499,7 +499,6 @@ public final class FilePath implements Serializable {
|
||||
p.mkdirs();
|
||||
}
|
||||
IOUtils.copy(zip.getInputStream(e), f);
|
||||
f.setLastModified(e.getTime());
|
||||
try {
|
||||
FilePath target = new FilePath(f);
|
||||
int mode = e.getUnixMode();
|
||||
@@ -508,6 +507,7 @@ public final class FilePath implements Serializable {
|
||||
} catch (InterruptedException ex) {
|
||||
LOGGER.log(Level.WARNING, "unable to set permissions", ex);
|
||||
}
|
||||
f.setLastModified(e.getTime());
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
|
||||
Reference in new issue
Block a user