From b6948375466b3bdeac9c01eabb284e88d65a8837 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Fri, 2 Dec 2016 12:55:25 +0100 Subject: use Naginator plugin to retry git cloning in case of alioth/network failures - done for all jobs using git checkouts except those in job-cfg/d-i.yaml Signed-off-by: Holger Levsen --- job-cfg/piuparts.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'job-cfg/piuparts.yaml') diff --git a/job-cfg/piuparts.yaml b/job-cfg/piuparts.yaml index 9085d36e..90245821 100644 --- a/job-cfg/piuparts.yaml +++ b/job-cfg/piuparts.yaml @@ -34,6 +34,11 @@ recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org' - trigger: project: '{my_trigger}' + - naginator: + progressive-delay-increment: 5 + progressive-delay-maximum: 15 + max-failed-builds: 5 + regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch' builders: - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}' @@ -45,6 +50,11 @@ recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org' - trigger: project: '{my_trigger}' + - naginator: + progressive-delay-increment: 5 + progressive-delay-maximum: 15 + max-failed-builds: 5 + regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch' builders: - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}' @@ -59,6 +69,11 @@ recipients: 'jenkins+debian-qa qa-jenkins-scm@lists.alioth.debian.org piuparts-devel@lists.alioth.debian.org' - trigger: project: '{my_trigger}' + - naginator: + progressive-delay-increment: 5 + progressive-delay-maximum: 15 + max-failed-builds: 5 + regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch' builders: - shell: '/srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}' @@ -71,6 +86,11 @@ - archive: artifacts: '*_*.dsc, *_*.tar.*, *_*_*.deb, *_*_*.changes' latest-only: true + - naginator: + progressive-delay-increment: 5 + progressive-delay-maximum: 15 + max-failed-builds: 5 + regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch' builders: - shell: 'export ARTIFACTS=true ; /srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}' @@ -85,6 +105,11 @@ - archive: artifacts: '*_*.dsc, *_*.tar.*, *_*_*.deb, *_*_*.changes' latest-only: true + - naginator: + progressive-delay-increment: 5 + progressive-delay-maximum: 15 + max-failed-builds: 5 + regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch' builders: - shell: 'export ARTIFACTS=true ; /srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}' @@ -99,6 +124,11 @@ - archive: artifacts: '*_*.dsc, *_*.tar.*, *_*_*.deb, *_*_*.changes' latest-only: true + - naginator: + progressive-delay-increment: 5 + progressive-delay-maximum: 15 + max-failed-builds: 5 + regular-expression: 'Caused by: hudson.plugins.git.GitException: Command "git fetch' builders: - shell: 'export ARTIFACTS=true ; /srv/jenkins/bin/chroot-run.sh {my_distro} {my_shell}' -- cgit v1.2.3-54-g00ecf