Skip to content

Commit 9dcbfb6

Browse files
author
Peio Rigaux
committed
Fix/4.4 retry job when runner system failure
retry up to 2 times in case of a runner failure (mostly docker socket)
1 parent 459611c commit 9dcbfb6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.gitlab-ci.yml

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ variables:
1919
.job-prepare:
2020
variables:
2121
ALL_JOB_VARIABLE: ""
22+
retry:
23+
max: 2
24+
when: runner_system_failure
2225

2326
include:
2427
- '.gitlab-ci-files/job-linux-prepare.yml'

0 commit comments

Comments
 (0)