From: Thanh Ha Date: Tue, 12 Apr 2016 16:18:45 +0000 (-0400) Subject: Enable shallow clone for git repos X-Git-Tag: release/beryllium-sr2~54 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=releng%2Fbuilder.git;a=commitdiff_plain;h=46c6d190447506ca5a83d4f0033034f69f2c71ee Enable shallow clone for git repos Change-Id: I25cbc70dfb7b8fa29bf022c42711c31d07ca6969 Signed-off-by: Thanh Ha --- diff --git a/jjb-templates/validate-autorelease.yaml b/jjb-templates/validate-autorelease.yaml index 281122ba0..382e6451a 100644 --- a/jjb-templates/validate-autorelease.yaml +++ b/jjb-templates/validate-autorelease.yaml @@ -32,6 +32,7 @@ branches: - 'origin/{branch}' skip-tag: true + shallow-clone: true submodule: recursive: true diff --git a/jjb/integration/integration-macros.yaml b/jjb/integration/integration-macros.yaml index c180baec8..c4a629d7a 100644 --- a/jjb/integration/integration-macros.yaml +++ b/jjb/integration/integration-macros.yaml @@ -101,6 +101,7 @@ branches: - 'origin/{branch}' skip-tag: true + shallow-clone: true choosing-strategy: 'gerrit' # Macro: integration-distribution-scm @@ -118,6 +119,7 @@ branches: - 'origin/{branch}' skip-tag: true + shallow-clone: true # Macro: integration-trigger-patch-submitted # Operation: this macro sets a trigger for patch submitted on a path pattern diff --git a/jjb/releng-macros.yaml b/jjb/releng-macros.yaml index d56eb57c5..b188da33d 100644 --- a/jjb/releng-macros.yaml +++ b/jjb/releng-macros.yaml @@ -66,6 +66,7 @@ branches: - 'origin/{branch}' skip-tag: true + shallow-clone: true wipe-workspace: true - scm: @@ -78,6 +79,7 @@ branches: - 'origin/$GERRIT_BRANCH' skip-tag: true + shallow-clone: true choosing-strategy: '{choosing-strategy}' - wrapper: