Package io.jenkins.plugins.util
Klasse RunResultHandler
java.lang.Object
io.jenkins.plugins.util.RunResultHandler
- Alle implementierten Schnittstellen:
ResultHandler
,StageResultHandler
A
ResultHandler
that sets the overall build result of the Run
.- Autor:
- Devin Nusbaum
-
Konstruktorübersicht
-
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.void
Called to set theResult
of a stage.
-
Konstruktordetails
-
RunResultHandler
Creates a new instance ofRunResultHandler
.- Parameter:
run
- the run to set the result for
-
-
Methodendetails
-
setResult
Beschreibung aus Schnittstelle kopiert:StageResultHandler
Called to set theResult
of a stage.- Angegeben von:
setResult
in SchnittstelleStageResultHandler
- Parameter:
result
- the result to setmessage
- a message that describes the cause for the result
-
publishResult
Beschreibung aus Schnittstelle kopiert:ResultHandler
Called to notify the build or stage about the new result.- Angegeben von:
publishResult
in SchnittstelleResultHandler
- Parameter:
result
- the resultmessage
- a message that describes the cause for the result
-
publishResult
Beschreibung aus Schnittstelle kopiert:ResultHandler
Called to notify the build or stage about the result that is derived from a quality gate status.- Angegeben von:
publishResult
in SchnittstelleResultHandler
- Parameter:
status
- the quality gate statusmessage
- a message that describes the cause for the result
-