14 - 'openci-odl-autorelease-daily-{stream}'
15 - 'openci-odl-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 # ODL autorelease job or triggered by the upstream autorelease job.
22 name: 'openci-odl-autorelease-daily-{stream}'
24 disabled: '{obj:disabled}'
28 build-node: centos7-builder-2c-2g
32 name: PUBLISH_EVENT_TYPE
33 default: ArtifactPublishedEvent
34 description: 'The type of the event this job publishes'
36 name: PUBLISH_EVENT_ORIGIN
38 description: 'Originating community'
40 name: ARTIFACT_LOCATION
41 default: https://url/to/artifact/on/odl/nexus/$BUILD_NUMBER
42 description: 'The location of the artifact on ODL Nexus'
44 name: CONFIDENCE_LEVEL
45 default: "'autorelease': 'SUCCESS'"
46 description: 'The confidence level the published artifact gained'
49 # first build step in the job executes create-ape.sh to construct the
50 # ArtifactPublishedEvent (ape)
52 !include-raw-escape: ./create-ape.sh
53 # constructed event gets injected into environment so JME Messaging
54 # plugin can publish the event and its properties in post-build step
56 properties-file: "$WORKSPACE/event.properties"
60 provider-name: openci.activemq
68 # This job gets triggered by a ConfidenceLevelModifiedEvent published
69 # by OPNFV jobs so ODL can promote the autorelease artifact even further.
71 # This job is created for the demo purposes and might not be there for
74 name: 'openci-odl-promote-daily-{stream}'
76 disabled: '{obj:disabled}'
80 build-node: centos7-builder-2c-2g
84 provider-name: openci.activemq
85 selector: CI_TYPE = 'custom'
88 expected-value: 'OPNFV'
90 expected-value: 'ConfidenceLevelModifiedEvent'
92 expected-value: 'os-odl-nofeature'
99 echo "Triggered by $type"
100 echo "----------------------------------"
102 echo "----------------------------------"
103 echo " Promoted ODL Autorelease artifact as release candidate!"