Class MilestoneStep
java.lang.Object
hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
org.jenkinsci.plugins.workflow.steps.Step
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.Step
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 SummaryNested ClassesNested classes/interfaces inherited from interface hudson.ExtensionPointExtensionPoint.LegacyInstancesAreScopedToHudson
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.jenkinsci.plugins.workflow.steps.StepgetDescriptor
- 
Constructor Details- 
MilestoneStep
 
- 
- 
Method Details- 
setLabel
- 
setUnsafe@DataBoundSetter public void setUnsafe(boolean unsafe) 
- 
getLabel
- 
getOrdinal
- 
isUnsafepublic boolean isUnsafe()
- 
startpublic org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception - Specified by:
- startin class- org.jenkinsci.plugins.workflow.steps.Step
- Throws:
- Exception
 
 
-