Class PipelineResultHandler

    • Constructor Detail

      • PipelineResultHandler

        public PipelineResultHandler​(Run<?,​?> run,
                                     org.jenkinsci.plugins.workflow.graph.FlowNode flowNode)
        Creates a new instance of PipelineResultHandler.
        Parameters:
        run - the run to set the result for
        flowNode - the flow node to add a warning to
    • Method Detail

      • setResult

        public void setResult​(Result result,
                              String message)
        Description copied from interface: StageResultHandler
        Called to set the Result of a stage.
        Specified by:
        setResult in interface StageResultHandler
        Parameters:
        result - the result to set
        message - a message that describes the cause for the result