Implement ODL JJB get-scm-with-submodules 19/8319/4
authorRich Bennett <rb2745@att.com>
Tue, 22 Aug 2017 19:28:45 +0000 (15:28 -0400)
committerRich Bennett <rb2745@att.com>
Tue, 22 Aug 2017 21:37:50 +0000 (21:37 +0000)
Provide null refspec to gerrit-trigger-scm

Issue-ID: DOC-11

Change-Id: I5e78f9960ecdedba7f7ae247c04d6671d5cf7273
Signed-off-by: Rich Bennett <rb2745@att.com>
jjb/doc/doc-templates-rtd.yaml
jjb/doc/doc.yaml

index 4f54322..c1f6159 100644 (file)
@@ -9,8 +9,6 @@
     # Optional Variables:
     #     path:      directory containing the project's tox.ini relative to
     #                the workspace. The default is the project root.
-    #     pattern:   ant file-path pattern relative to the workspace used to
-    #                trigger the job
 
     name: '{project-name}-{stream}-verify-rtd'
     path: '$WORKSPACE'
@@ -34,7 +32,7 @@
 
     scm:
       - gerrit-trigger-scm:
-          refspec: '$GERRIT_REFSPEC'
+          refspec: ''
           choosing-strategy: 'gerrit'
           submodule-recursive: '{submodule-recursive}'
 
@@ -84,8 +82,6 @@
     # Optional Variables:
     #     path:      directory containing the project's tox.ini relative to
     #                the workspace. The default is the project root.
-    #     pattern:   ant file-path pattern relative to the workspace used to
-    #                trigger the job
 
     name: '{project-name}-{stream}-merge-rtd'
     path: '$WORKSPACE'
       - maven-exec:
           maven-version: '{maven-version}'
 
+
     scm:
       - gerrit-trigger-scm:
-          refspec: '$GERRIT_REFSPEC'
+          refspec: ''
           choosing-strategy: 'gerrit'
           submodule-recursive: '{submodule-recursive}'
 
index 40d5922..b8c33df 100644 (file)
@@ -4,14 +4,15 @@
     project-name: 'doc'
 
     jobs:
-        - '{project-name}-{stream}-verify-rtd':
-            build-node: centos7-basebuild-4c-4g
-        - '{project-name}-{stream}-merge-rtd'
+      - '{project-name}-{stream}-verify-rtd':
+          build-node: centos7-basebuild-4c-4g
+      - '{project-name}-{stream}-merge-rtd'
 
     project: 'doc'
 
+
     rtdproject: 'onap'
 
     stream:
-        - master:
-             branch: 'master'
+      - master:
+          branch: 'master'