Merge "Add stable/lithium for capwap"
[releng/builder.git] / jjb / integration / integration-templates.yaml
1 - job-template:
2     name: '{project}-csit-verify-{functionality}-{stream}'
3
4     project-type: freestyle
5     node: dynamic_robot
6
7     logrotate:
8         daysToKeep: '{build-days-to-keep}'
9         numToKeep: '{build-num-to-keep}'
10         artifactDaysToKeep: '{build-artifact-days-to-keep}'
11         artifactNumToKeep: '{build-artifact-num-to-keep}'
12
13     parameters:
14         - project-parameter:
15             project: 'integration'
16         - integration-branch:
17             branch: '{branch}'
18         - integration-bundleurl:
19             bundleurl: 'last'
20         - integration-controller-scope:
21             controller-scope: 'only'
22         - integration-controller-features:
23             controller-features: '{install-features}'
24         - integration-test-options:
25             test-options: '{robot-options}'
26         - integration-test-plan:
27             test-plan: '{project}-{functionality}.txt'
28
29     scm:
30         - gerrit-trigger-scm:
31             credentials-id: '{ssh-credentials}'
32             refspec: '$GERRIT_REFSPEC'
33             choosing-strategy: 'gerrit'
34
35     wrappers:
36         - build-timeout
37         - integration-jclouds-controller-mininet:
38             controller-vms: 1
39             mininet-vms: 1
40         - ssh-agent-credentials:
41             users:
42                 - '{ssh-credentials}'
43
44     triggers:
45         - integration-test-gerrit-trigger-patch-submitted:
46             name: 'integration'
47             branch: '{branch}'
48             project: '{project}'
49
50     builders:
51         - integration-get-slave-addresses
52         - inject:
53             properties-file: 'slave_addresses.txt'
54         - integration-deploy-controller-run-test
55
56     publishers:
57         - integration-robot:
58             unstable-if: 0.0
59             pass-if: 0.0
60         - archive:
61             artifacts: 'karaf.log'
62         - email-notification:
63             email-prefix: '[{project}]'
64
65 - job-template:
66     name: '{project}-csit-1node-imds-{functionality}-{install}-{stream}'
67
68     project-type: freestyle
69     node: dynamic_robot
70
71     logrotate:
72         daysToKeep: '{build-days-to-keep}'
73         numToKeep: '{build-num-to-keep}'
74         artifactDaysToKeep: '{build-artifact-days-to-keep}'
75         artifactNumToKeep: '{build-artifact-num-to-keep}'
76
77     parameters:
78         - project-parameter:
79             project: 'integration'
80         - integration-branch:
81             branch: '{branch}'
82         - integration-bundleurl:
83             bundleurl: 'last'
84         - integration-controller-scope:
85             controller-scope: '{scope}'
86         - integration-controller-features:
87             controller-features: '{install-features}'
88         - integration-test-options:
89             test-options: '{robot-options}'
90         - integration-test-plan:
91             test-plan: '{project}-{functionality}.txt'
92
93     scm:
94         - git-scm:
95             credentials-id: '{ssh-credentials}'
96             refspec: ''
97             branch: '{branch}'
98
99     wrappers:
100         - build-timeout
101         - integration-jclouds-controller-mininet:
102             controller-vms: 1
103             mininet-vms: 1
104         - ssh-agent-credentials:
105             users:
106                 - '{ssh-credentials}'
107
108     triggers:
109         - reverse:
110             jobs: '{trigger-jobs}'
111             result: 'success'
112
113     builders:
114         - integration-get-slave-addresses
115         - inject:
116             properties-file: 'slave_addresses.txt'
117         - integration-deploy-controller-run-test
118
119     publishers:
120         - integration-robot:
121             unstable-if: 0.0
122             pass-if: 100.0
123         - archive:
124             artifacts: 'karaf.log'
125         - email-notification:
126             email-prefix: '[{project}]'
127         - plot:
128           - title: '{01-plot-title}'
129             yaxis: '{01-plot-yaxis}'
130             group: '{01-plot-group}'
131             num-builds: '5400'
132             style: line
133             use-description: false
134             csv-file-name: '{project}-csit-1node-imds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
135             series:
136               - file: '{01-plot-data-file}'
137                 inclusion-flag: 'off'
138                 display-table: true
139                 format: csv
140           - title: '{02-plot-title}'
141             yaxis: '{02-plot-yaxis}'
142             group: '{02-plot-group}'
143             num-builds: '5400'
144             style: line
145             use-description: false
146             csv-file-name: '{project}-csit-1node-imds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
147             series:
148               - file: '{02-plot-data-file}'
149                 inclusion-flag: 'off'
150                 display-table: true
151                 format: csv
152
153 - job-template:
154     name: '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
155
156     project-type: freestyle
157     node: dynamic_robot
158
159     logrotate:
160         daysToKeep: '{build-days-to-keep}'
161         numToKeep: '{build-num-to-keep}'
162         artifactDaysToKeep: '{build-artifact-days-to-keep}'
163         artifactNumToKeep: '{build-artifact-num-to-keep}'
164
165     parameters:
166         - project-parameter:
167             project: 'integration'
168         - integration-branch:
169             branch: '{branch}'
170         - integration-bundleurl:
171             bundleurl: 'last'
172         - integration-controller-scope:
173             controller-scope: '{scope}'
174         - integration-controller-features:
175             controller-features: '{install-features}'
176         - integration-test-options:
177             test-options: '{robot-options}'
178         - integration-test-plan:
179             test-plan: '{project}-{functionality}.txt'
180
181     scm:
182         - git-scm:
183             credentials-id: '{ssh-credentials}'
184             refspec: ''
185             branch: '{branch}'
186
187     wrappers:
188         - build-timeout
189         - integration-jclouds-controller-mininet:
190             controller-vms: 1
191             mininet-vms: 1
192         - ssh-agent-credentials:
193             users:
194                 - '{ssh-credentials}'
195
196     triggers:
197         - reverse:
198             jobs: '{trigger-jobs}'
199             result: 'success'
200
201     builders:
202         - integration-get-slave-addresses
203         - inject:
204             properties-file: 'slave_addresses.txt'
205         - integration-deploy-controller-run-test
206
207     publishers:
208         - integration-robot:
209             unstable-if: 0.0
210             pass-if: 100.0
211         - archive:
212             artifacts: 'karaf.log'
213         - email-notification:
214             email-prefix: '[{project}]'
215         - plot:
216           - title: '{01-plot-title}'
217             yaxis: '{01-plot-yaxis}'
218             group: '{01-plot-group}'
219             num-builds: '5400'
220             style: line
221             use-description: false
222             csv-file-name: '{project}-csit-1node-cds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
223             series:
224               - file: '{01-plot-data-file}'
225                 inclusion-flag: 'off'
226                 display-table: true
227                 format: csv
228           - title: '{02-plot-title}'
229             yaxis: '{02-plot-yaxis}'
230             group: '{02-plot-group}'
231             num-builds: '5400'
232             style: line
233             use-description: false
234             csv-file-name: '{project}-csit-1node-cds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
235             series:
236               - file: '{02-plot-data-file}'
237                 inclusion-flag: 'off'
238                 display-table: true
239                 format: csv
240
241
242 - job-template:
243     name: '{project}-csit-periodic-1node-cds-{functionality}-{install}-{stream}'
244
245     project-type: freestyle
246     node: dynamic_robot
247
248     logrotate:
249         daysToKeep: '{build-days-to-keep}'
250         numToKeep: '{build-num-to-keep}'
251         artifactDaysToKeep: '{build-artifact-days-to-keep}'
252         artifactNumToKeep: '{build-artifact-num-to-keep}'
253
254     parameters:
255         - project-parameter:
256             project: 'integration'
257         - integration-branch:
258             branch: '{branch}'
259         - integration-bundleurl:
260             bundleurl: 'last'
261         - integration-controller-scope:
262             controller-scope: '{scope}'
263         - integration-controller-features:
264             controller-features: '{install-features}'
265         - integration-test-options:
266             test-options: '{robot-options}'
267         - integration-test-plan:
268             test-plan: '{project}-{functionality}.txt'
269
270     scm:
271         - git-scm:
272             credentials-id: '{ssh-credentials}'
273             refspec: ''
274             branch: '{branch}'
275
276     wrappers:
277         - build-timeout
278         - integration-jclouds-controller-mininet:
279             controller-vms: 1
280             mininet-vms: 1
281         - ssh-agent-credentials:
282             users:
283                 - '{ssh-credentials}'
284
285     triggers:
286         - timed: '{schedule}'
287
288     builders:
289         - integration-get-slave-addresses
290         - inject:
291             properties-file: 'slave_addresses.txt'
292         - integration-deploy-controller-run-test
293
294     publishers:
295         - integration-robot:
296             unstable-if: 0.0
297             pass-if: 100.0
298         - archive:
299             artifacts: 'karaf.log'
300         - email-notification:
301             email-prefix: '[{project}]'
302         - plot:
303           - title: '{01-plot-title}'
304             yaxis: '{01-plot-yaxis}'
305             group: '{01-plot-group}'
306             num-builds: '180'
307             style: line
308             use-description: false
309             csv-file-name: '{project}-csit-periodic-1node-cds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
310             series:
311               - file: '{01-plot-data-file}'
312                 inclusion-flag: 'off'
313                 display-table: true
314                 format: csv
315           - title: '{02-plot-title}'
316             yaxis: '{02-plot-yaxis}'
317             group: '{02-plot-group}'
318             num-builds: '180'
319             style: line
320             use-description: false
321             csv-file-name: '{project}-csit-periodic-1node-cds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
322             series:
323               - file: '{02-plot-data-file}'
324                 inclusion-flag: 'off'
325                 display-table: true
326                 format: csv
327
328
329 - job-template:
330     name: '{project}-csit-3node-cds-{functionality}-{install}-{stream}'
331
332     project-type: freestyle
333     node: dynamic_robot
334
335     logrotate:
336         daysToKeep: '{build-days-to-keep}'
337         numToKeep: '{build-num-to-keep}'
338         artifactDaysToKeep: '{build-artifact-days-to-keep}'
339         artifactNumToKeep: '{build-artifact-num-to-keep}'
340
341     parameters:
342         - project-parameter:
343             project: 'integration'
344         - integration-branch:
345             branch: '{branch}'
346         - integration-bundleurl:
347             bundleurl: 'last'
348         - integration-controller-scope:
349             controller-scope: '{scope}'
350         - integration-controller-features:
351             controller-features: 'odl-mdsal-clustering,{install-features}'
352         - integration-test-options:
353             test-options: '{robot-options}'
354         - integration-test-plan:
355             test-plan: '{project}-{functionality}.txt'
356
357     scm:
358         - git-scm:
359             credentials-id: '{ssh-credentials}'
360             refspec: ''
361             branch: '{branch}'
362
363     wrappers:
364         - build-timeout
365         - integration-jclouds-controller-mininet:
366             controller-vms: 3
367             mininet-vms: 1
368         - ssh-agent-credentials:
369             users:
370                 - '{ssh-credentials}'
371
372     triggers:
373         - reverse:
374             jobs: '{trigger-jobs}'
375             result: 'success'
376
377     builders:
378         - integration-get-slave-addresses
379         - inject:
380             properties-file: 'slave_addresses.txt'
381         - integration-get-bundle-vars
382         - inject:
383             properties-file: 'bundle_vars.txt'
384         - integration-deploy-controller
385         - integration-configure-clustering
386         - integration-start-cluster-run-test
387     publishers:
388         - integration-robot:
389             unstable-if: 95.0
390             pass-if: 100.0
391         - archive:
392             artifacts: '*karaf.log'
393         - email-notification:
394             email-prefix: '[{project}]'
395         - plot:
396           - title: '{01-plot-title}'
397             yaxis: '{01-plot-yaxis}'
398             group: '{01-plot-group}'
399             num-builds: '5400'
400             style: line
401             use-description: false
402             csv-file-name: '{project}-csit-3node-cds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
403             series:
404               - file: '{01-plot-data-file}'
405                 inclusion-flag: 'off'
406                 display-table: true
407                 format: csv
408           - title: '{02-plot-title}'
409             yaxis: '{02-plot-yaxis}'
410             group: '{02-plot-group}'
411             num-builds: '5400'
412             style: line
413             use-description: false
414             csv-file-name: '{project}-csit-3node-cds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
415             series:
416               - file: '{02-plot-data-file}'
417                 inclusion-flag: 'off'
418                 display-table: true
419                 format: csv
420