From 24251269f64c4d5e4868da6ffcecc6fc9ffb3f4b Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Mon, 10 Aug 2020 10:15:51 +0200 Subject: [PATCH] [CI] add more resilience --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index e42ba5c6476..2d3a711fa13 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1026,7 +1026,7 @@ def installTools() { } else { // Install python3 with the specific step, even though install-tools.bat will verify if it's there anyway. // TODO: as soon as python3 is installed in the CI Workers we will be able to remove the line below. - installTools([ [tool: 'python3', version: '3.8', exclude: 'rc'] ]) + retryWithSleep(retries: i, seconds: 5, backoff: true){ installTools([ [tool: 'python3', version: '3.8', exclude: 'rc'] ]) } retryWithSleep(retries: i, seconds: 5, backoff: true){ bat(label: "Install Go/Mage/Python ${GO_VERSION}", script: ".ci/scripts/install-tools.bat") } } }