Actions contexts
Action Contexts
Context name
Description
inputs context
inputs contextProperty name
Type
Description
state context
state contextProperty name
Type
Description
Last updated
Was this helpful?
This page describes contexts that actions can use in expressions for calculating YAML attribute values.
inputs
Contains a mapping of action input values. For more information, see inputs context.
state
Contains a mapping of state entries of a stateful action. For more information, see state context.
inputs contextContains action inputs described in the action.inputs attribute and set using jobs.<job-id>.args or tasks.args.
inputs.<param-name>
str
The value of a specific action input.
state contextContains state values generated by the main task of a stateful action. Refer to the save-state command reference to learn how to generate such values.
state.<entry-name>
str
The value of a specific state entry.
Last updated
Was this helpful?
Was this helpful?