Skip to content

Access or iterate all Task variables #2780

@piotrgwiazda

Description

@piotrgwiazda

Description

Have a way to access (as a dictionary?) or iterate over task variables. Especially required vars that were passed to task.
Useful to log all variables or pass-through all variables to shell script using e.g. {{ toJson .TASK_REQUIRED_VARS }}

I know I can use {{toJson . }} but it pichs all ENV variables as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    state: needs triageWaiting to be triaged by a maintainer.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions