The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.
For a list of other such plugins, see the Pipeline Steps Reference page.
milestone
: The milestone step forces all builds to go through in orderBy default, Pipeline builds can run concurrently.
The milestone step forces all builds to go through in order, so an older build will never be allowed pass a milestone (it is aborted) if a newer build already passed it.
In general this step grants:
ordinal : int
An optional ordinal for the milestone. It is autogenerated if not explicitly set.
Setting explicit milestone ordinals grants that each milestone can be univocally identified across builds even when script changes are made during a previous build. If you plan to add or remove milestone steps while there are running builds and trigger new builds before the previous ones finished, then you should set explicit milestone ordinals. Otherwise, let the step autogenerate them as it runs.
label : String
(optional)
A label for the milestone. It's shown in the build log metadata.
unsafe : boolean
(optional)
An optional flag to allow unsafe execution of the milestone step. Do not set unless you understand the risks.
Currently this will allow the execution of a milestone step within a parallel step. It is assumed only 1 branch can contain a milestone step.
Please submit your feedback about this page through this quick form.
Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?
See existing feedback here.