summaryrefslogtreecommitdiffstats
path: root/jjb/openci/openci-onap-daily-jobs.yaml
diff options
context:
space:
mode:
authorFatih Degirmenci <fdegir@gmail.com>2018-09-20 15:29:45 +0200
committerFatih Degirmenci <fdegir@gmail.com>2018-09-20 16:02:34 +0200
commite02591cbfb556c69613b918611ff2395b7402edc (patch)
treec3656537473c5ec6e77beab78b9ce507c4e85ee5 /jjb/openci/openci-onap-daily-jobs.yaml
parent9e73ad1faf545917a5b447adf6d598852927f3cc (diff)
openci: Switch to python utility for publishing messages
Change-Id: Iee41f1fcaf80f0a0b3a58cd189a04cefcbfbb028 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
Diffstat (limited to 'jjb/openci/openci-onap-daily-jobs.yaml')
-rw-r--r--jjb/openci/openci-onap-daily-jobs.yaml24
1 files changed, 3 insertions, 21 deletions
diff --git a/jjb/openci/openci-onap-daily-jobs.yaml b/jjb/openci/openci-onap-daily-jobs.yaml
index 28c3e6948..88589d8ac 100644
--- a/jjb/openci/openci-onap-daily-jobs.yaml
+++ b/jjb/openci/openci-onap-daily-jobs.yaml
@@ -46,19 +46,7 @@
builders:
- shell:
- !include-raw-escape: ./create-ane.sh
- - inject:
- properties-file: "$WORKSPACE/event.properties"
-
- publishers:
- - jms-messaging:
- provider-name: openci.activemq
- msg-type: Custom
- msg-props: |
- type=$type
- origin=$origin
- msg-content:
- $eventBody
+ !include-raw-escape: ./create-ape.sh
# This job gets triggered by a ConfidenceLevelModifiedEvent published
# by OPNFV jobs so ONAP can promote the autorelease artifact even further.
@@ -78,14 +66,8 @@
triggers:
- jms-messaging:
provider-name: openci.activemq
- selector: CI_TYPE = 'custom'
- checks:
- - field: origin
- expected-value: 'OPNFV'
- - field: type
- expected-value: 'ConfidenceLevelModifiedEvent'
- - field: scenario
- expected-value: 'k8-nosdn-onap'
+ selector: |
+ JMSType = 'ConfidenceLevelModifiedEvent' and JMSOrigin = 'OPNFV' and JMSScenario = 'k8-nosdn-onap-ha'
builders:
- shell: |