summaryrefslogtreecommitdiffstats
path: root/jjb/ci-management
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/ci-management
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/ci-management')
-rw-r--r--jjb/ci-management/ci-management-jobs.yaml12
1 files changed, 8 insertions, 4 deletions
diff --git a/jjb/ci-management/ci-management-jobs.yaml b/jjb/ci-management/ci-management-jobs.yaml
index cef4c9b1e..0139f164a 100644
--- a/jjb/ci-management/ci-management-jobs.yaml
+++ b/jjb/ci-management/ci-management-jobs.yaml
@@ -35,10 +35,11 @@
project: '{project}'
scm:
- - gerrit-trigger-scm:
+ - gerrit-trigger-scm-recursive:
credentials-id: 'jenkins-gerrit-credentials'
refspec: '$GERRIT_REFSPEC'
choosing-strategy: 'gerrit'
+ submodule-recursive: true
wrappers:
- fdio-infra-wrappers:
@@ -78,10 +79,11 @@
project: '{project}'
scm:
- - gerrit-trigger-scm:
+ - gerrit-trigger-scm-recursive:
credentials-id: 'jenkins-gerrit-credentials'
- refspec: ''
- choosing-strategy: 'default'
+ refspec: '$GERRIT_REFSPEC'
+ choosing-strategy: 'gerrit'
+ submodule-recursive: true
wrappers:
- fdio-infra-wrappers:
@@ -128,6 +130,7 @@
branches:
- '$GERRIT_BRANCH'
choosing-strategy: 'gerrit'
+ submodule-recursive: true
wrappers:
- fdio-infra-wrappers:
@@ -197,6 +200,7 @@
branches:
- '$GERRIT_BRANCH'
choosing-strategy: 'default'
+ submodule-recursive: true
wrappers:
- fdio-infra-wrappers: