Update scm definition with appropriate settings 49/8349/2
authorJeremy Phelps <jphelps@linuxfoundation.org>
Tue, 22 Aug 2017 22:52:02 +0000 (17:52 -0500)
committerJeremy Phelps <jphelps@linuxfoundation.org>
Tue, 22 Aug 2017 23:00:51 +0000 (18:00 -0500)
Issue-ID: DOC-11
Change-Id: Iaeeee0b5cd936d5cc0108f8acf8106e066ae9372
Signed-off-by: Jeremy Phelps <jphelps@linuxfoundation.org>
jjb/doc/doc-templates-rtd.yaml

index c1f6159..ff5a75f 100644 (file)
           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:
       - 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}'