From d6392ddb9523be0e0bb84fd5f2473a967dfdcde0 Mon Sep 17 00:00:00 2001 From: Jeremy Phelps Date: Tue, 22 Aug 2017 17:52:02 -0500 Subject: Update scm definition with appropriate settings Issue-ID: DOC-11 Change-Id: Iaeeee0b5cd936d5cc0108f8acf8106e066ae9372 Signed-off-by: Jeremy Phelps --- jjb/doc/doc-templates-rtd.yaml | 18 +++++++++++++++--- 1 file 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}' -- cgit 1.2.3-korg