diff options
author | Yolanda Robla <yroblamo@redhat.com> | 2018-09-20 13:39:31 +0200 |
---|---|---|
committer | Yolanda Robla <yroblamo@redhat.com> | 2018-09-20 13:39:56 +0200 |
commit | 9e73ad1faf545917a5b447adf6d598852927f3cc (patch) | |
tree | 9f7148227cf23df0578b8ffca7f409e7ae5c6142 /jjb/openci | |
parent | 593ef62611a16ac750a5eb068b4d2aed5984d6f1 (diff) |
Add scenario to publisher and filter
Change-Id: I52d4ecb5f305f190a9e06c13407fd0927bc45a29
Signed-off-by: Yolanda Robla <yroblamo@redhat.com>
Diffstat (limited to 'jjb/openci')
-rwxr-xr-x | jjb/openci/create-cde.sh | 1 | ||||
-rw-r--r-- | jjb/openci/openci-opnfv-daily-jobs.yaml | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/jjb/openci/create-cde.sh b/jjb/openci/create-cde.sh index ae50b3d73..8fb9f0041 100755 --- a/jjb/openci/create-cde.sh +++ b/jjb/openci/create-cde.sh @@ -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" } diff --git a/jjb/openci/openci-opnfv-daily-jobs.yaml b/jjb/openci/openci-opnfv-daily-jobs.yaml index 0093a3e4a..2be30ceb4 100644 --- a/jjb/openci/openci-opnfv-daily-jobs.yaml +++ b/jjb/openci/openci-opnfv-daily-jobs.yaml @@ -112,7 +112,7 @@ triggers: - jms-messaging: provider-name: openci.activemq - selector: JMSType = 'CompositionDefinedEvent' and JMSOrigin = 'OPNFV' + selector: JMSType = 'CompositionDefinedEvent' and JMSOrigin = 'OPNFV' and JMSScenario = '{scenario}' builders: - shell: | |