summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorJeremy Phelps <jphelps@linuxfoundation.org>2017-08-22 17:52:02 -0500
committerJeremy Phelps <jphelps@linuxfoundation.org>2017-08-22 18:00:51 -0500
commitd6392ddb9523be0e0bb84fd5f2473a967dfdcde0 (patch)
tree56346a29383b2d272318d939265535be7a1910f9 /jjb
parentc46a2ee5d3185efa8cc557fde72c40f0f4c04a71 (diff)
Update scm definition with appropriate settings
Issue-ID: DOC-11 Change-Id: Iaeeee0b5cd936d5cc0108f8acf8106e066ae9372 Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
Diffstat (limited to 'jjb')
-rw-r--r--jjb/doc/doc-templates-rtd.yaml18
1 files changed, 15 insertions, 3 deletions
diff --git a/jjb/doc/doc-templates-rtd.yaml b/jjb/doc/doc-templates-rtd.yaml
index c1f6159d1..ff5a75f98 100644
--- a/jjb/doc/doc-templates-rtd.yaml
+++ b/jjb/doc/doc-templates-rtd.yaml
@@ -31,9 +31,15 @@
maven-version: '{maven-version}'
scm:
- - gerrit-trigger-scm:
+ - git:
+ credentials-id: '{jenkins-ssh-credential}'
+ url: '$GIT_BASE'
refspec: ''
choosing-strategy: 'gerrit'
+ branches:
+ - 'refs/heads/{branch}'
+ skip-tag: true
+ wipe-workspace: true
submodule-recursive: '{submodule-recursive}'
wrappers:
@@ -103,13 +109,19 @@
- maven-exec:
maven-version: '{maven-version}'
-
scm:
- - gerrit-trigger-scm:
+ - git:
+ credentials-id: '{jenkins-ssh-credential}'
+ url: '$GIT_BASE'
refspec: ''
choosing-strategy: 'gerrit'
+ branches:
+ - 'refs/heads/{branch}'
+ skip-tag: true
+ wipe-workspace: true
submodule-recursive: '{submodule-recursive}'
+
wrappers:
- infra-wrappers:
build-timeout: '{build-timeout}'