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:
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:
branches:
- '$GERRIT_BRANCH'
choosing-strategy: 'gerrit'
+ submodule-recursive: true
wrappers:
- fdio-infra-wrappers:
branches:
- '$GERRIT_BRANCH'
choosing-strategy: 'default'
+ submodule-recursive: true
wrappers:
- fdio-infra-wrappers:
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: