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
Behaviour
Behaviour
| Field | Type | Required | Description |
|---|---|---|---|
message | string | ✅ | Emit this log warning when the job aborts. |
Condition
Condition
| Field | Type | Required | Description |
|---|---|---|---|
condition | lua-expression (string) | ✅ | Run this action if the specified condition is met. Examples: 2 * count() |
General
General
| Field | Type | Required | Description |
|---|---|---|---|
description | string | describe this step. |