The following plugin provides functionality available through Pipeline-compatible steps. Read more about how to integrate steps into your Pipeline in the Steps section of the Pipeline Syntax page.

For a list of other such plugins, see the Pipeline Steps Reference page.

Smart Retry

smartRetry: Retry a Pipeline block for transient infrastructure failures

  • backoff : String (optional)
    Optional per-step override for retry delay strategy. fixed keeps the same delay between attempts. exponential increases the delay for later attempts. Leave empty to use the Jenkins global default.
  • initialDelaySeconds : int (optional)
    Optional per-step override for the base delay, in seconds, before the first retry attempt. Leave empty to use the Jenkins global default.
  • maxRetries : int (optional)
    Optional per-step override for the retry limit. Leave empty to use the Jenkins global default.
  • profile : String (optional)
    Choose which Smart Retry profile should decide whether a failure is worth retrying. Leave this empty to use the Jenkins global default. Built-in profiles are conservative and infra.

Was this page helpful?

Please submit your feedback about this page through this quick form.

Alternatively, if you don't wish to complete the quick form, you can simply indicate if you found this page helpful?

    


See existing feedback here.