Skip to content

tower/job-wait-type

Polling mode used by tower-invoke-curl after a successful job launch

Selects the polling strategy used by the tower-invoke-curl task after the initial job launch POST succeeds.

Allowed values:

  • none (default): No polling. The task exits as soon as the POST returns a 2xx response. This preserves the historical behavior of the task.
  • simple: Poll at a fixed interval (tower/job-poll-interval) until either a terminal status is observed or tower/job-poll-max-wait seconds elapse.
  • exponential: Poll with exponential backoff starting at tower/job-poll-interval seconds. Each iteration doubles the interval. Total elapsed time is capped at tower/job-poll-max-wait seconds.

When polling is enabled (any value other than none), the following parameters are required on the machine:

  • tower/job-poll-url
  • tower/job-poll-status-map

Polling also writes / clears tower/job-id and tower/job-poll-state on the machine as it progresses. See those params for details.

Objects that Reference tower/job-wait-type

Objects used by tower/job-wait-type

Not used in current content packs