Add scenario to publisher and filter 35/62635/1
authorYolanda Robla <yroblamo@redhat.com>
Thu, 20 Sep 2018 11:39:31 +0000 (13:39 +0200)
committerYolanda Robla <yroblamo@redhat.com>
Thu, 20 Sep 2018 11:39:56 +0000 (13:39 +0200)
Change-Id: I52d4ecb5f305f190a9e06c13407fd0927bc45a29
Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
jjb/openci/create-cde.sh
jjb/openci/openci-opnfv-daily-jobs.yaml

index ae50b3d..8fb9f00 100755 (executable)
@@ -31,6 +31,7 @@ cat <<EOF > ./json_body.txt
     "buildUrl": "$BUILD_URL",
     "branch": "master",
     "origin": "$PUBLISH_EVENT_ORIGIN",
+    "scenario": "$DEPLOY_SCENARIO",
     "compositionName": "$DEPLOY_SCENARIO",
     "compositionMetadataUrl": "$SCENARIO_METADATA_LOCATION"
 }
index 0093a3e..2be30ce 100644 (file)
     triggers:
       - jms-messaging:
           provider-name: openci.activemq
-          selector: JMSType = 'CompositionDefinedEvent' and JMSOrigin = 'OPNFV'
+          selector: JMSType = 'CompositionDefinedEvent' and JMSOrigin = 'OPNFV' and JMSScenario = '{scenario}'
 
     builders:
       - shell: |