b71eea9d5514b5e34a8d7c887c5819717d26fa86
[releng/builder.git] / jjb / integration / integration-templates.yaml
1 ---
2 # Job templates in this file (please update with every new template):
3 # FIXME: Update
4 #
5 # {project}-csit-verify-1node-{functionality}
6 # {project}-csit-1node-{functionality}-{install}-{stream}
7 # {project}-csit-1node-periodic-{functionality}-{install}-{stream}
8 # {project}-csit-verify-3node-{functionality}
9 # {project}-csit-3node-{functionality}-{install}-{stream}
10 # {project}-csit-3node-periodic-{functionality}-{install}-{stream}
11 #
12 # Parameters:
13 # FIXME: Distinguish variables, macros and arguments, then update.
14 #
15 # opendaylight-infra-parameters: main project integration/test ($PROJECT)
16 # jre: (openjdk7 or openjdk8) Java runtime environment to use when launching ODL
17 # integration-distribution-branch: distribution branch ($DISTROBRANCH)
18 # integration-controller-bundle-url: distribution URL ($BUNDLE_URL)
19 # integration-controller-scope: only or all features ($CONTROLLERSCOPE)
20 # integration-controller-features: features under test ($CONTROLLER FEATURES)
21 # integration-test-options: robot options ($TESTOPTIONS)
22 # integration-stream-test-plan: stream specific robot test plan ($STREAMTESTPLAN)
23 # integration-test-plan: fallback robot test plan ($TESTPLAN)
24 # integration-patch-refspec: test branch ($PATCHREFSPEC)
25
26
27 # New templates
28
29 - job-template:
30     name: '{project}-csit-verify-1node-{functionality}'
31     disabled: false
32
33     project-type: freestyle
34     node: centos7-robot-2c-2g
35
36     properties:
37       - opendaylight-infra-properties:
38           build-days-to-keep: '{build-days-to-keep}'
39
40     parameters:
41       - opendaylight-infra-parameters:
42           os-cloud: '{os-cloud}'
43           project: 'integration/test'
44           branch: '{branch}'
45           refspec: 'refs/heads/{branch}'
46           artifacts: '{archive-artifacts}'
47       - integration-distribution-branch:
48           branch: '{verify-branch}'
49       - integration-distribution-stream:
50           stream: '{verify-stream}'
51       - integration-bundle-url:
52           bundle-url: '{bundle-url}'
53       - integration-controller-scope:
54           controller-scope: 'only'
55       - integration-controller-features:
56           controller-features: '{install-features}'
57       - integration-test-options:
58           test-options: '{robot-options}'
59       - integration-stream-test-plan:
60           stream-test-plan: '{project}-{functionality}-{verify-stream}.txt'
61       - integration-test-plan:
62           test-plan: '{project}-{functionality}.txt'
63       - integration-jdk-version:
64           jdkversion: '{verify-jdkversion}'
65       - distribution-karaf-version:
66           karaf-version: '{verify-karaf-version}'
67
68     scm:
69       - integration-gerrit-scm:
70           basedir: 'test'
71           refspec: '$GERRIT_REFSPEC'
72           branch: 'master'
73
74     wrappers:
75       - opendaylight-infra-wrappers:
76           build-timeout: '{build-timeout}'
77
78     triggers:
79       - integration-trigger-patch-submitted:
80           server: '{server-name}'
81           project: 'integration/test'
82           branch: 'master'
83           files: 'csit/suites/{project}/**'
84
85     builders:
86       - integration-infra-stack:
87           stack-template: '{stack-template}'
88           vm_0_count: '1'
89           vm_0_flavor: '{odl_system_flavor}'
90           vm_0_image: '{odl_system_image}'
91           vm_1_count: '{tools_system_count}'
92           vm_1_flavor: '{tools_system_flavor}'
93           vm_1_image: '{tools_system_image}'
94       - integration-install-robotframework
95       - inject:
96           properties-file: 'env.properties'
97       - integration-get-slave-addresses
98       - inject:
99           properties-file: 'slave_addresses.txt'
100       - integration-detect-variables
101       - integration-deploy-controller-run-test
102       - integration-cleanup-tmp
103
104     publishers:
105       - integration-robot:
106           unstable-if: 0.0
107           pass-if: 100.0
108       - email-notification:
109           email-recipients: '{email-recipients}'
110           email-prefix: '[{project}]'
111       - integration-csit-archive-build
112       - opendaylight-infra-shiplogs:
113           maven-version: 'mvn33'
114
115 - job-template:
116     name: '{project}-csit-1node-{functionality}-{install}-{stream}'
117     # Keep synchronized with *-csit4-*-carbon please.
118     disabled: false
119
120     project-type: freestyle
121     node: centos7-robot-2c-2g
122
123     properties:
124       - opendaylight-infra-properties:
125           build-days-to-keep: '{build-days-to-keep}'
126
127     parameters:
128       - opendaylight-infra-parameters:
129           os-cloud: '{os-cloud}'
130           project: 'integration/test'
131           branch: '{branch}'
132           refspec: 'refs/heads/{branch}'
133           artifacts: '{archive-artifacts}'
134       - integration-distribution-branch:
135           branch: '{branch}'
136       - integration-distribution-stream:
137           stream: '{stream}'
138       - integration-bundle-url:
139           bundle-url: '{bundle-url}'
140       - integration-controller-scope:
141           controller-scope: '{scope}'
142       - integration-controller-features:
143           controller-features: '{install-features}'
144       - integration-test-options:
145           test-options: '{robot-options}'
146       - integration-stream-test-plan:
147           stream-test-plan: '{project}-{functionality}-{stream}.txt'
148       - integration-test-plan:
149           test-plan: '{project}-{functionality}.txt'
150       - integration-patch-refspec:
151           branch: 'master'
152       - integration-jdk-version:
153           jdkversion: '{jre}'
154       - distribution-karaf-version:
155           karaf-version: '{karaf-version}'
156
157     scm:
158       - integration-gerrit-scm:
159           basedir: 'test'
160           refspec: '$PATCHREFSPEC'
161           branch: 'master'
162
163     wrappers:
164       - opendaylight-infra-wrappers:
165           build-timeout: '{build-timeout}'
166
167     builders:
168       - integration-infra-stack:
169           stack-template: '{stack-template}'
170           vm_0_count: '1'
171           vm_0_flavor: '{odl_system_flavor}'
172           vm_0_image: '{odl_system_image}'
173           vm_1_count: '{tools_system_count}'
174           vm_1_flavor: '{tools_system_flavor}'
175           vm_1_image: '{tools_system_image}'
176       - integration-install-robotframework
177       - inject:
178           properties-file: 'env.properties'
179       - integration-get-slave-addresses
180       - inject:
181           properties-file: 'slave_addresses.txt'
182       - integration-detect-variables
183       - integration-deploy-controller-run-test
184       - integration-cleanup-tmp
185
186     publishers:
187       - integration-robot:
188           unstable-if: 0.0
189           pass-if: 100.0
190       - email-notification:
191           email-recipients: '{email-recipients}'
192           email-prefix: '[{project}]'
193       - plot:
194           - title: '{01-plot-title}'
195             yaxis: '{01-plot-yaxis}'
196             group: '{01-plot-group}'
197             num-builds: '5400'
198             keep-records: true
199             style: line
200             use-description: false
201             # yamllint disable-line rule:line-length
202             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
203             series:
204               - file: '{01-plot-data-file}'
205                 inclusion-flag: 'off'
206                 display-table: true
207                 format: csv
208           - title: '{02-plot-title}'
209             yaxis: '{02-plot-yaxis}'
210             group: '{02-plot-group}'
211             num-builds: '5400'
212             keep-records: true
213             style: line
214             use-description: false
215             # yamllint disable-line rule:line-length
216             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
217             series:
218               - file: '{02-plot-data-file}'
219                 inclusion-flag: 'off'
220                 display-table: true
221                 format: csv
222       - integration-csit-archive-build
223       - opendaylight-infra-shiplogs:
224           maven-version: 'mvn33'
225
226 - job-template:
227     name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
228     disabled: false
229
230     project-type: freestyle
231     node: centos7-robot-2c-2g
232
233     properties:
234       - opendaylight-infra-properties:
235           build-days-to-keep: '{build-days-to-keep}'
236
237     parameters:
238       - opendaylight-infra-parameters:
239           os-cloud: '{os-cloud}'
240           project: 'integration/test'
241           branch: '{branch}'
242           refspec: 'refs/heads/{branch}'
243           artifacts: '{archive-artifacts}'
244       - integration-distribution-branch:
245           branch: '{branch}'
246       - integration-distribution-stream:
247           stream: '{stream}'
248       - integration-bundle-url:
249           bundle-url: '{bundle-url}'
250       - integration-controller-scope:
251           controller-scope: '{scope}'
252       - integration-controller-features:
253           controller-features: '{install-features}'
254       - integration-test-options:
255           test-options: '{robot-options}'
256       - integration-stream-test-plan:
257           stream-test-plan: '{project}-{functionality}-{stream}.txt'
258       - integration-test-plan:
259           test-plan: '{project}-{functionality}.txt'
260       - integration-patch-refspec:
261           branch: 'master'
262       - integration-jdk-version:
263           jdkversion: '{jre}'
264       - distribution-karaf-version:
265           karaf-version: '{karaf-version}'
266
267     scm:
268       - integration-gerrit-scm:
269           basedir: 'test'
270           refspec: '$PATCHREFSPEC'
271           branch: 'master'
272
273     wrappers:
274       - opendaylight-infra-wrappers:
275           build-timeout: '{build-timeout}'
276
277     builders:
278       - integration-infra-stack:
279           stack-template: '{stack-template}'
280           vm_0_count: '1'
281           vm_0_flavor: '{odl_system_flavor}'
282           vm_0_image: '{odl_system_image}'
283           vm_1_count: '{tools_system_count}'
284           vm_1_flavor: '{tools_system_flavor}'
285           vm_1_image: '{tools_system_image}'
286       - integration-install-robotframework
287       - inject:
288           properties-file: 'env.properties'
289       - integration-get-slave-addresses
290       - inject:
291           properties-file: 'slave_addresses.txt'
292       - integration-detect-variables
293       - integration-deploy-controller-run-test
294       - integration-cleanup-tmp
295
296     publishers:
297       - integration-robot:
298           unstable-if: 0.0
299           pass-if: 100.0
300       - email-notification:
301           email-recipients: '{email-recipients}'
302           email-prefix: '[{project}]'
303       - plot:
304           - title: '{01-plot-title}'
305             yaxis: '{01-plot-yaxis}'
306             group: '{01-plot-group}'
307             num-builds: '180'
308             keep-records: true
309             style: line
310             use-description: false
311             # yamllint disable-line rule:line-length
312             csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
313             series:
314               - file: '{01-plot-data-file}'
315                 inclusion-flag: 'off'
316                 display-table: true
317                 format: csv
318           - title: '{02-plot-title}'
319             yaxis: '{02-plot-yaxis}'
320             group: '{02-plot-group}'
321             num-builds: '180'
322             keep-records: true
323             style: line
324             use-description: false
325             # yamllint disable-line rule:line-length
326             csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
327             series:
328               - file: '{02-plot-data-file}'
329                 inclusion-flag: 'off'
330                 display-table: true
331                 format: csv
332           - title: '{03-plot-title}'
333             yaxis: '{03-plot-yaxis}'
334             group: '{03-plot-group}'
335             num-builds: '180'
336             keep-records: true
337             style: line
338             use-description: false
339             # yamllint disable-line rule:line-length
340             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv'
341             series:
342               - file: '{03-plot-data-file}'
343                 inclusion-flag: '{03-inclusion-flag}'
344                 exclude: '{03-exclude-value}'
345                 format: csv
346           - title: '{04-plot-title}'
347             yaxis: '{04-plot-yaxis}'
348             group: '{04-plot-group}'
349             num-builds: '180'
350             keep-records: true
351             style: line
352             use-description: false
353             # yamllint disable-line rule:line-length
354             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv'
355             series:
356               - file: '{04-plot-data-file}'
357                 inclusion-flag: '{04-inclusion-flag}'
358                 exclude: '{04-exclude-value}'
359                 format: csv
360           - title: '{05-plot-title}'
361             yaxis: '{05-plot-yaxis}'
362             group: '{05-plot-group}'
363             num-builds: '180'
364             keep-records: true
365             style: line
366             use-description: false
367             # yamllint disable-line rule:line-length
368             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv'
369             series:
370               - file: '{05-plot-data-file}'
371                 inclusion-flag: '{05-inclusion-flag}'
372                 exclude: '{05-exclude-value}'
373                 format: csv
374           - title: '{06-plot-title}'
375             yaxis: '{06-plot-yaxis}'
376             group: '{06-plot-group}'
377             num-builds: '180'
378             keep-records: true
379             style: line
380             use-description: false
381             # yamllint disable-line rule:line-length
382             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv'
383             series:
384               - file: '{06-plot-data-file}'
385                 inclusion-flag: '{06-inclusion-flag}'
386                 exclude: '{06-exclude-value}'
387                 format: csv
388           - title: '{07-plot-title}'
389             yaxis: '{07-plot-yaxis}'
390             group: '{07-plot-group}'
391             num-builds: '180'
392             keep-records: true
393             style: line
394             use-description: false
395             # yamllint disable-line rule:line-length
396             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv'
397             series:
398               - file: '{07-plot-data-file}'
399                 inclusion-flag: '{07-inclusion-flag}'
400                 exclude: '{07-exclude-value}'
401                 format: csv
402           - title: '{08-plot-title}'
403             yaxis: '{08-plot-yaxis}'
404             group: '{08-plot-group}'
405             num-builds: '180'
406             keep-records: true
407             style: line
408             use-description: false
409             # yamllint disable-line rule:line-length
410             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv'
411             series:
412               - file: '{08-plot-data-file}'
413                 inclusion-flag: '{08-inclusion-flag}'
414                 exclude: '{08-exclude-value}'
415                 format: csv
416           - title: '{09-plot-title}'
417             yaxis: '{09-plot-yaxis}'
418             group: '{09-plot-group}'
419             num-builds: '180'
420             keep-records: true
421             style: line
422             use-description: false
423             # yamllint disable-line rule:line-length
424             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv'
425             series:
426               - file: '{09-plot-data-file}'
427                 inclusion-flag: '{09-inclusion-flag}'
428                 exclude: '{09-exclude-value}'
429                 format: csv
430           - title: '{10-plot-title}'
431             yaxis: '{10-plot-yaxis}'
432             group: '{10-plot-group}'
433             num-builds: '180'
434             keep-records: true
435             style: line
436             use-description: false
437             # yamllint disable-line rule:line-length
438             csv-file-name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv'
439             series:
440               - file: '{10-plot-data-file}'
441                 inclusion-flag: '{10-inclusion-flag}'
442                 exclude: '{10-exclude-value}'
443                 format: csv
444       - integration-csit-archive-build
445       - opendaylight-infra-shiplogs:
446           maven-version: 'mvn33'
447
448 - job-template:
449     name: '{project}-csit-verify-3node-{functionality}'
450     disabled: false
451
452     project-type: freestyle
453     node: centos7-robot-2c-2g
454
455     properties:
456       - opendaylight-infra-properties:
457           build-days-to-keep: '{build-days-to-keep}'
458
459     parameters:
460       - opendaylight-infra-parameters:
461           os-cloud: '{os-cloud}'
462           project: 'integration/test'
463           branch: '{branch}'
464           refspec: 'refs/heads/{branch}'
465           artifacts: '{archive-artifacts}'
466       - integration-distribution-branch:
467           branch: '{verify-branch}'
468       - integration-distribution-stream:
469           stream: '{verify-stream}'
470       - integration-bundle-url:
471           bundle-url: '{bundle-url}'
472       - integration-controller-scope:
473           controller-scope: 'only'
474       - integration-controller-features:
475           controller-features: 'odl-jolokia,{install-features}'
476       - integration-test-options:
477           test-options: '{robot-options}'
478       - integration-stream-test-plan:
479           stream-test-plan: '{project}-{functionality}-{verify-stream}.txt'
480       - integration-test-plan:
481           test-plan: '{project}-{functionality}.txt'
482       - integration-jdk-version:
483           jdkversion: '{verify-jdkversion}'
484       - distribution-karaf-version:
485           karaf-version: '{verify-karaf-version}'
486
487     scm:
488       - integration-gerrit-scm:
489           basedir: 'test'
490           refspec: '$GERRIT_REFSPEC'
491           branch: 'master'
492
493     wrappers:
494       - opendaylight-infra-wrappers:
495           build-timeout: '{build-timeout}'
496
497     triggers:
498       - integration-trigger-patch-submitted:
499           server: '{server-name}'
500           project: 'integration/test'
501           branch: 'master'
502           files: 'csit/suites/{project}/**'
503
504     builders:
505       - integration-infra-stack:
506           stack-template: '{stack-template}'
507           vm_0_count: '3'
508           vm_0_flavor: '{odl_system_flavor}'
509           vm_0_image: '{odl_system_image}'
510           vm_1_count: '{tools_system_count}'
511           vm_1_flavor: '{tools_system_flavor}'
512           vm_1_image: '{tools_system_image}'
513       - integration-install-robotframework
514       - inject:
515           properties-file: 'env.properties'
516       - integration-get-slave-addresses
517       - inject:
518           properties-file: 'slave_addresses.txt'
519       - integration-detect-variables
520       - integration-configure-clustering
521       - integration-start-cluster-run-test
522       - integration-cleanup-tmp
523
524     publishers:
525       - integration-robot:
526           unstable-if: 0.0
527           pass-if: 100.0
528       - email-notification:
529           email-recipients: '{email-recipients}'
530           email-prefix: '[{project}]'
531       - integration-csit-archive-build
532       - opendaylight-infra-shiplogs:
533           maven-version: 'mvn33'
534
535 - job-template:
536     name: '{project}-csit-3node-{functionality}-{install}-{stream}'
537     disabled: false
538
539     project-type: freestyle
540     node: centos7-robot-2c-2g
541
542     properties:
543       - opendaylight-infra-properties:
544           build-days-to-keep: '{build-days-to-keep}'
545
546     parameters:
547       - opendaylight-infra-parameters:
548           os-cloud: '{os-cloud}'
549           project: 'integration/test'
550           branch: '{branch}'
551           refspec: 'refs/heads/{branch}'
552           artifacts: '{archive-artifacts}'
553       - integration-distribution-branch:
554           branch: '{branch}'
555       - integration-distribution-stream:
556           stream: '{stream}'
557       - integration-bundle-url:
558           bundle-url: '{bundle-url}'
559       - integration-controller-scope:
560           controller-scope: '{scope}'
561       - integration-controller-features:
562           controller-features: 'odl-jolokia,{install-features}'
563       - integration-test-options:
564           test-options: '{robot-options}'
565       - integration-stream-test-plan:
566           stream-test-plan: '{project}-{functionality}-{stream}.txt'
567       - integration-test-plan:
568           test-plan: '{project}-{functionality}.txt'
569       - integration-patch-refspec:
570           branch: 'master'
571       - integration-jdk-version:
572           jdkversion: '{jre}'
573       - distribution-karaf-version:
574           karaf-version: '{karaf-version}'
575
576     scm:
577       - integration-gerrit-scm:
578           basedir: 'test'
579           refspec: '$PATCHREFSPEC'
580           branch: 'master'
581
582     wrappers:
583       - opendaylight-infra-wrappers:
584           build-timeout: '{build-timeout}'
585
586     builders:
587       - integration-infra-stack:
588           stack-template: '{stack-template}'
589           vm_0_count: '3'
590           vm_0_flavor: '{odl_system_flavor}'
591           vm_0_image: '{odl_system_image}'
592           vm_1_count: '{tools_system_count}'
593           vm_1_flavor: '{tools_system_flavor}'
594           vm_1_image: '{tools_system_image}'
595       - integration-install-robotframework
596       - inject:
597           properties-file: 'env.properties'
598       - integration-get-slave-addresses
599       - inject:
600           properties-file: 'slave_addresses.txt'
601       - integration-detect-variables
602       - integration-configure-clustering
603       - integration-start-cluster-run-test
604       - integration-cleanup-tmp
605
606     publishers:
607       - integration-robot:
608           unstable-if: 0.0
609           pass-if: 100.0
610       - email-notification:
611           email-recipients: '{email-recipients}'
612           email-prefix: '[{project}]'
613       - plot:
614           - title: '{01-plot-title}'
615             yaxis: '{01-plot-yaxis}'
616             group: '{01-plot-group}'
617             num-builds: '5400'
618             keep-records: true
619             style: line
620             use-description: false
621             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
622             series:
623               - file: '{01-plot-data-file}'
624                 inclusion-flag: 'off'
625                 display-table: true
626                 format: csv
627           - title: '{02-plot-title}'
628             yaxis: '{02-plot-yaxis}'
629             group: '{02-plot-group}'
630             num-builds: '5400'
631             keep-records: true
632             style: line
633             use-description: false
634             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
635             series:
636               - file: '{02-plot-data-file}'
637                 inclusion-flag: 'off'
638                 display-table: true
639                 format: csv
640       - integration-csit-archive-build
641       - opendaylight-infra-shiplogs:
642           maven-version: 'mvn33'
643
644 - job-template:
645     name: '{project}-csit-3node-docker-{functionality}-{install}-{stream}'
646     disabled: false
647
648     project-type: freestyle
649     node: centos7-robot-2c-2g
650
651     properties:
652       - opendaylight-infra-properties:
653           build-days-to-keep: '{build-days-to-keep}'
654
655     parameters:
656       - opendaylight-infra-parameters:
657           os-cloud: '{os-cloud}'
658           project: 'integration/test'
659           branch: '{branch}'
660           refspec: 'refs/heads/{branch}'
661           artifacts: '{archive-artifacts}'
662       - integration-distribution-branch:
663           branch: '{branch}'
664       - integration-distribution-stream:
665           stream: '{stream}'
666       - integration-bundle-url:
667           bundle-url: '{bundle-url}'
668       - integration-controller-scope:
669           controller-scope: '{scope}'
670       - integration-controller-features:
671           controller-features: 'odl-jolokia,{install-features}'
672       - integration-test-options:
673           test-options: '{robot-options}'
674       - integration-stream-test-plan:
675           stream-test-plan: '{project}-{functionality}-{stream}.txt'
676       - integration-test-plan:
677           test-plan: '{project}-{functionality}.txt'
678       - integration-patch-refspec:
679           branch: 'master'
680       - integration-jdk-version:
681           jdkversion: '{jre}'
682       - distribution-karaf-version:
683           karaf-version: '{karaf-version}'
684
685     scm:
686       - integration-gerrit-scm:
687           basedir: 'test'
688           refspec: '$PATCHREFSPEC'
689           branch: 'master'
690
691     wrappers:
692       - opendaylight-infra-wrappers:
693           build-timeout: '{build-timeout}'
694
695     builders:
696       - integration-infra-stack:
697           stack-template: '{stack-template}'
698           vm_0_count: '3'
699           vm_0_flavor: '{odl_system_flavor}'
700           vm_0_image: '{odl_system_image}'
701           vm_1_count: '{docker_system_count}'
702           vm_1_flavor: '{docker_system_flavor}'
703           vm_1_image: '{docker_system_image}'
704       - integration-install-robotframework
705       - inject:
706           properties-file: 'env.properties'
707       - integration-get-slave-addresses
708       - inject:
709           properties-file: 'slave_addresses.txt'
710       - integration-detect-variables
711       - integration-configure-clustering
712       - integration-start-cluster-run-test
713       - integration-cleanup-tmp
714
715     publishers:
716       - integration-robot:
717           unstable-if: 0.0
718           pass-if: 100.0
719       - email-notification:
720           email-recipients: '{email-recipients}'
721           email-prefix: '[{project}]'
722       - plot:
723           - title: '{01-plot-title}'
724             yaxis: '{01-plot-yaxis}'
725             group: '{01-plot-group}'
726             num-builds: '5400'
727             keep-records: true
728             style: line
729             use-description: false
730             # yamllint disable-line rule:line-length
731             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
732             series:
733               - file: '{01-plot-data-file}'
734                 inclusion-flag: 'off'
735                 display-table: true
736                 format: csv
737           - title: '{02-plot-title}'
738             yaxis: '{02-plot-yaxis}'
739             group: '{02-plot-group}'
740             num-builds: '5400'
741             keep-records: true
742             style: line
743             use-description: false
744             # yamllint disable-line rule:line-length
745             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
746             series:
747               - file: '{02-plot-data-file}'
748                 inclusion-flag: 'off'
749                 display-table: true
750                 format: csv
751       - integration-csit-archive-build
752       - opendaylight-infra-shiplogs:
753           maven-version: 'mvn33'
754
755 - job-template:
756     name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}'
757     disabled: false
758
759     project-type: freestyle
760     node: centos7-robot-2c-2g
761
762     properties:
763       - opendaylight-infra-properties:
764           build-days-to-keep: '{build-days-to-keep}'
765
766     parameters:
767       - opendaylight-infra-parameters:
768           os-cloud: '{os-cloud}'
769           project: 'integration/test'
770           branch: '{branch}'
771           refspec: 'refs/heads/{branch}'
772           artifacts: '{archive-artifacts}'
773       - integration-distribution-branch:
774           branch: '{branch}'
775       - integration-distribution-stream:
776           stream: '{stream}'
777       - integration-bundle-url:
778           bundle-url: '{bundle-url}'
779       - integration-controller-scope:
780           controller-scope: '{scope}'
781       - integration-controller-features:
782           controller-features: 'odl-jolokia,{install-features}'
783       - integration-test-options:
784           test-options: '{robot-options}'
785       - integration-stream-test-plan:
786           stream-test-plan: '{project}-{functionality}-{stream}.txt'
787       - integration-test-plan:
788           test-plan: '{project}-{functionality}.txt'
789       - integration-patch-refspec:
790           branch: 'master'
791       - integration-jdk-version:
792           jdkversion: '{jre}'
793       - distribution-karaf-version:
794           karaf-version: '{karaf-version}'
795
796     scm:
797       - integration-gerrit-scm:
798           basedir: 'test'
799           refspec: '$PATCHREFSPEC'
800           branch: 'master'
801
802     wrappers:
803       - opendaylight-infra-wrappers:
804           build-timeout: '{build-timeout}'
805
806     builders:
807       - integration-infra-stack:
808           stack-template: '{stack-template}'
809           vm_0_count: '3'
810           vm_0_flavor: '{odl_system_flavor}'
811           vm_0_image: '{odl_system_image}'
812           vm_1_count: '{tools_system_count}'
813           vm_1_flavor: '{tools_system_flavor}'
814           vm_1_image: '{tools_system_image}'
815       - integration-install-robotframework
816       - inject:
817           properties-file: 'env.properties'
818       - integration-get-slave-addresses
819       - inject:
820           properties-file: 'slave_addresses.txt'
821       - integration-detect-variables
822       - integration-configure-clustering
823       - integration-start-cluster-run-test
824       - integration-cleanup-tmp
825
826     publishers:
827       - integration-robot:
828           unstable-if: 0.0
829           pass-if: 100.0
830       - email-notification:
831           email-recipients: '{email-recipients}'
832           email-prefix: '[{project}]'
833       - plot:
834           - title: '{01-plot-title}'
835             yaxis: '{01-plot-yaxis}'
836             group: '{01-plot-group}'
837             num-builds: '180'
838             keep-records: true
839             style: line
840             use-description: false
841             # yamllint disable-line rule:line-length
842             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
843             series:
844               - file: '{01-plot-data-file}'
845                 inclusion-flag: 'off'
846                 display-table: true
847                 format: csv
848           - title: '{02-plot-title}'
849             yaxis: '{02-plot-yaxis}'
850             group: '{02-plot-group}'
851             num-builds: '180'
852             keep-records: true
853             style: line
854             use-description: false
855             # yamllint disable-line rule:line-length
856             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
857             series:
858               - file: '{02-plot-data-file}'
859                 inclusion-flag: 'off'
860                 display-table: true
861                 format: csv
862           - title: '{03-plot-title}'
863             yaxis: '{03-plot-yaxis}'
864             group: '{03-plot-group}'
865             num-builds: '180'
866             keep-records: true
867             style: line
868             use-description: false
869             # yamllint disable-line rule:line-length
870             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{03-plot-data-file}-03-history.csv'
871             series:
872               - file: '{03-plot-data-file}'
873                 inclusion-flag: '{03-inclusion-flag}'
874                 exclude: '{03-exclude-value}'
875                 format: csv
876           - title: '{04-plot-title}'
877             yaxis: '{04-plot-yaxis}'
878             group: '{04-plot-group}'
879             num-builds: '180'
880             keep-records: true
881             style: line
882             use-description: false
883             # yamllint disable-line rule:line-length
884             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{04-plot-data-file}-04-history.csv'
885             series:
886               - file: '{04-plot-data-file}'
887                 inclusion-flag: '{04-inclusion-flag}'
888                 exclude: '{04-exclude-value}'
889                 format: csv
890           - title: '{05-plot-title}'
891             yaxis: '{05-plot-yaxis}'
892             group: '{05-plot-group}'
893             num-builds: '180'
894             keep-records: true
895             style: line
896             use-description: false
897             # yamllint disable-line rule:line-length
898             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{05-plot-data-file}-05-history.csv'
899             series:
900               - file: '{05-plot-data-file}'
901                 inclusion-flag: '{05-inclusion-flag}'
902                 exclude: '{05-exclude-value}'
903                 format: csv
904           - title: '{06-plot-title}'
905             yaxis: '{06-plot-yaxis}'
906             group: '{06-plot-group}'
907             num-builds: '180'
908             keep-records: true
909             style: line
910             use-description: false
911             # yamllint disable-line rule:line-length
912             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{06-plot-data-file}-06-history.csv'
913             series:
914               - file: '{06-plot-data-file}'
915                 inclusion-flag: '{06-inclusion-flag}'
916                 exclude: '{06-exclude-value}'
917                 format: csv
918           - title: '{07-plot-title}'
919             yaxis: '{07-plot-yaxis}'
920             group: '{07-plot-group}'
921             num-builds: '180'
922             keep-records: true
923             style: line
924             use-description: false
925             # yamllint disable-line rule:line-length
926             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{07-plot-data-file}-07-history.csv'
927             series:
928               - file: '{07-plot-data-file}'
929                 inclusion-flag: '{07-inclusion-flag}'
930                 exclude: '{07-exclude-value}'
931                 format: csv
932           - title: '{08-plot-title}'
933             yaxis: '{08-plot-yaxis}'
934             group: '{08-plot-group}'
935             num-builds: '180'
936             keep-records: true
937             style: line
938             use-description: false
939             # yamllint disable-line rule:line-length
940             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{08-plot-data-file}-08-history.csv'
941             series:
942               - file: '{08-plot-data-file}'
943                 inclusion-flag: '{08-inclusion-flag}'
944                 exclude: '{08-exclude-value}'
945                 format: csv
946           - title: '{09-plot-title}'
947             yaxis: '{09-plot-yaxis}'
948             group: '{09-plot-group}'
949             num-builds: '180'
950             keep-records: true
951             style: line
952             use-description: false
953             # yamllint disable-line rule:line-length
954             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{09-plot-data-file}-09-history.csv'
955             series:
956               - file: '{09-plot-data-file}'
957                 inclusion-flag: '{09-inclusion-flag}'
958                 exclude: '{09-exclude-value}'
959                 format: csv
960           - title: '{10-plot-title}'
961             yaxis: '{10-plot-yaxis}'
962             group: '{10-plot-group}'
963             num-builds: '180'
964             keep-records: true
965             style: line
966             use-description: false
967             # yamllint disable-line rule:line-length
968             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{10-plot-data-file}-10-history.csv'
969             series:
970               - file: '{10-plot-data-file}'
971                 inclusion-flag: '{10-inclusion-flag}'
972                 exclude: '{10-exclude-value}'
973                 format: csv
974       - integration-csit-archive-build
975       - opendaylight-infra-shiplogs:
976           maven-version: 'mvn33'
977
978 - job-template:
979     name: '{project}-csit-hwvtep-{topology}-openstack-{openstack}-{functionality}-{stream}'
980     disabled: false
981
982     project-type: freestyle
983     node: centos7-robot-2c-2g
984     concurrent: true
985
986     properties:
987       - opendaylight-infra-properties:
988           build-days-to-keep: '{build-days-to-keep}'
989
990     parameters:
991       - opendaylight-infra-parameters:
992           os-cloud: '{os-cloud}'
993           project: 'integration/test'
994           branch: '{branch}'
995           refspec: 'refs/heads/{branch}'
996           artifacts: '{archive-artifacts}'
997       - integration-distribution-branch:
998           branch: '{branch}'
999       - integration-distribution-stream:
1000           stream: '{stream}'
1001       - integration-bundle-url:
1002           bundle-url: '{bundle-url}'
1003       - integration-controller-features:
1004           controller-features: '{install-features}'
1005       - integration-test-options:
1006           test-options: '{robot-options}'
1007       - integration-test-plan:
1008           test-plan: '{testplan}'
1009       - integration-patch-refspec:
1010           branch: 'master'
1011       - integration-jdk-version:
1012           jdkversion: '{jre}'
1013       - distribution-karaf-version:
1014           karaf-version: '{karaf-version}'
1015       - string:
1016           name: OPENSTACK_BRANCH
1017           default: '{openstack-branch}'
1018           description: 'Openstack version to use with devstack'
1019       - string:
1020           name: ODL_ML2_DRIVER_REPO
1021           default: '{odl-ml2-driver-repo}'
1022           description: 'URL to fetch networking-odl driver'
1023       - string:
1024           name: ODL_ML2_BRANCH
1025           default: '{odl-ml2-branch}'
1026           description: 'Version of networking-odl to checkout from the repo'
1027       - string:
1028           name: ODL_ML2_DRIVER_VERSION
1029           default: '{odl-ml2-driver-version}'
1030           description: 'Mode of networking-odl (v1 or v2)'
1031       - string:
1032           name: ODL_ML2_PORT_BINDING
1033           default: '{odl-ml2-port-binding}'
1034           description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
1035           network-topology)'
1036       - string:
1037           name: DEVSTACK_KUBERNETES_PLUGIN_REPO
1038           default: '{devstack-kubernetes-plugin-repo}'
1039           description: 'URL to fetch kubernetes devstack plugin'
1040       - string:
1041           name: DEVSTACK_LBAAS_PLUGIN_REPO
1042           default: '{devstack-lbaas-plugin-repo}'
1043           description: 'URL to fetch neutron-lbaas devstack plugin'
1044       - string:
1045           name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
1046           default: '{devstack-networking-sfc-plugin-repo}'
1047           description: 'URL to fetch neutron-lbaas devstack plugin'
1048       - string:
1049           name: ODL_ENABLE_L3_FWD
1050           default: '{odl-enable-l3}'
1051           description: 'Enable L3 FWD in ODL for createing br-ex'
1052       - string:
1053           name: IPSEC_VXLAN_TUNNELS_ENABLED
1054           default: '{ipsec-vxlan-tunnels-enabled}'
1055           description: 'Enable ipsec over vxlan support for all controllers and computes'
1056       - string:
1057           name: PUBLIC_BRIDGE
1058           default: '{public-bridge}'
1059           description: 'Specifies public bridge for provider and external networking'
1060       - string:
1061           name: ENABLE_HAPROXY_FOR_NEUTRON
1062           default: '{enable-haproxy}'
1063           description: 'Enable HAProxy for using neutron interface as HA'
1064       - string:
1065           name: ENABLE_OS_SERVICES
1066           default: '{enable-openstack-services}'
1067           description: 'comma seperated list of services to enable'
1068       - string:
1069           name: ENABLE_OS_PLUGINS
1070           default: '{enable-openstack-plugins}'
1071           description: 'comma seperated list of plugins to enable'
1072       - string:
1073           name: DISABLE_OS_SERVICES
1074           default: '{disable-openstack-services}'
1075           description: 'comma seperated list of services to enable'
1076       - string:
1077           name: TENANT_NETWORK_TYPE
1078           default: '{tenant-network-type}'
1079           description: 'Tenant Network Type supported by the implementation'
1080       - string:
1081           name: SECURITY_GROUP_MODE
1082           default: '{security-group-mode}'
1083           description: 'Security Group Mode to be used in netvirt aclservice config'
1084       - string:
1085           name: PUBLIC_PHYSICAL_NETWORK
1086           default: '{public-physical-network}'
1087           description: 'provider physical network used for flat/vlan networks'
1088       - string:
1089           name: ENABLE_NETWORKING_L2GW
1090           default: '{enable-networking-l2gw}'
1091           description: 'Enable networking L2gw'
1092       - string:
1093           name: NETWORKING_L2GW_DRIVER
1094           default: '{networking-l2gw-repo}'
1095           description: 'URL to fetch networking-l2gw driver'
1096       - string:
1097           name: CREATE_INITIAL_NETWORKS
1098           default: '{create-initial-networks}'
1099           description: 'Toggles the option of letting devstack create initial networks (True/False)'
1100       - string:
1101           name: LBAAS_SERVICE_PROVIDER
1102           default: '{lbaas-service-provider}'
1103           description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
1104           neutron-lbaas'
1105       - string:
1106           name: ODL_SFC_DRIVER
1107           default: '{odl-sfc-driver}'
1108           description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc'
1109       - string:
1110           name: ODL_SNAT_MODE
1111           default: '{odl-snat-mode}'
1112           description: 'The SNAT mode to be configured - options are conntrack/controller.'
1113     scm:
1114       - integration-gerrit-scm:
1115           basedir: 'test'
1116           refspec: '$PATCHREFSPEC'
1117           branch: 'master'
1118
1119     wrappers:
1120       - opendaylight-infra-wrappers:
1121           build-timeout: '{build-timeout}'
1122
1123     triggers:
1124       - timed: '{schedule}'
1125
1126     builders:
1127       - integration-infra-stack-3-type:
1128           vm_0_count: '{odl_system_count}'
1129           vm_0_flavor: '{odl_system_flavor}'
1130           vm_0_image: '{odl_system_image}'
1131           vm_1_count: '{openstack_system_count}'
1132           vm_1_flavor: '{openstack_system_flavor}'
1133           vm_1_image: '{openstack_system_image}'
1134           vm_2_count: '{tools_system_count}'
1135           vm_2_flavor: '{tools_system_flavor}'
1136           vm_2_image: '{tools_system_image}'
1137       - integration-install-robotframework
1138       - inject:
1139           properties-file: 'env.properties'
1140       - integration-get-slave-addresses
1141       - inject:
1142           properties-file: 'slave_addresses.txt'
1143       - integration-detect-variables
1144       - integration-deploy-controller-run-test
1145       - integration-deploy-openstack-run-test
1146       - integration-cleanup-tmp
1147
1148     publishers:
1149       - integration-robot-tempest:
1150           unstable-if: 0.0
1151           pass-if: 100.0
1152       - email-notification:
1153           email-recipients: '{email-recipients}'
1154           email-prefix: '[{project}]'
1155       - integration-csit-archive-build
1156       - opendaylight-infra-shiplogs:
1157           maven-version: 'mvn33'
1158
1159 - job-template:
1160     name: '{project}-csit-{topology}-openstack-{openstack}-{functionality}-{stream}'
1161     disabled: false
1162
1163     project-type: freestyle
1164     node: centos7-robot-2c-2g
1165     concurrent: true
1166
1167     properties:
1168       - opendaylight-infra-properties:
1169           build-days-to-keep: '{build-days-to-keep}'
1170
1171     parameters:
1172       - opendaylight-infra-parameters:
1173           os-cloud: '{os-cloud}'
1174           project: 'integration/test'
1175           branch: '{branch}'
1176           refspec: 'refs/heads/{branch}'
1177           artifacts: '{archive-artifacts}'
1178       - integration-distribution-branch:
1179           branch: '{branch}'
1180       - integration-distribution-stream:
1181           stream: '{stream}'
1182       - integration-bundle-url:
1183           bundle-url: '{bundle-url}'
1184       - integration-controller-features:
1185           controller-features: '{install-features}'
1186       - integration-test-options:
1187           test-options: '{robot-options}'
1188       - integration-test-plan:
1189           test-plan: '{testplan}'
1190       - integration-patch-refspec:
1191           branch: 'master'
1192       - integration-jdk-version:
1193           jdkversion: '{jre}'
1194       - distribution-karaf-version:
1195           karaf-version: '{karaf-version}'
1196       - string:
1197           name: OPENSTACK_BRANCH
1198           default: '{openstack-branch}'
1199           description: 'Openstack version to use with devstack'
1200       - string:
1201           name: ODL_ML2_DRIVER_REPO
1202           default: '{odl-ml2-driver-repo}'
1203           description: 'URL to fetch networking-odl driver'
1204       - string:
1205           name: ODL_ML2_BRANCH
1206           default: '{odl-ml2-branch}'
1207           description: 'Version of networking-odl to checkout from the repo'
1208       - string:
1209           name: ODL_ML2_DRIVER_VERSION
1210           default: '{odl-ml2-driver-version}'
1211           description: 'Mode of networking-odl (v1 or v2)'
1212       - string:
1213           name: ODL_ML2_PORT_BINDING
1214           default: '{odl-ml2-port-binding}'
1215           description: 'Method of networking-odl port-binding (pseudo-agentdb-binding or legacy-port-binding or
1216           network-topology)'
1217       - string:
1218           name: DEVSTACK_KUBERNETES_PLUGIN_REPO
1219           default: '{devstack-kubernetes-plugin-repo}'
1220           description: 'URL to fetch kubernetes devstack plugin'
1221       - string:
1222           name: DEVSTACK_LBAAS_PLUGIN_REPO
1223           default: '{devstack-lbaas-plugin-repo}'
1224           description: 'URL to fetch neutron-lbaas devstack plugin'
1225       - string:
1226           name: DEVSTACK_NETWORKING_SFC_PLUGIN_REPO
1227           default: '{devstack-networking-sfc-plugin-repo}'
1228           description: 'URL to fetch neutron-lbaas devstack plugin'
1229       - string:
1230           name: ODL_ENABLE_L3_FWD
1231           default: '{odl-enable-l3}'
1232           description: 'Enable L3 FWD in ODL for createing br-ex'
1233       - string:
1234           name: IPSEC_VXLAN_TUNNELS_ENABLED
1235           default: '{ipsec-vxlan-tunnels-enabled}'
1236           description: 'Enable ipsec over vxlan support for all controllers and computes'
1237       - string:
1238           name: PUBLIC_BRIDGE
1239           default: '{public-bridge}'
1240           description: 'Specifies public bridge for provider and external networking'
1241       - string:
1242           name: ENABLE_HAPROXY_FOR_NEUTRON
1243           default: '{enable-haproxy}'
1244           description: 'Enable HAProxy for using neutron interface as HA'
1245       - string:
1246           name: ENABLE_OS_SERVICES
1247           default: '{enable-openstack-services}'
1248           description: 'comma seperated list of services to enable'
1249       - string:
1250           name: ENABLE_OS_PLUGINS
1251           default: '{enable-openstack-plugins}'
1252           description: 'comma seperated list of plugins to enable'
1253       - string:
1254           name: DISABLE_OS_SERVICES
1255           default: '{disable-openstack-services}'
1256           description: 'comma seperated list of services to enable'
1257       - string:
1258           name: TENANT_NETWORK_TYPE
1259           default: '{tenant-network-type}'
1260           description: 'Tenant Network Type supported by the implementation'
1261       - string:
1262           name: SECURITY_GROUP_MODE
1263           default: '{security-group-mode}'
1264           description: 'Security Group Mode to be used in netvirt aclservice config'
1265       - string:
1266           name: PUBLIC_PHYSICAL_NETWORK
1267           default: '{public-physical-network}'
1268           description: 'provider physical network used for flat/vlan networks'
1269       - string:
1270           name: ENABLE_NETWORKING_L2GW
1271           default: '{enable-networking-l2gw}'
1272           description: 'Enable networking L2gw'
1273       - string:
1274           name: NETWORKING_L2GW_DRIVER
1275           default: '{networking-l2gw-repo}'
1276           description: 'URL to fetch networking-l2gw driver'
1277       - string:
1278           name: CREATE_INITIAL_NETWORKS
1279           default: '{create-initial-networks}'
1280           description: 'Toggles the option of letting devstack create initial networks (True/False)'
1281       - string:
1282           name: LBAAS_SERVICE_PROVIDER
1283           default: '{lbaas-service-provider}'
1284           description: 'The NEUTRON_LBAAS_SERVICE_PROVIDERV2 value to be used in local.conf - only relevant when using
1285           neutron-lbaas'
1286       - string:
1287           name: NUM_OPENSTACK_SITES
1288           default: '{num-openstack-sites}'
1289           description: 'Number of openstack sites'
1290       - string:
1291           name: ODL_SFC_DRIVER
1292           default: '{odl-sfc-driver}'
1293           description: 'The SFC driver to be used in local.conf - only relevant when using networking-sfc'
1294       - string:
1295           name: ODL_SNAT_MODE
1296           default: '{odl-snat-mode}'
1297           description: 'The SNAT mode to be configured - options are conntrack/controller.'
1298
1299     scm:
1300       - integration-gerrit-scm:
1301           basedir: 'test'
1302           refspec: '$PATCHREFSPEC'
1303           branch: 'master'
1304
1305     wrappers:
1306       - opendaylight-infra-wrappers:
1307           build-timeout: '{build-timeout}'
1308
1309     triggers:
1310       - timed: '{schedule}'
1311
1312     builders:
1313       - integration-infra-stack:
1314           stack-template: '{stack-template}'
1315           vm_0_count: '{odl_system_count}'
1316           vm_0_flavor: '{odl_system_flavor}'
1317           vm_0_image: '{odl_system_image}'
1318           vm_1_count: '{openstack_system_count}'
1319           vm_1_flavor: '{openstack_system_flavor}'
1320           vm_1_image: '{openstack_system_image}'
1321       - integration-install-robotframework
1322       - inject:
1323           properties-file: 'env.properties'
1324       - integration-get-slave-addresses
1325       - inject:
1326           properties-file: 'slave_addresses.txt'
1327       - integration-detect-variables
1328       - integration-deploy-controller-run-test
1329       - integration-deploy-openstack-run-test
1330       - integration-cleanup-tmp
1331
1332     publishers:
1333       - integration-robot-tempest:
1334           unstable-if: 0.0
1335           pass-if: 100.0
1336       - email-notification:
1337           email-recipients: '{email-recipients}'
1338           email-prefix: '[{project}]'
1339       - integration-csit-archive-build
1340       - opendaylight-infra-shiplogs:
1341           maven-version: 'mvn33'
1342
1343 # Template: {project}-patch-test-{stream}
1344 # Goal: Build a patch and run project specific system test on a distribution containing the change
1345 # Operation: This job template builds a patch, creates a distribution containing the patch, and
1346 # triggers the project system test defined in {csit-list} when gerrit receives test-{project} keyword
1347
1348 - job-template:
1349     name: '{project}-patch-test-{feature}-{stream}'
1350
1351     project-type: freestyle
1352     node: centos7-java-builder-2c-8g
1353     concurrent: true
1354     jdk: '{jdk}'
1355
1356     properties:
1357       - opendaylight-infra-properties:
1358           build-days-to-keep: '{build-days-to-keep}'
1359
1360     parameters:
1361       - opendaylight-infra-parameters:
1362           os-cloud: '{os-cloud}'
1363           project: '{project}'
1364           branch: '{branch}'
1365           refspec: 'refs/heads/{branch}'
1366           artifacts: '{archive-artifacts}'
1367       - integration-distribution-branch:
1368           branch: '{branch}'
1369       - distribution-karaf-version:
1370           karaf-version: 'karaf3'
1371       - integration-distribution-git-url:
1372           git-url: '{git-url}'
1373       - string:
1374           name: feature
1375           default: 'all'
1376           description: 'Specific feature test for patch'
1377       - maven-exec:
1378           maven-version: mvn33
1379
1380     scm:
1381       - integration-gerrit-scm:
1382           basedir: '{project}'
1383           refspec: '$GERRIT_REFSPEC'
1384           branch: '{branch}'
1385       - integration-distribution-scm:
1386           branch: '{branch}'
1387
1388     wrappers:
1389       - opendaylight-infra-wrappers:
1390           build-timeout: '{build-timeout}'
1391
1392     triggers:
1393       - gerrit:
1394           server-name: '{server-name}'
1395           trigger-on:
1396             - comment-added-contains-event:
1397                 comment-contains-value: 'test-{project}-all'
1398             - comment-added-contains-event:
1399                 comment-contains-value: 'test-{project}-{feature}'
1400           projects:
1401             - project-compare-type: 'ANT'
1402               project-pattern: '{project}'
1403               branches:
1404                 - branch-compare-type: 'ANT'
1405                   branch-pattern: '**/{branch}'
1406           skip-vote:
1407             successful: true
1408             failed: true
1409             unstable: true
1410             notbuilt: true
1411
1412     builders:
1413       - integration-rebase-gerrit-patch
1414       - wipe-org-opendaylight-repo
1415       - maven-target:
1416           maven-version: mvn33
1417           pom: '{project}/pom.xml'
1418           goals: |
1419               clean install dependency:tree
1420               -Pq
1421               -Dgitid.skip=false
1422               -DgenerateReports=false
1423               -Dstream={stream}
1424               {opendaylight-infra-mvn-opts}
1425           java-opts:
1426             - '-Xmx4096m -XX:MaxPermSize=1024m -Dmaven.compile.fork=true'
1427           settings: integration-settings
1428           settings-type: cfp
1429           global-settings: odl-global-settings
1430           global-settings-type: cfp
1431       - maven-target:
1432           maven-version: mvn33
1433           pom: distribution/pom.xml
1434           goals: |
1435               clean install dependency:tree
1436               -Pq
1437               -Dgitid.skip=false
1438               {opendaylight-infra-mvn-opts}
1439           java-opts:
1440             - '-Xmx1024m -XX:MaxPermSize=256m -Dmaven.compile.fork=true'
1441           settings: integration-settings
1442           settings-type: cfp
1443           global-settings: odl-global-settings
1444           global-settings-type: cfp
1445       - integration-upload-distribution:
1446           dist-pom: distribution/pom.xml
1447       - trigger-builds:
1448           - project: '{csit-list}'
1449             block: true
1450             predefined-parameters: |
1451               BUNDLE_URL=$BUNDLE_URL
1452               KARAF_VERSION=$KARAF_VERSION
1453
1454     publishers:
1455       - email-notification:
1456           email-recipients: '{email-recipients}'
1457           email-prefix: '[{project}]'