14 - 'openci-onap-autorelease-daily-{stream}'
15 - 'openci-onap-promote-daily-{stream}'
17 # This job gets triggered manually for the demo purposes.
19 # In prototype, either what this job does needs to be integrated to
20 # ONAP autorelease job or triggered by the upstream autorelease job.
22 name: 'openci-onap-autorelease-daily-{stream}'
24 disabled: '{obj:disabled}'
30 name: PUBLISH_EVENT_TYPE
31 default: ArtifactPublishedEvent
32 description: 'The type of the event this job publishes'
34 name: PUBLISH_EVENT_ORIGIN
36 description: 'Originating community'
38 name: ARTIFACT_LOCATION
39 default: https://url/to/artifact/on/onap/nexus/$BUILD_NUMBER
40 description: 'The location of the artifact on ONAP Nexus'
42 name: CONFIDENCE_LEVEL
43 default: "'autorelease': 'SUCCESS'"
44 description: 'The confidence level the published artifact gained'
45 - 'opnfv-build-defaults'
49 !include-raw-escape: ./create-ane.sh
51 properties-file: "$WORKSPACE/event.properties"
55 provider-name: openci.activemq
63 # This job gets triggered by a ConfidenceLevelModifiedEvent published
64 # by OPNFV jobs so ONAP can promote the autorelease artifact even further.
66 # This job is created for the demo purposes and might not be there for
69 name: 'openci-onap-promote-daily-{stream}'
71 disabled: '{obj:disabled}'
76 - 'opnfv-build-defaults'
80 provider-name: openci.activemq
81 selector: CI_TYPE = 'custom'
84 expected-value: 'OPNFV'
86 expected-value: 'ConfidenceLevelModifiedEvent'
88 expected-value: 'k8-nosdn-onap'
95 echo "Triggered by $type"
96 echo "----------------------------------"
98 echo "----------------------------------"
99 echo " Promoted ONAP Autorelease artifact as release candidate!"