Package io.jenkins.plugins.util
Klasse PipelineResultHandler
java.lang.Object
io.jenkins.plugins.util.PipelineResultHandler
- Alle implementierten Schnittstellen:
StageResultHandler
StageResultHandler that sets the overall build result of the Run and annotates the given Pipeline
step with a WarningAction.- Autor:
- Devin Nusbaum
-
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungPipelineResultHandler(Run<?, ?> run, org.jenkinsci.plugins.workflow.graph.FlowNode flowNode) Creates a new instance ofPipelineResultHandler. -
Methodenübersicht
-
Konstruktordetails
-
PipelineResultHandler
Creates a new instance ofPipelineResultHandler.- Parameter:
run- the run to set the result forflowNode- the flow node to add a warning to
-
-
Methodendetails
-
setResult
Beschreibung aus Schnittstelle kopiert:StageResultHandlerCalled to set theResultof a stage.- Angegeben von:
setResultin SchnittstelleStageResultHandler- Parameter:
result- the result to setmessage- a message that describes the cause for the result
-