Skip to content
Snippets Groups Projects
Commit bbb91304 authored by catch's avatar catch
Browse files

Issue #3390658 by longwave, bbrala: GitLab should retry jobs that fail outside test failures

parent e671a925
No related branches found
No related tags found
No related merge requests found
......@@ -64,6 +64,14 @@ stages:
.default-job-settings: &default-job-settings-lint
interruptible: true
allow_failure: false
retry:
max: 2
when:
- unknown_failure
- api_failure
- stuck_or_timeout_failure
- runner_system_failure
- scheduler_failure
variables:
_TARGET_PHP: "8.2"
_TARGET_DB: "sqlite-3"
......
......@@ -23,6 +23,14 @@ stages:
.default-job-settings: &default-job-settings
interruptible: true
allow_failure: false
retry:
max: 2
when:
- unknown_failure
- api_failure
- stuck_or_timeout_failure
- runner_system_failure
- scheduler_failure
image:
name: $_CONFIG_DOCKERHUB_ROOT/php-$_TARGET_PHP-apache:production
rules:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment