onap: Fix slave label for periodic jobs
[infra/cicd.git] / jjb / cloud-infra / cloud-infra-periodic-onap.yaml
index 68c5c5b5547bfea09bd5a5771a2994429e091a17..e420ebceaee54af1e1cac10a356d65b325924de4 100644 (file)
           branch: '{nordix-branch}'
       - nordix-gerrit-parameters
       - onap-parameter-macro
+      - label:
+          name: SLAVE_LABEL
+          default: '{slave-label}'
+          description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
+      - string:
+          name: DISTRO
+          default: '{distro}'
+          description: 'Distribution to use for configuring target nodes (networking etc.)'
       - string:
           name: ONAP_VERSION
           default: '{onap-version}'
             - name: 'promote-onap-{distro}-{installer-type}-{type}-{ci-loop}-{onap-branch}'
               current-parameters: false
               predefined-parameters: |
+                SLAVE_LABEL=$SLAVE_LABEL
                 DISTRO=$DISTRO
                 DEPLOY_TYPE=$DEPLOY_TYPE
                 INSTALLER_TYPE=$INSTALLER_TYPE
           branch: '{nordix-branch}'
       - nordix-gerrit-parameters
       - onap-parameter-macro
+      - label:
+          name: SLAVE_LABEL
+          default: 'xerces-jumphost-onap-ubuntu1804'
+          description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
+      - string:
+          name: DISTRO
+          default: 'ubuntu1804'
+          description: 'Distribution to use for configuring target nodes (networking etc.)'
       - string:
           name: ONAP_FLAVOR
           default: '{onap-flavor}'
           branch: '{nordix-branch}'
       - nordix-gerrit-parameters
       - onap-parameter-macro
+      - label:
+          name: SLAVE_LABEL
+          default: 'xerces-jumphost-onap-ubuntu1804'
+          description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
+      - string:
+          name: DISTRO
+          default: 'ubuntu1804'
+          description: 'Distribution to use for configuring target nodes (networking etc.)'
       - string:
           name: ONAP_VERSION
           default: '{onap-version}'