summaryrefslogtreecommitdiffstats
path: root/job-cfg/chroot-installation.yaml.py
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2017-08-05 12:18:19 -0400
committerHolger Levsen <holger@layer-acht.org>2017-08-05 12:25:42 -0400
commit9f66ef0e2e118a89a069fb774bc261a400014238 (patch)
tree914cbdc5f5114d56921054d1307c3c0d895032bd /job-cfg/chroot-installation.yaml.py
parent29bcb6faa035fc3bd2d0477de653f55dd73d1002 (diff)
downloadjenkins.debian.net-9f66ef0e2e118a89a069fb774bc261a400014238.tar.xz
chroot-installs: use naginator plugin to retry failed job runs
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'job-cfg/chroot-installation.yaml.py')
-rwxr-xr-xjob-cfg/chroot-installation.yaml.py6
1 files changed, 5 insertions, 1 deletions
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(