From: Anil Belur Date: Tue, 25 Jul 2017 03:01:23 +0000 (+1000) Subject: Set sensible default timeouts for packer jobs X-Git-Tag: v0.5.3~1 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F25%2F5625%2F2;p=releng%2Fglobal-jjb.git 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 --- 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 # #####################