From 46c6d190447506ca5a83d4f0033034f69f2c71ee Mon Sep 17 00:00:00 2001 From: Thanh Ha Date: Tue, 12 Apr 2016 12:18:45 -0400 Subject: [PATCH] Enable shallow clone for git repos Change-Id: I25cbc70dfb7b8fa29bf022c42711c31d07ca6969 Signed-off-by: Thanh Ha --- jjb-templates/validate-autorelease.yaml | 1 + jjb/integration/integration-macros.yaml | 2 ++ jjb/releng-macros.yaml | 2 ++ 3 files changed, 5 insertions(+) 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: -- 2.36.6