Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/xtrigger-lib
  Commit: d8fb3e50eb95fbc931c9b95f18c20ddb5ba47b73
      
https://github.com/jenkinsci/xtrigger-lib/commit/d8fb3e50eb95fbc931c9b95f18c20ddb5ba47b73
  Author: Tony Noble <[email protected]>
  Date:   2021-05-14 (Fri, 14 May 2021)

  Changed paths:
    M src/main/java/org/jenkinsci/lib/xtrigger/AbstractTrigger.java
    M src/main/java/org/jenkinsci/lib/xtrigger/XTriggerCause.java

  Log Message:
  -----------
  Allow XTriggerCause to be subclassed easily.

Added getBuildCause method to return a new XTriggerCause instance
instead of instantiating directly from the runner.run() method.  This
allows for simple subclassing of XTriggerCause class, requiring just an
override of the getBuildCause method in trigger plugins that use the
library.  In turn, the XTriggerCause class has been made serializable so
that subclasses may hold extra information required by the relevant
plugins


-- 
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 on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/xtrigger-lib/push/refs/heads/master/006212-d8fb3e%40github.com.

Reply via email to