-
Improvement
-
Resolution: Unresolved
-
Major
-
None
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.
- relates to
-
JENKINS-49707 Auto retry for elastic agents after channel closure
- Resolved