Set sensible default timeouts for packer jobs 25/5625/2
authorAnil Belur <abelur@linuxfoundation.org>
Tue, 25 Jul 2017 03:01:23 +0000 (13:01 +1000)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 25 Jul 2017 15:48:27 +0000 (11:48 -0400)
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 <abelur@linuxfoundation.org>
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/lf-ci-jobs.yaml

index 0a5d771..e0aee72 100644 (file)
 - 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:
     # Default parameters #
     ######################
 
+    build-timeout: 10
     git-url: '$GIT_URL/$GERRIT_PROJECT'
 
     #####################
     # yamllint disable-line rule:key-duplicates
     <<: *lf_packer_verify_builders
 
+    ######################
+    # Default parameters #
+    ######################
+
+    build-timeout: 10
+
     #####################
     # Job Configuration #
     #####################