* JENKINS-25218 - Hardening of FifoBuffer operation logic. The change improves the original fix in `remoting-2.54`.
* JENKINS-39547 - Corrupt agent JAR cache causes agents to malfunction.
Improvements:
* JENKINS-40491 - Improve diagnostincs of the preliminary FifoBuffer termination.
* ProxyException now retains any suppressed exceptions.
When an empty Freestyle job config gets submitted in the default configuration of Jenkins 2.35, the data is being saved to the disk *8 times*. All of them happen in this code: https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/Job.java#L1227-L1246
* setDisplayName
* Project#getBuildWrappersList().rebuild (onModified handler)
* Project#getBuilderList().rebuild (onModified handler)
* Project#getPublisherList().rebuild (onModified handler)
* AbstractProject#makeDisabled
* AbstractProject#setScm
* AbstractProject#triggers.replaceBy
* final save()
There is not so much sense to save partial configurations to the disk due to the risk of data inconsistency there. This change just wraps the config submission section of the job into the BulkChange clause.
* [JENKINS-32797] Break the catch clause contents of Jenkins.getTarget() out into a separate, publicly accessible function.
This will allow plugins (particularly authentication plugins that override the normal authentication process) to determine if authentication is not required for a particular path by calling isPathUnprotected(restOfPath).
* Add @since TODO to comment
* Change name of function to something that is accurate and clear
isPathUnprotected is misleading, and the Javadoc was worse. isSubjectToMandatoryReadPermissionCheck is a much better name, and the return value is reversed to match the name,
* [JENKINS-38903] Split Exception handling for node provision and adding to Jenkins
* Defined new static helper methods that ensure exceptions are not propagated
* Added onCommit and onRollback signals to CloudProvisioningListener
Added the new signals to be able to notify the state after Jenkins.addNode(Node)
All Listener's calls moved to an exception-tolerant static helpers
* Added @Nonnull annotation
Changed the method signature CloudProvisioningListener.onRollback()
* Re-throw Error in the fireOnXXX()
Removed re-thrown Throwable in the main try/catch block
(an instance of the Error is handled separately)
* Handling of Error changed
* Fixed Error instance handling in NodeProvisioner.fireOnFailure()
* [FIX JENKINS-40053]: Use english as default-locale, so the ResourceBundleUtilTest runs also on systems with other default os locales.
* [FIX JENKINS-40053]: Cleanup Locale after test to avoid impact on other tests.
* [FIX JENKINS-40053]: Use english as default-locale only in the required test method.
* [FIX JENKINS-40053]: Cleanup unused imports.