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