openci: Run jobs on xci slaves
[releng.git] / jjb / openci / openci-opnfv-daily-jobs.yaml
index 2be30ce..afa8eff 100644 (file)
@@ -44,7 +44,9 @@
           name: SCENARIO_METADATA_LOCATION
           default: https://url/to/scenario/metadata/on/opnfv/artifact/repo/$BUILD_NUMBER
           description: 'The location of the scenario metadata'
-      - 'opnfv-build-defaults'
+      - label:
+          name: SLAVE_LABEL
+          default: 'xci-virtual'
 
     wrappers:
       - credentials-binding:
@@ -57,7 +59,7 @@
     triggers:
       - jms-messaging:
           provider-name: openci.activemq
-          selector: JMSType = 'ArtifactPublishedEvent' and JMSOrigin = 'ODL'
+          selector: JMSType = 'ArtifactPublishedEvent' and JMSOrigin = '{origin}'
 
     builders:
       - shell: |
           name: CONFIDENCE_LEVEL
           default: "'opnfvdaily': 'SUCCESS'"
           description: 'The confidence level the published artifact gained'
-      - 'opnfv-build-defaults'
+      - label:
+          name: SLAVE_LABEL
+          default: 'xci-virtual'
 
     wrappers:
       - credentials-binding: