Fix Git URL 21/37621/4
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 14 Apr 2016 14:22:46 +0000 (10:22 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 14 Apr 2016 15:35:13 +0000 (11:35 -0400)
- Fix Git URL for validate-autorelease jobs to clone autorelease
- Increase submodules timeout to 15 minutes

Increase the timeout for cloning submodules from 10 to 15 minutes. The
validate-autorelease often times out after 10 minutes so lets see if
bumping it helps at all.

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

index eb8ad4e1c0615153c75d5647fd8803b7ca5ea3cc..de17a9a0cabb95ee6364d886f53284ea7a0c12a1 100644 (file)
             release-branch: '{branch}'
         - autorelease-release-datestamp:
             datestamp: true
+        - string:
+            name: CLONE_URL
+            default: 'ssh://jenkins-$SILO@git.opendaylight.org:29418/releng/autorelease'
+            description: "Autorelease clone URL"
 
     scm:
         - git:
-            url: '$GIT_BASE'
+            url: '$CLONE_URL'
             refspec: ''
             branches:
                 - 'origin/{branch}'
@@ -35,6 +39,7 @@
             shallow-clone: true
             submodule:
                 recursive: true
+                timeout: 15
 
     wrappers:
         - autorelease-build-timeout