From 650012fb088dcfc6fd77b3f06d026c31cfc44a9e Mon Sep 17 00:00:00 2001 From: James Seibel Date: Tue, 10 Sep 2024 06:53:06 -0500 Subject: [PATCH] allow CI/CD to auto retry if there was a system failure --- .gitlab-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6f4eadabc..cacc55c27 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -24,6 +24,11 @@ variables: - .gradle - cache/ allow_failure: true + retry: + max: 2 + when: + - runner_system_failure + - stuck_or_timeout_failure build: