Skip to content

Abort

Abort the job if the condition is met.

Control json

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