Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 457 Bytes

repeatuntil.adoc

File metadata and controls

15 lines (11 loc) · 457 Bytes

repeat-until

The repeat-until command is how scripts can repeat a set of tasks until the run signals a specific condition. The command is created with a signal name and will invoke the then commands until the signal is reached.

- repeat-until: DONE
  then:
  - sleep: 60s #always include the sleep!
  - sh: jstack ${{pid}}
Important
Do not forget the sleep command in the then or the script will loop incredibly fast.