Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-70333

Default for Declarative agent retries

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.

            Unassigned Unassigned
            jglick Jesse Glick
            Votes:
            5 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: