Merge changes I3d3e9072,Iee3d0b10
[releng/builder.git] / jjb / docs / docs-template.yaml
index 5c8a35bf91acebd8ea8954ab17a43adf60db0ea9..f8981036c40a2b98f1447658811c6b34faff572f 100644 (file)
@@ -1,20 +1,20 @@
 ---
 # Autorelease build jobs
 - job-template:
-    name: 'docs-update-{stream}'
+    name: "docs-update-{stream}"
 
     ######################
     # Default parameters #
     ######################
-    disable-job: 'false'
+    disable-job: "false"
 
     #####################
     # Job Configuration #
     #####################
 
     project-type: freestyle
-    node: centos7-builder-2c-2g
-    disabled: '{disable-job}'
+    node: "{build-node}"
+    disabled: "{disable-job}"
 
     properties:
       - lf-infra-properties:
 
     parameters:
       - lf-infra-parameters:
-          project: 'releng/autorelease'
-          project-name: 'autorelease'
-          branch: '{branch}'
-          stream: '{stream}'
-          lftools-version: '{lftools-version}'
+          project: "releng/autorelease"
+          project-name: "autorelease"
+          branch: "{branch}"
+          stream: "{stream}"
+          lftools-version: "{lftools-version}"
       - string:
           name: RELEASE_NAME
-          description: 'The next release name eg Magnesium'
+          description: "The next release name eg: Calcium, Potassium."
       - bool:
           name: PUBLISH
           default: false
-          description: 'The flag to publish or not'
+          description: "The flag to publish or not"
 
     scm:
       - lf-gerrit-clone:
-          git-url: '$GIT_URL/$GERRIT_PROJECT'
-          branch: '$GERRIT_BRANCH'
-          refspec: '$GERRIT_REFSPEC'
+          git-url: "$GIT_URL/$GERRIT_PROJECT"
+          branch: "$GERRIT_BRANCH"
+          refspec: "$GERRIT_REFSPEC"
           jenkins-ssh-credential: opendaylight-jenkins-ssh
           submodule-disable: false
           submodule-recursive: true
           submodule-timeout: 10
-          basedir: 'autorelease'
+          basedir: "autorelease"
           choosing-strategy: default
           wipe-workspace: true
       - lf-gerrit-clone:
-          git-url: '$GIT_URL/docs'
-          branch: '$GERRIT_BRANCH'
-          refspec: '$GERRIT_REFSPEC'
+          git-url: "$GIT_URL/docs"
+          branch: "$GERRIT_BRANCH"
+          refspec: "$GERRIT_REFSPEC"
           jenkins-ssh-credential: opendaylight-jenkins-ssh
           submodule-disable: true
-          basedir: 'docs'
+          basedir: "docs"
           submodule-recursive: false
           submodule-timeout: 10
           choosing-strategy: default