if>: Conditional execution

(This operator is EXPERIMENTAL. Parameters may change in a future release)

if> operator runs _do subtasks if true is given.

  if>: ${param}
    echo>: ${param} == true

_else_do subtasks are executed if false is given as the operator’s condition..

  if>: ${param}
    echo>: ${param} == true
    echo>: ${param} == false


  • if>: BOOLEAN

    true or false.

  • _do: TASKS

    Tasks to run if true is given.

  • _else_do: TASKS

    Tasks to run if false is given.

Note: _do or _else_do must be specified.