Class ChangingBuildStatusErrorHandler
java.lang.Object
hudson.model.AbstractDescribableImpl<StatusErrorHandler>
org.jenkinsci.plugins.github.extension.status.StatusErrorHandler
org.jenkinsci.plugins.github.status.err.ChangingBuildStatusErrorHandler
- All Implemented Interfaces:
ExtensionPoint,Describable<StatusErrorHandler>,ErrorHandler
Can change build status in case of errors
- Since:
- 1.19.0
- Author:
- lanwen (Merkushev Kirill)
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jenkinsci.plugins.github.extension.status.StatusErrorHandler
allMethods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
Constructor Details
-
ChangingBuildStatusErrorHandler
-
-
Method Details
-
getResult
-
handle
Logs error to build console and changes build result- Parameters:
e- exception to handle (log, ignore, process, rethrow)run- run object from the steplistener- listener object from the step- Returns:
- true as of it terminating handler
-