Class SaneRelatedJobChecker
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:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDeps()This method returns the current list of upstream projects that need to be validated for successful builds before this job executes.booleanbooleanbooleanbooleanbooleanvoidThis option sets the list of upstream projects that need to be validated for successful builds before this job executes.voidsetHasRun(boolean hasRun) voidsetInQueue(boolean inQueue) voidsetIsBuilding(boolean isBuilding) voidsetIsSuccess(boolean isSuccess) voidsetJobExists(boolean jobExists) org.jenkinsci.plugins.workflow.steps.StepExecutionstart(org.jenkinsci.plugins.workflow.steps.StepContext context) Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Constructor Details
-
SaneRelatedJobChecker
-
-
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
This option sets the list of upstream projects that need to be validated for successful builds before this job executes. -
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:
startin classorg.jenkinsci.plugins.workflow.steps.Step- Throws:
Exception
-
getIsSuccess
public boolean getIsSuccess() -
setIsSuccess
@DataBoundSetter public void setIsSuccess(boolean isSuccess)
-