@@ -14,14 +14,17 @@ A pipeline's jobs are listed under [`pipeline.jobs`](pipelines/index.md#pipeline
1414
1515??? warning "** ` name ` ** : [ ` identifier ` ] ( config-basics.md#identifier-schema ) (required)"
1616
17+ ### `name`
1718 The name of the job. This should be short; it will show up in URLs. If you want to rename a job, use `job.old_name`.
1819
1920??? warning "` steps ` : [ ` [step] ` ] ( steps/index.md ) (required)"
2021
22+ ### `steps`
2123 The sequence of [steps](steps/index.md) to execute.
2224
2325??? info "** ` old_name ` ** : [ ` identifier ` ] ( config-basics.md#identifier-schema ) "
2426
27+ ### `old_name`
2528 The old name of the job. If configured, the history of old job will be inherited to the new one. Once the pipeline
2629 is set, this field can be removed as the builds have been transfered.
2730
@@ -48,10 +51,12 @@ A pipeline's jobs are listed under [`pipeline.jobs`](pipelines/index.md#pipeline
4851
4952??? info "** ` serial ` ** : [ ` boolean ` ] ( config-basics.md#boolean-schema ) "
5053
54+ ### `serial`
5155 _Default `false`_. If set to `true`, builds will queue up and execute one-by-one, rather than executing in parallel.
5256
5357??? info "** ` serial_groups ` ** : [ ` [identifier] ` ] ( config-basics.md#identifier-schema ) "
5458
59+ ### `serial_groups`
5560 _Default `[]`_. When set to an array of arbitrary tag-like strings, builds of this job and other jobs referencing
5661 the same tags will be serialized.
5762
@@ -82,11 +87,13 @@ A pipeline's jobs are listed under [`pipeline.jobs`](pipelines/index.md#pipeline
8287
8388??? info "** ` max_in_flight ` ** : [ ` number ` ] ( config-basics.md#number-schema ) "
8489
90+ ### `max_in_flight`
8591 If set, specifies a maximum number of builds to run at a time. If `serial` or `serial_groups` are set, they take
8692 precedence and force this value to be `1`.
8793
8894??? info "** ` build_log_retention ` ** : [ ` build_log_retention_policy ` ] ( #build_log_retention_policy-schema ) "
8995
96+ ### `build_log_retention`
9097 Configures the retention policy for build logs. This is useful if you have a job that runs often but after some
9198 amount of time the logs aren't worth keeping around.
9299
@@ -117,7 +124,7 @@ A pipeline's jobs are listed under [`pipeline.jobs`](pipelines/index.md#pipeline
117124 the `builds` configuration. And if they all happened to have failed, the `minimum_succeeded_builds` will keep
118125 around at least one successful build. All policies operate independently.
119126
120- ### `build_log_retention_policy` schema
127+ #### `build_log_retention_policy` schema
121128
122129 ??? info "**`days`**: [`number`](config-basics.md#number-schema)"
123130
@@ -138,6 +145,7 @@ A pipeline's jobs are listed under [`pipeline.jobs`](pipelines/index.md#pipeline
138145
139146??? info "` public ` : [ ` boolean ` ] ( config-basics.md#boolean-schema ) "
140147
148+ ### `public`
141149 _Default `false`_. If set to `true`, the build log of this job will be viewable by unauthenticated users.
142150 Unauthenticated users will always be able to see the inputs, outputs, and build status history of a job. This is
143151 useful if you would like to expose your pipeline publicly without showing sensitive information in the build log.
@@ -150,37 +158,44 @@ A pipeline's jobs are listed under [`pipeline.jobs`](pipelines/index.md#pipeline
150158
151159??? info "` disable_manual_trigger ` : [ ` boolean ` ] ( config-basics.md#boolean-schema ) "
152160
161+ ### `disable_manual_trigger`
153162 _Default `false`_. If set to `true`, manual triggering of the job (via the web UI or
154163 [`fly trigger-job`](#fly-trigger-job)) will be disabled.
155164
156165??? info "` interruptible ` : [ ` boolean ` ] ( config-basics.md#boolean-schema ) "
157166
167+ ### `interruptible`
158168 _Default `false`_. Normally, when a worker is shutting down it will wait for builds with containers running on that
159169 worker to finish before exiting. If this value is set to `true`, the worker will not wait on the builds of this job.
160170 You may want this if you have a self-deploying Concourse or long-running-but-low-importance jobs.
161171
162172??? info "` on_success ` : [ ` step ` ] ( steps/index.md ) "
163173
174+ ### `on_success`
164175 Step to execute when the job succeeds. Equivalent to the [`on_success`](steps/modifier-and-hooks/on-success.md)
165176 hook.
166177
167178??? info "` on_failure ` : [ ` step ` ] ( steps/index.md ) "
168179
180+ ### `on_failure`
169181 Step to execute when the job fails. Equivalent to the [`on_failure`](steps/modifier-and-hooks/on-failure.md)
170182 hook.
171183
172184??? info "` on_error ` : [ ` step ` ] ( steps/index.md ) "
173185
186+ ### `on_error`
174187 Step to execute when the job errors. Equivalent to the [`on_error`](steps/modifier-and-hooks/on-error.md)
175188 hook.
176189
177190??? info "` on_abort ` : [ ` step ` ] ( steps/index.md ) "
178191
192+ ### `on_abort`
179193 Step to execute when the job aborts. Equivalent to the [`on_abort`](steps/modifier-and-hooks/on-abort.md)
180194 hook.
181195
182196??? info "` ensure ` : [ ` step ` ] ( steps/index.md ) "
183197
198+ ### `ensure`
184199 Step to execute regardless of whether the job succeeds, fails, errors, or aborts. Equivalent to the
185200 [`ensure`](steps/modifier-and-hooks/ensure.md) hook.
186201
0 commit comments