From 272a5c455974c7fd51b610a994810b268e5aa5d0 Mon Sep 17 00:00:00 2001 From: Eric Ball Date: Fri, 28 Sep 2018 13:08:13 -0700 Subject: Update ci-management submodules recursively To enable compatibility with global-jjb, the scm needs to update submodules recursively. Adding the param to the old scm would require changing every reference to that object, so a new scm was created. Change-Id: Ib514d06891f50a24bb2f38449b5b094db602f7e6 Signed-off-by: Eric Ball --- jjb/global-macros.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'jjb/global-macros.yaml') diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml index 8bca2e067..92c881fb9 100644 --- a/jjb/global-macros.yaml +++ b/jjb/global-macros.yaml @@ -155,6 +155,20 @@ skip-tag: true choosing-strategy: '{choosing-strategy}' +- scm: + name: gerrit-trigger-scm-recursive + scm: + - git: + credentials-id: '{credentials-id}' + url: '$GIT_BASE' + refspec: '{refspec}' + branches: + - 'origin/$GERRIT_BRANCH' + skip-tag: true + choosing-strategy: '{choosing-strategy}' + submodule: + recursive: '{submodule-recursive}' + - scm: name: zuul-trigger-scm scm: -- cgit 1.2.3-korg