From 76eab87ffe09d31e67744b01e67336c5f3a6ac86 Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Tue, 25 Jul 2017 13:01:23 +1000 Subject: [PATCH] Set sensible default timeouts for packer jobs Set the build timeout for verify job to 10 minutes and merge job to 45 minutes based on evaluation of average build timeouts in OpenDaylight's packer job runs. https://jenkins.opendaylight.org/releng/view/packer Change-Id: If97eab52f23952fd141888a7618b4bd8a502dd70 Signed-off-by: Anil Belur Signed-off-by: Thanh Ha --- jjb/lf-ci-jobs.yaml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/jjb/lf-ci-jobs.yaml b/jjb/lf-ci-jobs.yaml index 0a5d7713..e0aee723 100644 --- a/jjb/lf-ci-jobs.yaml +++ b/jjb/lf-ci-jobs.yaml @@ -105,9 +105,16 @@ - lf_packer: &lf_packer_common name: lf-packer-common # Adds wrappers and parameters sections common to packer jobs. + + ###################### + # Default parameters # + ###################### + + build-timeout: 45 + wrappers: - lf-infra-wrappers: - build-timeout: 60 + build-timeout: '{build-timeout}' jenkins-ssh-credential: '{jenkins-ssh-credential}' parameters: @@ -419,6 +426,7 @@ # Default parameters # ###################### + build-timeout: 10 git-url: '$GIT_URL/$GERRIT_PROJECT' ##################### @@ -505,6 +513,12 @@ # yamllint disable-line rule:key-duplicates <<: *lf_packer_verify_builders + ###################### + # Default parameters # + ###################### + + build-timeout: 10 + ##################### # Job Configuration # ##################### -- 2.16.6