Fix bugs for new doc jobs
[releng.git] / jjb / opnfvdocs / docs-rtd.yaml
index 7ff8cd1..25bb983 100644 (file)
     project-type: freestyle
 
     parameters:
+        - label:
+            name: SLAVE_LABEL
+            default: 'lf-build1'
+            description: 'Slave label on Jenkins'
         - project-parameter:
             project: '{project}'
             branch: '{branch}'
+        - string:
+            name: GIT_BASE
+            default: https://gerrit.opnfv.org/gerrit/releng
+            description: 'Git URL to use on this Jenkins Slave'
     scm:
         - git-scm
 
     project-type: freestyle
 
     parameters:
+        - label:
+            name: SLAVE_LABEL
+            default: 'lf-build1'
+            description: 'Slave label on Jenkins'
         - project-parameter:
             project: '{project}'
             branch: '{branch}'
+        - string:
+            name: GIT_BASE
+            default: https://gerrit.opnfv.org/gerrit/opnfvdocs
+            description: 'Git URL to use on this Jenkins Slave'
     scm:
-        - git-scm
+        - git-scm-with-submodules:
+            branch: '{branch}'
 
     triggers:
         - gerrit-trigger-patchset-created: