Default for Declarative agent retries

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      You can now specify the retries option for Declarative pipelines using either generic label selection or Kubernetes pod templates. However this must be opted into from every project—an administrator cannot set a general default policy to improve service availability.

      One option would be a GlobalConfiguration in pipeline-model-definition supplying a default for RetryableDeclarativeAgent.retries in all cases, or perhaps for a specific label.

      A Kubernetes-only option would be a nice field in KubernetesCloud giving a default for KubernetesDeclarativeAgent.retries.

      It is not really possible to define a default for Scripted Pipeline since use of the new system requires running the retry step.

            Assignee:
            Unassigned
            Reporter:
            Jesse Glick
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: