Disable blocking on buildable queue (Functest)
[releng.git] / jjb / openci / openci-opnfv-daily-jobs.yaml
1 ---
2 - project:
3     name: openci-opnfv
4
5     project: '{name}'
6
7     stream:
8       - master:
9           branch: '{stream}'
10           gs-pathname: ''
11           disabled: false
12
13     scenario:
14       - 'os-odl-nofeature-ha':
15           origin: ODL
16       - 'k8-nosdn-onap-ha':
17           origin: ONAP
18
19     jobs:
20       - 'openci-opnfv-{scenario}-compose-daily-{stream}'
21       - 'openci-opnfv-{scenario}-test-daily-{stream}'
22
23 - job-template:
24     name: 'openci-opnfv-{scenario}-compose-daily-{stream}'
25
26     disabled: '{obj:disabled}'
27
28     concurrent: false
29
30     parameters:
31       - string:
32           name: PUBLISH_EVENT_TYPE
33           default: CompositionDefinedEvent
34           description: 'The type of the event this job publishes'
35       - string:
36           name: PUBLISH_EVENT_ORIGIN
37           default: OPNFV
38           description: 'Originating community'
39       - string:
40           name: DEPLOY_SCENARIO
41           default: '{scenario}'
42           description: 'The scenario that is composed'
43       - string:
44           name: SCENARIO_METADATA_LOCATION
45           default: https://url/to/scenario/metadata/on/opnfv/artifact/repo/$BUILD_NUMBER
46           description: 'The location of the scenario metadata'
47       - label:
48           name: SLAVE_LABEL
49           default: 'xci-virtual'
50           all-nodes: false
51           node-eligibility: 'ignore-offline'
52
53     wrappers:
54       - credentials-binding:
55           - username-password-separated:
56               credential-id: openci-connect-activemq
57               username: ACTIVEMQ_USER
58               password: ACTIVEMQ_PASSWORD
59       - workspace-cleanup
60
61     triggers:
62       - jms-messaging:
63           provider-name: openci.activemq
64           selector: JMSType = 'ArtifactPublishedEvent' and JMSOrigin = '{origin}'
65
66     builders:
67       - shell: |
68           #!/bin/bash
69
70           echo
71           echo "Triggered by $type"
72           echo "----------------------------------"
73           echo $CI_MESSAGE
74           echo "----------------------------------"
75       - shell:
76           !include-raw-escape: ./create-cde.sh
77
78 - job-template:
79     name: 'openci-opnfv-{scenario}-test-daily-{stream}'
80
81     disabled: '{obj:disabled}'
82
83     concurrent: false
84
85     parameters:
86       - string:
87           name: PUBLISH_EVENT_TYPE
88           default: ConfidenceLevelModifiedEvent
89           description: 'The type of the event this job publishes'
90       - string:
91           name: PUBLISH_EVENT_ORIGIN
92           default: OPNFV
93           description: 'Originating community'
94       - string:
95           name: DEPLOY_SCENARIO
96           default: '{scenario}'
97           description: 'The scenario that is composed'
98       - string:
99           name: SCENARIO_METADATA_LOCATION
100           default: https://url/to/scenario/metadata/on/opnfv/artifact/repo/$BUILD_NUMBER
101           description: 'The location of the scenario metadata'
102       - string:
103           name: CONFIDENCE_LEVEL
104           default: "'opnfvdaily': 'SUCCESS'"
105           description: 'The confidence level the published artifact gained'
106       - label:
107           name: SLAVE_LABEL
108           default: 'xci-virtual'
109           all-nodes: false
110           node-eligibility: 'ignore-offline'
111
112     wrappers:
113       - credentials-binding:
114           - username-password-separated:
115               credential-id: openci-connect-activemq
116               username: ACTIVEMQ_USER
117               password: ACTIVEMQ_PASSWORD
118       - workspace-cleanup
119
120     triggers:
121       - jms-messaging:
122           provider-name: openci.activemq
123           selector: JMSType = 'CompositionDefinedEvent' and JMSOrigin = 'OPNFV' and JMSScenario = '{scenario}'
124
125     builders:
126       - shell: |
127           #!/bin/bash
128
129           echo
130           echo "Triggered by $type"
131           echo "----------------------------------"
132           echo $CI_MESSAGE
133           echo "----------------------------------"
134       - shell:
135           !include-raw-escape: ./create-clme.sh