Package io.jenkins.plugins.checks.steps
Class WithChecksStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
io.jenkins.plugins.checks.steps.WithChecksStep
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
,Serializable
public class WithChecksStep
extends org.jenkinsci.plugins.workflow.steps.Step
implements Serializable
Pipeline step that injects a
ChecksInfo
into the closure.- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
This step's descriptor which defines the function name ("withChecks") and required context.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
boolean
void
setIncludeStage
(boolean includeStage) org.jenkinsci.plugins.workflow.steps.StepExecution
start
(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) Methods inherited from class org.jenkinsci.plugins.workflow.steps.Step
getDescriptor
-
Constructor Details
-
WithChecksStep
Creates the step with a name to inject.- Parameters:
name
- name to inject
-
-
Method Details
-
getName
-
isIncludeStage
public boolean isIncludeStage() -
setIncludeStage
@DataBoundSetter public void setIncludeStage(boolean includeStage) -
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext stepContext) - Specified by:
start
in classorg.jenkinsci.plugins.workflow.steps.Step
-