Merge "Add stable/lithium for docs"
[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             keep-records: true
136             series:
137               - file: '{01-plot-data-file}'
138                 inclusion-flag: 'off'
139                 display-table: true
140                 format: csv
141           - title: '{02-plot-title}'
142             yaxis: '{02-plot-yaxis}'
143             group: '{02-plot-group}'
144             num-builds: '5400'
145             style: line
146             use-description: false
147             csv-file-name: '{project}-csit-1node-imds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
148             keep-records: true
149             series:
150               - file: '{02-plot-data-file}'
151                 inclusion-flag: 'off'
152                 display-table: true
153                 format: csv
154
155 - job-template:
156     name: '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
157
158     project-type: freestyle
159     node: dynamic_robot
160
161     logrotate:
162         daysToKeep: '{build-days-to-keep}'
163         numToKeep: '{build-num-to-keep}'
164         artifactDaysToKeep: '{build-artifact-days-to-keep}'
165         artifactNumToKeep: '{build-artifact-num-to-keep}'
166
167     parameters:
168         - project-parameter:
169             project: 'integration'
170         - integration-branch:
171             branch: '{branch}'
172         - integration-bundleurl:
173             bundleurl: 'last'
174         - integration-controller-scope:
175             controller-scope: '{scope}'
176         - integration-controller-features:
177             controller-features: '{install-features}'
178         - integration-test-options:
179             test-options: '{robot-options}'
180         - integration-test-plan:
181             test-plan: '{project}-{functionality}.txt'
182
183     scm:
184         - git-scm:
185             credentials-id: '{ssh-credentials}'
186             refspec: ''
187             branch: '{branch}'
188
189     wrappers:
190         - build-timeout
191         - integration-jclouds-controller-mininet:
192             controller-vms: 1
193             mininet-vms: 1
194         - ssh-agent-credentials:
195             users:
196                 - '{ssh-credentials}'
197
198     triggers:
199         - reverse:
200             jobs: '{trigger-jobs}'
201             result: 'success'
202
203     builders:
204         - integration-get-slave-addresses
205         - inject:
206             properties-file: 'slave_addresses.txt'
207         - integration-deploy-controller-run-test
208
209     publishers:
210         - integration-robot:
211             unstable-if: 0.0
212             pass-if: 100.0
213         - archive:
214             artifacts: 'karaf.log'
215         - email-notification:
216             email-prefix: '[{project}]'
217         - plot:
218           - title: '{01-plot-title}'
219             yaxis: '{01-plot-yaxis}'
220             group: '{01-plot-group}'
221             num-builds: '5400'
222             style: line
223             use-description: false
224             csv-file-name: '{project}-csit-1node-cds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
225             keep-records: true
226             series:
227               - file: '{01-plot-data-file}'
228                 inclusion-flag: 'off'
229                 display-table: true
230                 format: csv
231           - title: '{02-plot-title}'
232             yaxis: '{02-plot-yaxis}'
233             group: '{02-plot-group}'
234             num-builds: '5400'
235             style: line
236             use-description: false
237             csv-file-name: '{project}-csit-1node-cds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
238             keep-records: true
239             series:
240               - file: '{02-plot-data-file}'
241                 inclusion-flag: 'off'
242                 display-table: true
243                 format: csv
244
245
246 - job-template:
247     name: '{project}-csit-periodic-1node-cds-{functionality}-{install}-{stream}'
248
249     project-type: freestyle
250     node: dynamic_robot
251
252     logrotate:
253         daysToKeep: '{build-days-to-keep}'
254         numToKeep: '{build-num-to-keep}'
255         artifactDaysToKeep: '{build-artifact-days-to-keep}'
256         artifactNumToKeep: '{build-artifact-num-to-keep}'
257
258     parameters:
259         - project-parameter:
260             project: 'integration'
261         - integration-branch:
262             branch: '{branch}'
263         - integration-bundleurl:
264             bundleurl: 'last'
265         - integration-controller-scope:
266             controller-scope: '{scope}'
267         - integration-controller-features:
268             controller-features: '{install-features}'
269         - integration-test-options:
270             test-options: '{robot-options}'
271         - integration-test-plan:
272             test-plan: '{project}-{functionality}.txt'
273
274     scm:
275         - git-scm:
276             credentials-id: '{ssh-credentials}'
277             refspec: ''
278             branch: '{branch}'
279
280     wrappers:
281         - build-timeout
282         - integration-jclouds-controller-mininet:
283             controller-vms: 1
284             mininet-vms: 1
285         - ssh-agent-credentials:
286             users:
287                 - '{ssh-credentials}'
288
289     triggers:
290         - timed: '{schedule}'
291
292     builders:
293         - integration-get-slave-addresses
294         - inject:
295             properties-file: 'slave_addresses.txt'
296         - integration-deploy-controller-run-test
297
298     publishers:
299         - integration-robot:
300             unstable-if: 0.0
301             pass-if: 100.0
302         - archive:
303             artifacts: 'karaf.log'
304         - email-notification:
305             email-prefix: '[{project}]'
306         - plot:
307           - title: '{01-plot-title}'
308             yaxis: '{01-plot-yaxis}'
309             group: '{01-plot-group}'
310             num-builds: '180'
311             style: line
312             use-description: false
313             csv-file-name: '{project}-csit-periodic-1node-cds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
314             keep-records: true
315             series:
316               - file: '{01-plot-data-file}'
317                 inclusion-flag: 'off'
318                 display-table: true
319                 format: csv
320           - title: '{02-plot-title}'
321             yaxis: '{02-plot-yaxis}'
322             group: '{02-plot-group}'
323             num-builds: '180'
324             style: line
325             use-description: false
326             csv-file-name: '{project}-csit-periodic-1node-cds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
327             keep-records: true
328             series:
329               - file: '{02-plot-data-file}'
330                 inclusion-flag: 'off'
331                 display-table: true
332                 format: csv
333
334
335 - job-template:
336     name: '{project}-csit-3node-cds-{functionality}-{install}-{stream}'
337
338     project-type: freestyle
339     node: dynamic_robot
340
341     logrotate:
342         daysToKeep: '{build-days-to-keep}'
343         numToKeep: '{build-num-to-keep}'
344         artifactDaysToKeep: '{build-artifact-days-to-keep}'
345         artifactNumToKeep: '{build-artifact-num-to-keep}'
346
347     parameters:
348         - project-parameter:
349             project: 'integration'
350         - integration-branch:
351             branch: '{branch}'
352         - integration-bundleurl:
353             bundleurl: 'last'
354         - integration-controller-scope:
355             controller-scope: '{scope}'
356         - integration-controller-features:
357             controller-features: 'odl-mdsal-clustering,{install-features}'
358         - integration-test-options:
359             test-options: '{robot-options}'
360         - integration-test-plan:
361             test-plan: '{project}-{functionality}.txt'
362
363     scm:
364         - git-scm:
365             credentials-id: '{ssh-credentials}'
366             refspec: ''
367             branch: '{branch}'
368
369     wrappers:
370         - build-timeout
371         - integration-jclouds-controller-mininet:
372             controller-vms: 3
373             mininet-vms: 1
374         - ssh-agent-credentials:
375             users:
376                 - '{ssh-credentials}'
377
378     triggers:
379         - reverse:
380             jobs: '{trigger-jobs}'
381             result: 'success'
382
383     builders:
384         - integration-get-slave-addresses
385         - inject:
386             properties-file: 'slave_addresses.txt'
387         - integration-get-bundle-vars
388         - inject:
389             properties-file: 'bundle_vars.txt'
390         - integration-deploy-controller
391         - integration-configure-clustering
392         - integration-start-cluster-run-test
393     publishers:
394         - integration-robot:
395             unstable-if: 95.0
396             pass-if: 100.0
397         - archive:
398             artifacts: '*karaf.log'
399         - email-notification:
400             email-prefix: '[{project}]'
401         - plot:
402           - title: '{01-plot-title}'
403             yaxis: '{01-plot-yaxis}'
404             group: '{01-plot-group}'
405             num-builds: '5400'
406             style: line
407             use-description: false
408             csv-file-name: '{project}-csit-3node-cds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
409             keep-records: true
410             series:
411               - file: '{01-plot-data-file}'
412                 inclusion-flag: 'off'
413                 display-table: true
414                 format: csv
415           - title: '{02-plot-title}'
416             yaxis: '{02-plot-yaxis}'
417             group: '{02-plot-group}'
418             num-builds: '5400'
419             style: line
420             use-description: false
421             csv-file-name: '{project}-csit-3node-cds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
422             keep-records: true
423             series:
424               - file: '{02-plot-data-file}'
425                 inclusion-flag: 'off'
426                 display-table: true
427                 format: csv
428