java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
io.jenkins.plugins.miscjenkinsinfotools.pipeline.related.checker.SaneRelatedJobChecker
All Implemented Interfaces:
ExtensionPoint, Describable<org.jenkinsci.plugins.workflow.steps.Step>, Serializable

public class SaneRelatedJobChecker extends org.jenkinsci.plugins.workflow.steps.Step implements Serializable
This class solves the orthogonal problem of checking the status of multiple upstream jobs for successful build status.
See Also:
  • Constructor Details

    • SaneRelatedJobChecker

      @DataBoundConstructor public SaneRelatedJobChecker(ArrayList<String> deps)
  • Method Details

    • getHasRun

      public boolean getHasRun()
    • setHasRun

      @DataBoundSetter public void setHasRun(boolean hasRun)
    • getJobExists

      public boolean getJobExists()
    • setJobExists

      @DataBoundSetter public void setJobExists(boolean jobExists)
    • getInQueue

      public boolean getInQueue()
    • setInQueue

      @DataBoundSetter public void setInQueue(boolean inQueue)
    • getIsBuilding

      public boolean getIsBuilding()
    • setIsBuilding

      @DataBoundSetter public void setIsBuilding(boolean isBuilding)
    • setDeps

      public void setDeps(ArrayList<String> deps)
      This option sets the list of upstream projects that need to be validated for successful builds before this job executes.
    • getDeps

      public ArrayList<String> getDeps()
      This method returns the current list of upstream projects that need to be validated for successful builds before this job executes.
      Returns:
    • start

      public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception
      Specified by:
      start in class org.jenkinsci.plugins.workflow.steps.Step
      Throws:
      Exception
    • getIsSuccess

      public boolean getIsSuccess()
    • setIsSuccess

      @DataBoundSetter public void setIsSuccess(boolean isSuccess)