cloud-infra: Dynamically generate slave label
[infra/cicd.git] / jjb / cloud-infra / cloud-infra-verify-engine.yaml
index 837af99aac90995fe9e145d644f5d069f540ca9c..b6e58970c4cc4ab447f64af697aa039e1a3c0ee3 100644 (file)
           notbuilt: true
     cloud:
       - city:
-          slave-label: 'city-jumphost-onap-ubuntu1804'
           openrc-credentials-file: 'est-jenkins-openrcfile-city-karlskrona-onap'
 
     type:
       - virtual:
           provisioner-type: 'bifrost'
+          slave-type: 'vpod'
       - cloud:
           provisioner-type: 'heat'
+          slave-type: 'jumphost'
 
     phase:
       - deploy:
       - nordix-gerrit-parameters
       - label:
           name: SLAVE_LABEL
-          default: '{slave-label}'
+          default: '{cloud}-{slave-type}-{distro}'
           description: 'Slave label to schedule this job on. All slaves have Ubuntu1604 no matter what distro target nodes use'
       - string:
           name: DISTRO