Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/jenkins
  Commit: 15e69874190ce56e228b823aa1584b8497fc673b
      
https://github.com/jenkinsci/jenkins/commit/15e69874190ce56e228b823aa1584b8497fc673b
  Author: Pavel Janousek <pjano...@redhat.com>
  Date:   2016-12-15 (Thu, 15 Dec 2016)

  Changed paths:
    M core/src/main/java/hudson/slaves/CloudProvisioningListener.java
    M core/src/main/java/hudson/slaves/NodeProvisioner.java

  Log Message:
  -----------
  [JENKINS-38903] Split Exception handling for node provision and adding to 
Jenkins (#2591)

* [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()


-- 
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 jenkinsci-commits+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to