Class MilestoneStep
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.Step
-
- org.jenkinsci.plugins.workflow.steps.AbstractStepImpl
-
- org.jenkinsci.plugins.pipeline.milestone.MilestoneStep
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
public class MilestoneStep extends org.jenkinsci.plugins.workflow.steps.AbstractStepImpl
This step can be used to grant:- Builds pass through the step in order (taking the build number as sorter field)
- Older builds will not proceed (they are aborted) if a newer one already entered the milestone
- When a build passes a milestone, any older build that passed the previous milestone - but not this one - is aborted.
- Once a build passes the milestone, it will be never aborted by a newer build that didn't pass the milestone yet.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MilestoneStep.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description MilestoneStep(Integer ordinal)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLabel()
Integer
getOrdinal()
boolean
isUnsafe()
void
setLabel(String label)
void
setUnsafe(boolean unsafe)
-
-
-
Constructor Detail
-
MilestoneStep
@DataBoundConstructor public MilestoneStep(Integer ordinal)
-
-