Skip to content

When Step

Executes a pipeline conditionally.

Properties:

  • condition: The condition that must evaluate to true for the pipeline to execute.
  • pipeline: The name of the pipeline that will be executed if the condition is met.

Example:

- when:
condition: "{{.data.createBasicStructure }}"
pipeline: "generateBasicStructure"