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