Branch: refs/heads/master
Home: https://github.com/jenkinsci/jenkins
Commit: c369723af02d991f436522e64f811ecd0d32a2e4
https://github.com/jenkinsci/jenkins/commit/c369723af02d991f436522e64f811ecd0d32a2e4
Author: Vincent Latombe <[email protected]>
Date: 2024-12-19 (Thu, 19 Dec 2024)
Changed paths:
M core/src/main/java/hudson/util/AtomicFileWriter.java
Log Message:
-----------
Simplify AtomicFileWriter and use clearer temporary file names (#10058)
* Simplify AtomicFileWriter and use clearer temporary file names
* Uses a more readable name for the temporary file, derived from the target path
* Streamline the fallback logic for atomic move, and just let the error bubble
up otherwise rather than logging then throwing which was leading to duplicate
stacktraces in the system logs
Related to https://github.com/jenkinsci/jenkins/pull/2548#discussion_r79500936
* Persist fallback to non-atomic move if filesystem throws
AtomicMoveNotSupportedException
* Extract to a static method
* Fix reviews
To unsubscribe from these emails, change your notification settings at
https://github.com/jenkinsci/jenkins/settings/notifications
--
You received this message because you are subscribed to the Google Groups
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/jenkins/push/refs/heads/master/9afbe0-c36972%40github.com.