From d734dc571f8792dd0b5516f5ea67d184f308b21f Mon Sep 17 00:00:00 2001 From: Sergejs Kostjucenko <85877331+sergejparity@users.noreply.github.com> Date: Wed, 17 Nov 2021 15:07:09 +0200 Subject: [PATCH] Add retry failed CI jobs twice (#878) --- .gitlab-ci.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0f6a36b241..4b9c836c26 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,6 +13,12 @@ variables: default: cache: {} + retry: + max: 2 + when: + - runner_system_failure + - unknown_failure + - api_failure workflow: rules: