Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions core/src/main/java/hudson/FilePath.java
Original file line number Diff line number Diff line change
Expand Up @@ -718,10 +718,14 @@
int mode = e.getUnixMode();
if (mode != 0) // Ant returns 0 if the archive doesn't record the access mode
target.chmod(mode);
} catch (InterruptedException ex) {
} catch (InterruptedException | NoSuchFileException ex) {
LOGGER.log(Level.WARNING, "unable to set permissions", ex);
}
Files.setLastModifiedTime(Util.fileToPath(f), e.getLastModifiedTime());
try {
Files.setLastModifiedTime(Util.fileToPath(f), e.getLastModifiedTime());
} catch (NoSuchFileException ex) {
LOGGER.log(Level.WARNING, "unable to set last modified time", ex);

Check warning on line 727 in core/src/main/java/hudson/FilePath.java

View check run for this annotation

ci.jenkins.io / Code Coverage

Not covered lines

Lines 721-727 are not covered by tests
}
}
}
}
Expand Down
Loading