Merge "Add arm64 docker build for sdnc"
[ci-management.git] / jjb / integration / integration-templates-csit.yaml
1 ---
2 - job-template:
3     name: '{project-name}-{stream}-verify-csit-{functionality}'
4     disabled: false
5
6     project-type: freestyle
7     build-node: 'ubuntu1604-docker-8c-8g'
8     node: '{build-node}'
9
10     properties:
11       - lf-infra-properties:
12           project: 'integration/csit'
13           build-days-to-keep: '{build-days-to-keep}'
14
15     parameters:
16       - infra-parameters:
17           project: 'integration/csit'
18           branch: '{branch}'
19           refspec: 'refs/heads/{branch}'
20           artifacts: '{archive-artifacts}'
21       - integration-test-plan:
22           test-plan: 'plans/{project-name}/{functionality}'
23       - integration-test-options:
24           test-options: '{robot-options}'
25
26     scm:
27       - gerrit-trigger-scm:
28           refspec: '$GERRIT_REFSPEC'
29           choosing-strategy: 'gerrit'
30           submodule-recursive: '{submodule-recursive}'
31
32     wrappers:
33       - lf-infra-wrappers:
34           build-timeout: '{build-timeout}'
35           jenkins-ssh-credential: '{jenkins-ssh-credential}'
36
37     triggers:
38       - gerrit-trigger-patch-submitted:
39           server: '{server-name}'
40           project: 'integration/csit'
41           branch: '{branch}'
42           files: '**/{project-name}/**'
43
44     builders:
45       - integration-install-robotframework
46       - inject:
47           properties-file: 'env.properties'
48       - integration-run-test
49
50     publishers:
51       - integration-robot:
52           unstable-if: 0.0
53           pass-if: 100.0
54       - lf-infra-publish
55
56 - job-template:
57     name: '{project-name}-arm64-{stream}-verify-csit-{functionality}'
58     disabled: false
59
60     project-type: freestyle
61     build-node: 'ubuntu1604-docker-arm64-4c-2g'
62     node: '{build-node}'
63
64     properties:
65       - lf-infra-properties:
66           project: 'integration/csit'
67           build-days-to-keep: '{build-days-to-keep}'
68
69     parameters:
70       - infra-parameters:
71           project: 'integration/csit'
72           branch: '{branch}'
73           refspec: 'refs/heads/{branch}'
74           artifacts: '{archive-artifacts}'
75       - integration-test-plan:
76           test-plan: 'plans/{project-name}/{functionality}'
77       - integration-test-options:
78           test-options: '{robot-options}'
79
80     scm:
81       - gerrit-trigger-scm:
82           refspec: '$GERRIT_REFSPEC'
83           choosing-strategy: 'gerrit'
84           submodule-recursive: '{submodule-recursive}'
85
86     wrappers:
87       - lf-infra-wrappers:
88           build-timeout: '{build-timeout}'
89           jenkins-ssh-credential: '{jenkins-ssh-credential}'
90
91     triggers:
92       - gerrit-trigger-patch-submitted:
93           server: '{server-name}'
94           project: 'integration/csit'
95           branch: '{branch}'
96           files: '**/{project-name}/**'
97
98     builders:
99       - integration-install-robotframework
100       - inject:
101           properties-file: 'env.properties'
102       - integration-run-test
103
104     publishers:
105       - integration-robot:
106           unstable-if: 0.0
107           pass-if: 100.0
108       - lf-infra-publish
109
110 - job-template:
111     name: '{project-name}-{stream}-verify-csit-{functionality}-testng'
112     disabled: false
113
114     project-type: freestyle
115     build-node: 'ubuntu1604-docker-8c-8g'
116     node: '{build-node}'
117
118     properties:
119       - lf-infra-properties:
120           project: 'integration/csit'
121           build-days-to-keep: '{build-days-to-keep}'
122
123     parameters:
124       - infra-parameters:
125           project: 'integration/csit'
126           branch: '{branch}'
127           refspec: 'refs/heads/{branch}'
128           artifacts: '{archive-artifacts}'
129       - integration-test-plan:
130           test-plan: 'plans/{project-name}/{functionality}'
131       - integration-test-options:
132           test-options: '{robot-options}'
133       - html-publisher-dir:
134           html-dir: '{html-dir}'
135       - html-publisher-files:
136           html-files: '{html-files}'
137
138     scm:
139       - gerrit-trigger-scm:
140           refspec: '$GERRIT_REFSPEC'
141           choosing-strategy: 'gerrit'
142           submodule-recursive: '{submodule-recursive}'
143
144     wrappers:
145       - lf-infra-wrappers:
146           build-timeout: '{build-timeout}'
147           jenkins-ssh-credential: '{jenkins-ssh-credential}'
148
149     triggers:
150       - gerrit-trigger-patch-submitted:
151           server: '{server-name}'
152           project: 'integration/csit'
153           branch: '{branch}'
154           files: '**/{project-name}/**'
155
156     builders:
157       - integration-install-robotframework
158       - inject:
159           properties-file: 'env.properties'
160       - integration-run-test
161
162     publishers:
163       - testng:
164           pattern: archives/testng-results.xml
165           escape-test-description: true
166           escape-exception-msg: true
167           show-failed-builds: true
168           unstable-on-skipped-tests: false
169           failure-on-failed-test-config: false
170       - junit:
171           results: archives/testng-results.xml
172           health-scale-factor: 1.0
173           allow-empty-results: true
174       - integration-robot:
175           unstable-if: 0.0
176           pass-if: 100.0
177       - html-publisher:
178           allow-missing: true
179           dir: '{html-dir}'
180           files: '{html-files}'
181           keep-all: false
182           link-to-last-build: false
183           name: ExtentReport
184       - lf-infra-publish
185
186 - job-template:
187     name: '{project-name}-arm64-{stream}-verify-csit-{functionality}-testng'
188     disabled: false
189
190     project-type: freestyle
191     build-node: 'ubuntu1604-docker-arm64-4c-2g'
192     node: '{build-node}'
193
194     properties:
195       - lf-infra-properties:
196           project: 'integration/csit'
197           build-days-to-keep: '{build-days-to-keep}'
198
199     parameters:
200       - infra-parameters:
201           project: 'integration/csit'
202           branch: '{branch}'
203           refspec: 'refs/heads/{branch}'
204           artifacts: '{archive-artifacts}'
205       - integration-test-plan:
206           test-plan: 'plans/{project-name}/{functionality}'
207       - integration-test-options:
208           test-options: '{robot-options}'
209       - html-publisher-dir:
210           html-dir: '{html-dir}'
211       - html-publisher-files:
212           html-files: '{html-files}'
213
214     scm:
215       - gerrit-trigger-scm:
216           refspec: '$GERRIT_REFSPEC'
217           choosing-strategy: 'gerrit'
218           submodule-recursive: '{submodule-recursive}'
219
220     wrappers:
221       - lf-infra-wrappers:
222           build-timeout: '{build-timeout}'
223           jenkins-ssh-credential: '{jenkins-ssh-credential}'
224
225     triggers:
226       - gerrit-trigger-patch-submitted:
227           server: '{server-name}'
228           project: 'integration/csit'
229           branch: '{branch}'
230           files: '**/{project-name}/**'
231
232     builders:
233       - integration-install-robotframework
234       - inject:
235           properties-file: 'env.properties'
236       - integration-run-test
237
238     publishers:
239       - testng:
240           pattern: archives/testng-results.xml
241           escape-test-description: true
242           escape-exception-msg: true
243           show-failed-builds: true
244           unstable-on-skipped-tests: false
245           failure-on-failed-test-config: false
246       - junit:
247           results: archives/testng-results.xml
248           health-scale-factor: 1.0
249           allow-empty-results: true
250       - integration-robot:
251           unstable-if: 0.0
252           pass-if: 100.0
253       - html-publisher:
254           allow-missing: true
255           dir: '{html-dir}'
256           files: '{html-files}'
257           keep-all: false
258           link-to-last-build: false
259           name: ExtentReport
260       - lf-infra-publish
261
262 - job-template:
263     name: '{project-name}-{stream}-csit-{functionality}'
264     disabled: false
265
266     project-type: freestyle
267     build-node: 'ubuntu1604-docker-8c-8g'
268     node: '{build-node}'
269
270     properties:
271       - lf-infra-properties:
272           project: 'integration/csit'
273           build-days-to-keep: '{build-days-to-keep}'
274
275     parameters:
276       - infra-parameters:
277           project: 'integration/csit'
278           branch: '{branch}'
279           refspec: 'refs/heads/{branch}'
280           artifacts: '{archive-artifacts}'
281       - integration-test-plan:
282           test-plan: 'plans/{project-name}/{functionality}'
283       - integration-test-options:
284           test-options: '{robot-options}'
285
286     scm:
287       - gerrit-trigger-scm:
288           refspec: ''
289           choosing-strategy: 'default'
290           submodule-recursive: '{submodule-recursive}'
291
292     wrappers:
293       - lf-infra-wrappers:
294           build-timeout: '{build-timeout}'
295           jenkins-ssh-credential: '{jenkins-ssh-credential}'
296
297     triggers:
298       - gerrit-trigger-patch-merged:
299           server: '{server-name}'
300           project: 'integration/csit'
301           branch: '{branch}'
302           files: '**/{project-name}/**'
303       - timed: '@daily'
304       - reverse:
305           jobs: '{obj:trigger_jobs}'
306
307     builders:
308       - integration-install-robotframework
309       - inject:
310           properties-file: 'env.properties'
311       - integration-run-test
312
313     publishers:
314       - integration-robot:
315           unstable-if: 0.0
316           pass-if: 100.0
317       - lf-infra-publish
318
319 - job-template:
320     name: '{project-name}-arm64-{stream}-csit-{functionality}'
321     disabled: false
322
323     project-type: freestyle
324     build-node: 'ubuntu1604-docker-arm64-4c-2g'
325     node: '{build-node}'
326
327     properties:
328       - lf-infra-properties:
329           project: 'integration/csit'
330           build-days-to-keep: '{build-days-to-keep}'
331
332     parameters:
333       - infra-parameters:
334           project: 'integration/csit'
335           branch: '{branch}'
336           refspec: 'refs/heads/{branch}'
337           artifacts: '{archive-artifacts}'
338       - integration-test-plan:
339           test-plan: 'plans/{project-name}/{functionality}'
340       - integration-test-options:
341           test-options: '{robot-options}'
342
343     scm:
344       - gerrit-trigger-scm:
345           refspec: ''
346           choosing-strategy: 'default'
347           submodule-recursive: '{submodule-recursive}'
348
349     wrappers:
350       - lf-infra-wrappers:
351           build-timeout: '{build-timeout}'
352           jenkins-ssh-credential: '{jenkins-ssh-credential}'
353
354     triggers:
355       - gerrit-trigger-patch-merged:
356           server: '{server-name}'
357           project: 'integration/csit'
358           branch: '{branch}'
359           files: '**/{project-name}/**'
360       - timed: '@daily'
361       - reverse:
362           jobs: '{obj:trigger_jobs}'
363
364     builders:
365       - integration-install-robotframework
366       - inject:
367           properties-file: 'env.properties'
368       - integration-run-test
369
370     publishers:
371       - integration-robot:
372           unstable-if: 0.0
373           pass-if: 100.0
374       - lf-infra-publish
375
376 - job-template:
377     name: '{project-name}-{stream}-csit-{functionality}-testng'
378     disabled: false
379
380     project-type: freestyle
381     build-node: 'ubuntu1604-docker-8c-8g'
382     node: '{build-node}'
383
384     properties:
385       - lf-infra-properties:
386           project: 'integration/csit'
387           build-days-to-keep: '{build-days-to-keep}'
388
389     parameters:
390       - infra-parameters:
391           project: 'integration/csit'
392           branch: '{branch}'
393           refspec: 'refs/heads/{branch}'
394           artifacts: '{archive-artifacts}'
395       - integration-test-plan:
396           test-plan: 'plans/{project-name}/{functionality}'
397       - integration-test-options:
398           test-options: '{robot-options}'
399       - html-publisher-dir:
400           html-dir: '{html-dir}'
401       - html-publisher-files:
402           html-files: '{html-files}'
403
404     scm:
405       - gerrit-trigger-scm:
406           refspec: ''
407           choosing-strategy: 'default'
408           submodule-recursive: '{submodule-recursive}'
409
410     wrappers:
411       - lf-infra-wrappers:
412           build-timeout: '{build-timeout}'
413           jenkins-ssh-credential: '{jenkins-ssh-credential}'
414
415     triggers:
416       - gerrit-trigger-patch-merged:
417           server: '{server-name}'
418           project: 'integration/csit'
419           branch: '{branch}'
420           files: '**/{project-name}/**'
421       - timed: '@daily'
422       - reverse:
423           jobs: '{obj:trigger_jobs}'
424
425     builders:
426       - integration-install-robotframework
427       - inject:
428           properties-file: 'env.properties'
429       - integration-run-test
430
431     publishers:
432       - integration-robot:
433           unstable-if: 0.0
434           pass-if: 100.0
435       - testng:
436           pattern: archives/testng-results.xml
437           escape-test-description: true
438           escape-exception-msg: true
439           show-failed-builds: true
440           unstable-on-skipped-tests: false
441           failure-on-failed-test-config: false
442       - junit:
443           results: archives/testng-results.xml
444           health-scale-factor: 1.0
445           allow-empty-results: true
446       - html-publisher:
447           allow-missing: true
448           dir: '{html-dir}'
449           files: '{html-files}'
450           keep-all: false
451           link-to-last-build: false
452           name: ExtentReport
453       - lf-infra-publish
454
455 - job-template:
456     name: '{project-name}-arm64-{stream}-csit-{functionality}-testng'
457     disabled: false
458
459     project-type: freestyle
460     build-node: 'ubuntu1604-docker-arm64-4c-2g'
461     node: '{build-node}'
462
463     properties:
464       - lf-infra-properties:
465           project: 'integration/csit'
466           build-days-to-keep: '{build-days-to-keep}'
467
468     parameters:
469       - infra-parameters:
470           project: 'integration/csit'
471           branch: '{branch}'
472           refspec: 'refs/heads/{branch}'
473           artifacts: '{archive-artifacts}'
474       - integration-test-plan:
475           test-plan: 'plans/{project-name}/{functionality}'
476       - integration-test-options:
477           test-options: '{robot-options}'
478       - html-publisher-dir:
479           html-dir: '{html-dir}'
480       - html-publisher-files:
481           html-files: '{html-files}'
482
483     scm:
484       - gerrit-trigger-scm:
485           refspec: ''
486           choosing-strategy: 'default'
487           submodule-recursive: '{submodule-recursive}'
488
489     wrappers:
490       - lf-infra-wrappers:
491           build-timeout: '{build-timeout}'
492           jenkins-ssh-credential: '{jenkins-ssh-credential}'
493
494     triggers:
495       - gerrit-trigger-patch-merged:
496           server: '{server-name}'
497           project: 'integration/csit'
498           branch: '{branch}'
499           files: '**/{project-name}/**'
500       - timed: '@daily'
501       - reverse:
502           jobs: '{obj:trigger_jobs}'
503
504     builders:
505       - integration-install-robotframework
506       - inject:
507           properties-file: 'env.properties'
508       - integration-run-test
509
510     publishers:
511       - integration-robot:
512           unstable-if: 0.0
513           pass-if: 100.0
514       - testng:
515           pattern: archives/testng-results.xml
516           escape-test-description: true
517           escape-exception-msg: true
518           show-failed-builds: true
519           unstable-on-skipped-tests: false
520           failure-on-failed-test-config: false
521       - junit:
522           results: archives/testng-results.xml
523           health-scale-factor: 1.0
524           allow-empty-results: true
525       - html-publisher:
526           allow-missing: true
527           dir: '{html-dir}'
528           files: '{html-files}'
529           keep-all: false
530           link-to-last-build: false
531           name: ExtentReport
532       - lf-infra-publish