1.11 Steps
Each job has a single build plan configured as
. A build plan is a recipe for what to run when a build of the job is created.
A build plan is a sequence of steps:
the
set_pipeline
step configures a pipelinethe
load_var
step loads a value into a local varthe
in_parallel
step runs steps in parallelthe
do
step runs steps in sequencethe
across
step modifier runs a step multiple times; once for each combination of variable valuesthe
try
step attempts to run a step and succeeds even if the step fails
When a new version is available for a get
step with trigger: true
configured, a new build of the job will be created from the build plan.
When viewing the job in the pipeline, resources that are used as get
steps appear as inputs, and resources that are used in put
steps appear as outputs. Jobs are rendered downstream of any jobs they reference in passed
constraints, connected by the resource.
If any step in the build plan fails, the build will fail and subsequent steps will not be executed. Additional steps may be configured to run after failure by configuring
or
(or the job equivalents,
and
).
step
schema
-
1.11.1
get
step -
1.11.2
put
step -
1.11.3
task
step -
1.11.4
set_pipeline
step -
1.11.5
load_var
step -
1.11.6
in_parallel
step -
1.11.7
do
step -
1.11.8
try
step -
1.11.9
Modifier And Hook Steps
-
1.11.9.1
across
Step Modifier -
1.11.9.2
timeout
Step Modifier -
1.11.9.3
attempts
Step Modifier -
1.11.9.4
tags
Step Modifier -
1.11.9.5
on_success
Step Hook -
1.11.9.6
on_failure
Step Hook -
1.11.9.7
on_abort
Step Hook -
1.11.9.8
on_error
Step Hook -
1.11.9.9
ensure
Step Hook
-
1.11.9.1