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