Klasse RunResultHandler

java.lang.Object
io.jenkins.plugins.util.RunResultHandler
Alle implementierten Schnittstellen:
StageResultHandler

public class RunResultHandler extends Object implements StageResultHandler
StageResultHandler that sets the overall build result of the Run.
Autor:
Devin Nusbaum
  • Konstruktordetails

    • RunResultHandler

      public RunResultHandler(Run<?,?> run)
      Creates a new instance of RunResultHandler.
      Parameter:
      run - the run to set the result for
  • Methodendetails

    • setResult

      public void setResult(Result result, String message)
      Beschreibung aus Schnittstelle kopiert: StageResultHandler
      Called to set the Result of a stage.
      Angegeben von:
      setResult in Schnittstelle StageResultHandler
      Parameter:
      result - the result to set
      message - a message that describes the cause for the result