You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _docs/pipelines/specifications.md
+7-2Lines changed: 7 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -103,6 +103,10 @@ The priority (override behavior) is as follows, from highest to lowest:
103
103
|`spec.mode`| The execution mode for the pipeline. Leave empty to use the default. <br>Can be one of the following:{::nomarkdown}<ul><li><codeclass=highlighter-rouge>sequential</code>: The default, executes the steps in the order in which they are listed.</li><li><codeclass=highlighter-rouge>parallel</code>: Evaluates all step conditions at the same time and executes those steps that meet the requirements in parallel. Parallel execution mode allows you to order steps in ways not possible with sequential mode.</li></ul>{:/}See[Advanced workflows for pipelines]({{site.baseurl}}/docs/pipelines/advanced-workflows/).| string| Optional|
104
104
|`spec.fail_fast`| Determines pipeline execution behavior in case of step failure. Leave empty to use the default. {::nomarkdown}<ul><li><codeclass="highlighter-rouge">true</code>: The default, terminates pipeline execution upon step failure. The Build status returns <codeclass="highlighter-rouge">Failed to execute</code>.</li><li><codeclass="highlighter-rouge">false</code>: Continues pipeline execution upon step failure. The Build status returns <codeclass="highlighter-rouge">Build completed successfully</code>. <br>To change the Build status, set <codeclass="highlighter-rouge">spec.strict_fail_fast</code> to <codeclass="highlighter-rouge">true</code>.</li></ul>{:/}| boolean| Optional|
105
105
| `spec.strict_fail_fast` | Specifies how to report the Build status when `fail_fast` is set to `false`.<br>**NOTE**:<br>Requires Runner chart v6.3.9 or higher.<br><br>You can set the Build status reporting behavior at the root-level or at the step-level for the pipeline.{::nomarkdown}<ul><li><code class="highlighter-rouge">true</code>:<ul><li>When set at the <i>root-level</i>, returns a Build status of failed when any step in the pipeline with <code class="highlighter-rouge">fail_fast=false</code> fails to execute.</li><li>When set at the <i>step-level</i>, returns a Build status of failed when any step in the pipeline with <code class="highlighter-rouge">fail_fast=false</code> and <code class="highlighter-rouge">strict_fail_fast=true</code> fails to execute.</li></ul></li><li><code class="highlighter-rouge">false</code>:<ul><li>When set at the <i>root-level</i>, returns a Build status of successful when any step in the pipeline with <code class="highlighter-rouge">fail_fast=false</code> fails to execute.</li></ul> {:/} |
106
+
|`spec.concurrency`| The maximum number of concurrent builds for the pipeline, ranging from`0`, the default, to`14`, ????or unlimited. Define the concurrency when your pipeline has only one trigger. <br>When set to`0`, freezes execution of the pipeline, switching it to maintenance mode. Use this concurrency setting to modify existing pipelines and freeze execution until you complete the changes.|integer| Optional|
107
+
|`spec.triggerConcurrency`| The maximum number of concurrent builds per trigger, ranging from`1-15`, or unlimited. Define the trigger concurrency when your pipeline has multiple triggers.| integer| Optional|
108
+
|`spec.branchConcurrency`| The maximum number of concurrent builds per branch, ranging from`1-15`, or unlimited. Define the branch concurrency when your pipeline can run builds on different branches.| integer| Optional|
109
+
|`spec.priority`| The priority of the pipeline build, determining the order in which the build is queued. The priority can range from`100` (highest priority), to`-100`(lowest priority), with`0` as the default.|
106
110
|`spec.debug.steps.phases`|The phase or stage at which the debug step should run.{::nomarkdown}<ul><li><codeclass="highlighter-rouge">before</code>: The step runs before the build starts.</li><li><codeclass="highlighter-rouge">after</code>: The step runs after the build starts.</li><li><codeclass="highlighter-rouge">override</code>: ???.</li></ul> {:/}|boolean| Optional|
107
111
108
112
@@ -113,6 +117,7 @@ The priority (override behavior) is as follows, from highest to lowest:
113
117
114
118
115
119
120
+
116
121
###spec.triggers
117
122
118
123
{: .table .table-bordered .table-hover}
@@ -141,15 +146,15 @@ The priority (override behavior) is as follows, from highest to lowest:
141
146
|`spec.triggers.gerritCIStatusLabels`| The labels indicating the CI status.| array| Optional|
142
147
|`spec.triggers.context`| The name of the Git integration to use.| string| Optional|
143
148
|`spec.triggers.concurrency`| The maximum number of concurrent builds for this trigger, and can range from`1` (the default), to`15`, or unlimited). Define the trigger concurrency when your pipeline has multiple triggers.| string| Optional|
144
-
|`spec.triggers.priority`| ??| integer| Optional|
149
+
|`spec.triggers.priority` | The priority for the specific trigger determining the order in which the trigger is executed.<br>The priority can range from`100` (highest priority) to`-100` (lowest priority), with`0` as the default.
150
+
| integer| Optional|
145
151
|`spec.triggers.terminationPolicy`| The options that determine when to terminate the build from the pipeline. See[spec.terminationPolicy](#specterminationpolicy).| integer| Optional|
146
152
147
153
148
154
149
155
150
156
151
157
152
-
153
158
###spec.triggers.events
154
159
155
160
Trigger events depend on and are specific to every Git provider.