From 20cd778c5b0e67dcf842c2b29fd79505ec6dc473 Mon Sep 17 00:00:00 2001 From: Sebastien Boeuf Date: Thu, 6 Aug 2020 08:24:49 +0200 Subject: [PATCH] ci: Retry integration tests if failing Both gnu and musl workers will retry integration tests up to 3 times if they fail. This should give us a better pass rate, without having to restart the entire build every time a single glitch happens. Signed-off-by: Sebastien Boeuf --- Jenkinsfile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 8e96b4d38..63829eee5 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -61,6 +61,9 @@ pipeline{ } } stage ('Run integration tests') { + options { + retry(3) + } steps { sh "scripts/dev_cli.sh tests --integration" } @@ -84,6 +87,9 @@ pipeline{ } } stage ('Run integration tests for musl') { + options { + retry(3) + } steps { sh "scripts/dev_cli.sh tests --integration --libc musl" }