From 9f66ef0e2e118a89a069fb774bc261a400014238 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Sat, 5 Aug 2017 12:18:19 -0400 Subject: chroot-installs: use naginator plugin to retry failed job runs Signed-off-by: Holger Levsen --- job-cfg/chroot-installation.yaml.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/job-cfg/chroot-installation.yaml.py b/job-cfg/chroot-installation.yaml.py index 73a83dbe..5cc46a25 100755 --- a/job-cfg/chroot-installation.yaml.py +++ b/job-cfg/chroot-installation.yaml.py @@ -265,7 +265,11 @@ data.append( 'recipients': '{my_recipients}', 'subject': '$BUILD_STATUS: $JOB_NAME/$BUILD_NUMBER'}}, { 'logparser': { 'parse-rules': '/srv/jenkins/logparse/chroot-installation.rules', - 'unstable-on-warning': True,}}], + 'unstable-on-warning': True,}}, + { 'naginator': { 'progressive-delay-increment': 5, + 'progressive-delay-maximum': 15, + 'max-failed-builds': 3, + 'regular-expression': '^E: Couldn.t download .*/Packages'}}], 'triggers': [{ 'timed': '{my_time}'}], 'wrappers': [{ 'timeout': { 'timeout': 360}}]}}) data.append( -- cgit v1.2.3-70-g09d2