Set submodule cloning timeout to 60 minutes 93/40393/1
authorThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 15 Jun 2016 18:49:19 +0000 (14:49 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Wed, 15 Jun 2016 18:58:14 +0000 (14:58 -0400)
validate-autorelease seems to consistently take over 10 minutes to clone
lately due to the public cloud -> private cloud network. Let's bump the
timeout to 60 minutes to allow for spikes in clone time.

Also add missing credentials-id parameter.

Change-Id: Ie76805b67ea1fc69854761b7775c81a71278a5ec
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb-templates/validate-autorelease.yaml

index e7c5249e0335309113efaf62ebefa4593b11fba5..6dea6d0a15c268ec36ade10e881de1229e88c9e4 100644 (file)
     scm:
         - git:
             url: '$CLONE_URL'
+            credentials-id: '{ssh-credentials}'
             refspec: ''
             branches:
                 - 'origin/{branch}'
             skip-tag: true
             submodule:
                 recursive: true
+                timeout: 60
 
     wrappers:
         - autorelease-build-timeout