summaryrefslogtreecommitdiffstats
path: root/jjb/global-macros.yaml
diff options
context:
space:
mode:
authorEric Ball <eball@linuxfoundation.org>2018-09-28 13:08:13 -0700
committerEric Ball <eball@linuxfoundation.org>2018-09-28 13:45:18 -0700
commit272a5c455974c7fd51b610a994810b268e5aa5d0 (patch)
tree6397b47e0395113d1f4737629e2c6738c9451c56 /jjb/global-macros.yaml
parent8e74e612c8d22a70e433ff7f034c0c11ec96978b (diff)
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 <eball@linuxfoundation.org>
Diffstat (limited to 'jjb/global-macros.yaml')
-rw-r--r--jjb/global-macros.yaml14
1 files changed, 14 insertions, 0 deletions
diff --git a/jjb/global-macros.yaml b/jjb/global-macros.yaml
index 8bca2e06..92c881fb 100644
--- a/jjb/global-macros.yaml
+++ b/jjb/global-macros.yaml
@@ -156,6 +156,20 @@
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:
- git: