Abort
Abort (abort)
Abort the job if the condition is met.
Control json
Minimal example
actions: - abort: condition: "" message: ~JSON
{ "actions": [ { "abort": { "condition": "", "message": null } } ]}Contents
Fields
| Field | Type | Required | Description |
|---|---|---|---|
condition Condition | lua-expression (string) | ✅ | Run this action if the specified condition is met. Examples: 2 * count() |
message Behaviour | string | ✅ | Emit this log warning when the job aborts. |
description General | string | describe this step. |
General
Show fields
| Field | Type | Required | Description |
|---|---|---|---|
description | string | describe this step. |
Condition
Show fields
| Field | Type | Required | Description |
|---|---|---|---|
condition | lua-expression (string) | ✅ | Run this action if the specified condition is met. Examples: 2 * count() |
Behaviour
Show fields
| Field | Type | Required | Description |
|---|---|---|---|
message | string | ✅ | Emit this log warning when the job aborts. |