Allow global retry
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
Allow users to specify a global retry policy while allowing jobs to override or augment it.
retry:
max: 2
when:
- runner_system_failure
- stuck_or_timeout_failure
Intended users
Unknown
Further details
This simplifies job descriptions as currently you need to define a template job just with a retry declaration and then include it everywhere else.
A workaround would be:
.retry:
max: 2
when:
- runner_system_failure
- stuck_or_timeout_failure
job:
extends: .retry
...
Edited by 🤖 GitLab Bot 🤖