Package io.jenkins.plugins.util
Schnittstelle ResultHandler
- Alle bekannten Implementierungsklassen:
NullResultHandler
,PipelineResultHandler
,RunResultHandler
public interface ResultHandler
Handles the setting of the build or stage result.
- Autor:
- Ullrich Hafner
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
publishResult
(Result result, String message) Called to notify the build or stage about the new result.void
publishResult
(QualityGateStatus status, String message) Called to notify the build or stage about the result that is derived from a quality gate status.
-
Methodendetails
-
publishResult
Called to notify the build or stage about the result that is derived from a quality gate status.- Parameter:
status
- the quality gate statusmessage
- a message that describes the cause for the result
-
publishResult
Called to notify the build or stage about the new result.- Parameter:
result
- the resultmessage
- a message that describes the cause for the result
-