Merge "Revert "Enable shallow clone for git repos""
[releng/builder.git] / jjb-templates / validate-autorelease.yaml
index 281122ba068c007051c0dbab357e7a6c1ee58cb2..e2c5329a64ff874b512c00f69f92fcb371a136ba 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: 'https://git.opendaylight.org/gerrit/releng/autorelease'
+            url: '$CLONE_URL'
             refspec: ''
             branches:
                 - 'origin/{branch}'
             skip-tag: true
             submodule:
                 recursive: true
+                timeout: 15
 
     wrappers:
         - autorelease-build-timeout