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