Keeping karaf logs for 40 builds in all csit jobs
[releng/builder.git] / jjb / integration / integration-templates.yaml
1 # Job templates in this file (please update with every new template):
2 #
3 # {project}-csit-verify-{functionality}-{stream}
4 # {project}-csit-1node-imds-{functionality}-{install}-{stream}
5 # {project}-csit-1node-cds-{functionality}-{install}-{stream}
6 # {project}-csit-periodic-1node-cds-{functionality}-{install}-{stream}
7 # {project}-csit-3node-cds-{functionality}-{install}-{stream}
8 #
9 # New (for Be release):
10 # {project}-csit-verify-1node-{functionality}-{stream}
11 # {project}-csit-1node-{functionality}-{install}-{stream}
12 # {project}-csit-1node-periodic-{functionality}-{install}-{stream}
13 # {project}-csit-verify-3node-{functionality}-{stream}
14 # {project}-csit-3node-{functionality}-{install}-{stream}
15 # {project}-csit-3node-periodic-{functionality}-{install}-{stream}
16 #
17
18 # Old templates
19
20 - job-template:
21     name: '{project}-csit-verify-{functionality}-{stream}'
22
23     project-type: freestyle
24     node: dynamic_robot
25
26     logrotate:
27         daysToKeep: '{build-days-to-keep}'
28         numToKeep: '{build-num-to-keep}'
29         artifactDaysToKeep: '{build-artifact-days-to-keep}'
30         artifactNumToKeep: '{build-num-to-keep}'
31
32     parameters:
33         - project-parameter:
34             project: 'integration'
35         - integration-branch:
36             branch: '{branch}'
37         - integration-bundleurl:
38             bundleurl: 'last'
39         - integration-controller-scope:
40             controller-scope: 'only'
41         - integration-controller-features:
42             controller-features: '{install-features}'
43         - integration-test-options:
44             test-options: '{robot-options}'
45         - integration-test-plan:
46             test-plan: '{project}-{functionality}.txt'
47
48     scm:
49         - gerrit-trigger-scm:
50             credentials-id: '{ssh-credentials}'
51             refspec: '$GERRIT_REFSPEC'
52             choosing-strategy: 'gerrit'
53
54     wrappers:
55         - build-timeout
56         - integration-jclouds-controller-mininet:
57             controller-vms: 1
58             mininet-image: '{mininet-image}'
59             mininet-vms: '{mininet-vms}'
60         - ssh-agent-credentials:
61             users:
62                 - '{ssh-credentials}'
63
64     triggers:
65         - integration-test-gerrit-trigger-patch-submitted:
66             name: 'integration'
67             branch: '{branch}'
68             project: '{project}'
69
70     builders:
71         - integration-get-slave-addresses
72         - inject:
73             properties-file: 'slave_addresses.txt'
74         - integration-deploy-controller-run-test
75
76     publishers:
77         - integration-robot:
78             unstable-if: 0.0
79             pass-if: 0.0
80         - archive:
81             artifacts: 'karaf.log'
82         - email-notification:
83             email-prefix: '[{project}]'
84
85 - job-template:
86     name: '{project}-csit-1node-imds-{functionality}-{install}-{stream}'
87
88     project-type: freestyle
89     node: dynamic_robot
90
91     logrotate:
92         daysToKeep: '{build-days-to-keep}'
93         numToKeep: '{build-num-to-keep}'
94         artifactDaysToKeep: '{build-artifact-days-to-keep}'
95         artifactNumToKeep: '{build-num-to-keep}'
96
97     parameters:
98         - project-parameter:
99             project: 'integration'
100         - integration-branch:
101             branch: '{branch}'
102         - integration-bundleurl:
103             bundleurl: 'last'
104         - integration-controller-scope:
105             controller-scope: '{scope}'
106         - integration-controller-features:
107             controller-features: '{install-features}'
108         - integration-test-options:
109             test-options: '{robot-options}'
110         - integration-test-plan:
111             test-plan: '{project}-{functionality}.txt'
112         - integration-patch-refspec:
113             branch: '{branch}'
114
115     scm:
116         - integration-patch-scm:
117             credentials-id: '{ssh-credentials}'
118             branch: '{branch}'
119
120     wrappers:
121         - build-timeout
122         - integration-jclouds-controller-mininet:
123             controller-vms: 1
124             mininet-image: '{mininet-image}'
125             mininet-vms: '{mininet-vms}'
126         - ssh-agent-credentials:
127             users:
128                 - '{ssh-credentials}'
129
130     triggers:
131         - reverse:
132             jobs: '{trigger-jobs}'
133             result: 'success'
134
135     builders:
136         - integration-get-slave-addresses
137         - inject:
138             properties-file: 'slave_addresses.txt'
139         - integration-deploy-controller-run-test
140
141     publishers:
142         - integration-robot:
143             unstable-if: 0.0
144             pass-if: 100.0
145         - archive:
146             artifacts: 'karaf.log'
147         - email-notification:
148             email-prefix: '[{project}]'
149         - plot:
150           - title: '{01-plot-title}'
151             yaxis: '{01-plot-yaxis}'
152             group: '{01-plot-group}'
153             num-builds: '5400'
154             style: line
155             use-description: false
156             csv-file-name: '{project}-csit-1node-imds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
157             keep-records: true
158             series:
159               - file: '{01-plot-data-file}'
160                 inclusion-flag: 'off'
161                 display-table: true
162                 format: csv
163           - title: '{02-plot-title}'
164             yaxis: '{02-plot-yaxis}'
165             group: '{02-plot-group}'
166             num-builds: '5400'
167             style: line
168             use-description: false
169             csv-file-name: '{project}-csit-1node-imds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
170             keep-records: true
171             series:
172               - file: '{02-plot-data-file}'
173                 inclusion-flag: 'off'
174                 display-table: true
175                 format: csv
176
177 - job-template:
178     name: '{project}-csit-1node-cds-{functionality}-{install}-{stream}'
179
180     project-type: freestyle
181     node: dynamic_robot
182
183     logrotate:
184         daysToKeep: '{build-days-to-keep}'
185         numToKeep: '{build-num-to-keep}'
186         artifactDaysToKeep: '{build-artifact-days-to-keep}'
187         artifactNumToKeep: '{build-num-to-keep}'
188
189     parameters:
190         - project-parameter:
191             project: 'integration'
192         - integration-branch:
193             branch: '{branch}'
194         - integration-bundleurl:
195             bundleurl: 'last'
196         - integration-controller-scope:
197             controller-scope: '{scope}'
198         - integration-controller-features:
199             controller-features: '{install-features}'
200         - integration-test-options:
201             test-options: '{robot-options}'
202         - integration-test-plan:
203             test-plan: '{project}-{functionality}.txt'
204         - integration-patch-refspec:
205             branch: '{branch}'
206
207     scm:
208         - integration-patch-scm:
209             credentials-id: '{ssh-credentials}'
210             branch: '{branch}'
211
212     wrappers:
213         - build-timeout
214         - integration-jclouds-controller-mininet:
215             controller-vms: 1
216             mininet-image: '{mininet-image}'
217             mininet-vms: '{mininet-vms}'
218         - ssh-agent-credentials:
219             users:
220                 - '{ssh-credentials}'
221
222     triggers:
223         - reverse:
224             jobs: '{trigger-jobs}'
225             result: 'success'
226
227     builders:
228         - integration-get-slave-addresses
229         - inject:
230             properties-file: 'slave_addresses.txt'
231         - integration-deploy-controller-run-test
232
233     publishers:
234         - integration-robot:
235             unstable-if: 0.0
236             pass-if: 100.0
237         - archive:
238             artifacts: 'karaf.log'
239         - email-notification:
240             email-prefix: '[{project}]'
241         - plot:
242           - title: '{01-plot-title}'
243             yaxis: '{01-plot-yaxis}'
244             group: '{01-plot-group}'
245             num-builds: '5400'
246             style: line
247             use-description: false
248             csv-file-name: '{project}-csit-1node-cds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
249             keep-records: true
250             series:
251               - file: '{01-plot-data-file}'
252                 inclusion-flag: 'off'
253                 display-table: true
254                 format: csv
255           - title: '{02-plot-title}'
256             yaxis: '{02-plot-yaxis}'
257             group: '{02-plot-group}'
258             num-builds: '5400'
259             style: line
260             use-description: false
261             csv-file-name: '{project}-csit-1node-cds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
262             keep-records: true
263             series:
264               - file: '{02-plot-data-file}'
265                 inclusion-flag: 'off'
266                 display-table: true
267                 format: csv
268
269
270 - job-template:
271     name: '{project}-csit-periodic-1node-cds-{functionality}-{install}-{stream}'
272
273     project-type: freestyle
274     node: dynamic_robot
275
276     logrotate:
277         daysToKeep: '{build-days-to-keep}'
278         numToKeep: '{build-num-to-keep}'
279         artifactDaysToKeep: '{build-artifact-days-to-keep}'
280         artifactNumToKeep: '{build-num-to-keep}'
281
282     parameters:
283         - project-parameter:
284             project: 'integration'
285         - integration-branch:
286             branch: '{branch}'
287         - integration-bundleurl:
288             bundleurl: 'last'
289         - integration-controller-scope:
290             controller-scope: '{scope}'
291         - integration-controller-features:
292             controller-features: '{install-features}'
293         - integration-test-options:
294             test-options: '{robot-options}'
295         - integration-test-plan:
296             test-plan: '{project}-{functionality}.txt'
297         - integration-patch-refspec:
298             branch: '{branch}'
299
300     scm:
301         - integration-patch-scm:
302             credentials-id: '{ssh-credentials}'
303             branch: '{branch}'
304
305     wrappers:
306         - build-timeout
307         - integration-jclouds-controller-mininet:
308             controller-vms: 1
309             mininet-image: '{mininet-image}'
310             mininet-vms: '{mininet-vms}'
311         - ssh-agent-credentials:
312             users:
313                 - '{ssh-credentials}'
314
315     triggers:
316         - timed: '{schedule}'
317
318     builders:
319         - integration-get-slave-addresses
320         - inject:
321             properties-file: 'slave_addresses.txt'
322         - integration-deploy-controller-run-test
323
324     publishers:
325         - integration-robot:
326             unstable-if: 0.0
327             pass-if: 100.0
328         - archive:
329             artifacts: 'karaf.log'
330         - email-notification:
331             email-prefix: '[{project}]'
332         - plot:
333           - title: '{01-plot-title}'
334             yaxis: '{01-plot-yaxis}'
335             group: '{01-plot-group}'
336             num-builds: '180'
337             style: line
338             use-description: false
339             csv-file-name: '{project}-csit-periodic-1node-cds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
340             keep-records: true
341             series:
342               - file: '{01-plot-data-file}'
343                 inclusion-flag: 'off'
344                 display-table: true
345                 format: csv
346           - title: '{02-plot-title}'
347             yaxis: '{02-plot-yaxis}'
348             group: '{02-plot-group}'
349             num-builds: '180'
350             style: line
351             use-description: false
352             csv-file-name: '{project}-csit-periodic-1node-cds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
353             keep-records: true
354             series:
355               - file: '{02-plot-data-file}'
356                 inclusion-flag: 'off'
357                 display-table: true
358                 format: csv
359
360
361 - job-template:
362     name: '{project}-csit-3node-cds-{functionality}-{install}-{stream}'
363
364     project-type: freestyle
365     node: dynamic_robot
366
367     logrotate:
368         daysToKeep: '{build-days-to-keep}'
369         numToKeep: '{build-num-to-keep}'
370         artifactDaysToKeep: '{build-artifact-days-to-keep}'
371         artifactNumToKeep: '{build-num-to-keep}'
372
373     parameters:
374         - project-parameter:
375             project: 'integration'
376         - integration-branch:
377             branch: '{branch}'
378         - integration-bundleurl:
379             bundleurl: 'last'
380         - integration-controller-scope:
381             controller-scope: '{scope}'
382         - integration-controller-features:
383             controller-features: 'odl-mdsal-clustering,{install-features}'
384         - integration-test-options:
385             test-options: '{robot-options}'
386         - integration-test-plan:
387             test-plan: '{project}-{functionality}.txt'
388         - integration-patch-refspec:
389             branch: '{branch}'
390
391     scm:
392         - integration-patch-scm:
393             credentials-id: '{ssh-credentials}'
394             branch: '{branch}'
395
396     wrappers:
397         - build-timeout
398         - integration-jclouds-controller-mininet:
399             controller-vms: 3
400             mininet-image: '{mininet-image}'
401             mininet-vms: '{mininet-vms}'
402         - ssh-agent-credentials:
403             users:
404                 - '{ssh-credentials}'
405
406     triggers:
407         - reverse:
408             jobs: '{trigger-jobs}'
409             result: 'success'
410
411     builders:
412         - integration-get-slave-addresses
413         - inject:
414             properties-file: 'slave_addresses.txt'
415         - integration-get-bundle-vars
416         - inject:
417             properties-file: 'bundle_vars.txt'
418         - integration-deploy-controller
419         - integration-configure-clustering
420         - integration-start-cluster-run-test
421     publishers:
422         - integration-robot:
423             unstable-if: 0.0
424             pass-if: 100.0
425         - archive:
426             artifacts: '*karaf.log'
427         - email-notification:
428             email-prefix: '[{project}]'
429         - plot:
430           - title: '{01-plot-title}'
431             yaxis: '{01-plot-yaxis}'
432             group: '{01-plot-group}'
433             num-builds: '5400'
434             style: line
435             use-description: false
436             csv-file-name: '{project}-csit-3node-cds-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
437             keep-records: true
438             series:
439               - file: '{01-plot-data-file}'
440                 inclusion-flag: 'off'
441                 display-table: true
442                 format: csv
443           - title: '{02-plot-title}'
444             yaxis: '{02-plot-yaxis}'
445             group: '{02-plot-group}'
446             num-builds: '5400'
447             style: line
448             use-description: false
449             csv-file-name: '{project}-csit-3node-cds-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
450             keep-records: true
451             series:
452               - file: '{02-plot-data-file}'
453                 inclusion-flag: 'off'
454                 display-table: true
455                 format: csv
456
457 # New templates
458
459 - job-template:
460     name: '{project}-csit-verify-1node-{functionality}-{stream}'
461
462     project-type: freestyle
463     node: dynamic_robot
464
465     logrotate:
466         daysToKeep: '{build-days-to-keep}'
467         numToKeep: '{build-num-to-keep}'
468         artifactDaysToKeep: '{build-artifact-days-to-keep}'
469         artifactNumToKeep: '{build-num-to-keep}'
470
471     parameters:
472         - project-parameter:
473             project: 'integration'
474         - integration-branch:
475             branch: '{branch}'
476         - integration-bundleurl:
477             bundleurl: 'last'
478         - integration-controller-scope:
479             controller-scope: 'only'
480         - integration-controller-features:
481             controller-features: '{install-features}'
482         - integration-test-options:
483             test-options: '{robot-options}'
484         - integration-test-plan:
485             test-plan: '{project}-{functionality}.txt'
486
487     scm:
488         - gerrit-trigger-scm:
489             credentials-id: '{ssh-credentials}'
490             refspec: '$GERRIT_REFSPEC'
491             choosing-strategy: 'gerrit'
492
493     wrappers:
494         - build-timeout
495         - integration-jclouds-controller-mininet:
496             controller-vms: 1
497             mininet-image: '{mininet-image}'
498             mininet-vms: '{mininet-vms}'
499         - ssh-agent-credentials:
500             users:
501                 - '{ssh-credentials}'
502
503     triggers:
504         - integration-test-gerrit-trigger-patch-submitted:
505             name: 'integration'
506             branch: '{branch}'
507             project: '{project}'
508
509     builders:
510         - integration-get-slave-addresses
511         - inject:
512             properties-file: 'slave_addresses.txt'
513         - integration-deploy-controller-run-test
514
515     publishers:
516         - integration-robot:
517             unstable-if: 0.0
518             pass-if: 0.0
519         - archive:
520             artifacts: 'karaf.log'
521         - email-notification:
522             email-prefix: '[{project}]'
523
524 - job-template:
525     name: '{project}-csit-1node-{functionality}-{install}-{stream}'
526
527     project-type: freestyle
528     node: dynamic_robot
529
530     logrotate:
531         daysToKeep: '{build-days-to-keep}'
532         numToKeep: '{build-num-to-keep}'
533         artifactDaysToKeep: '{build-artifact-days-to-keep}'
534         artifactNumToKeep: '{build-num-to-keep}'
535
536     parameters:
537         - project-parameter:
538             project: 'integration'
539         - integration-branch:
540             branch: '{branch}'
541         - integration-bundleurl:
542             bundleurl: 'last'
543         - integration-controller-scope:
544             controller-scope: '{scope}'
545         - integration-controller-features:
546             controller-features: '{install-features}'
547         - integration-test-options:
548             test-options: '{robot-options}'
549         - integration-test-plan:
550             test-plan: '{project}-{functionality}.txt'
551         - integration-patch-refspec:
552             branch: '{branch}'
553
554     scm:
555         - integration-patch-scm:
556             credentials-id: '{ssh-credentials}'
557             branch: '{branch}'
558
559     wrappers:
560         - build-timeout
561         - integration-jclouds-controller-mininet:
562             controller-vms: 1
563             mininet-image: '{mininet-image}'
564             mininet-vms: '{mininet-vms}'
565         - ssh-agent-credentials:
566             users:
567                 - '{ssh-credentials}'
568
569     triggers:
570         - reverse:
571             jobs: '{trigger-jobs}'
572             result: 'success'
573
574     builders:
575         - integration-get-slave-addresses
576         - inject:
577             properties-file: 'slave_addresses.txt'
578         - integration-deploy-controller-run-test
579
580     publishers:
581         - integration-robot:
582             unstable-if: 0.0
583             pass-if: 100.0
584         - archive:
585             artifacts: 'karaf.log'
586         - email-notification:
587             email-prefix: '[{project}]'
588         - plot:
589           - title: '{01-plot-title}'
590             yaxis: '{01-plot-yaxis}'
591             group: '{01-plot-group}'
592             num-builds: '5400'
593             style: line
594             use-description: false
595             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
596             series:
597               - file: '{01-plot-data-file}'
598                 inclusion-flag: 'off'
599                 display-table: true
600                 format: csv
601           - title: '{02-plot-title}'
602             yaxis: '{02-plot-yaxis}'
603             group: '{02-plot-group}'
604             num-builds: '5400'
605             style: line
606             use-description: false
607             csv-file-name: '{project}-csit-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
608             series:
609               - file: '{02-plot-data-file}'
610                 inclusion-flag: 'off'
611                 display-table: true
612                 format: csv
613
614 - job-template:
615     name: '{project}-csit-1node-periodic-{functionality}-{install}-{stream}'
616
617     project-type: freestyle
618     node: dynamic_robot
619
620     logrotate:
621         daysToKeep: '{build-days-to-keep}'
622         numToKeep: '{build-num-to-keep}'
623         artifactDaysToKeep: '{build-artifact-days-to-keep}'
624         artifactNumToKeep: '{build-num-to-keep}'
625
626     parameters:
627         - project-parameter:
628             project: 'integration'
629         - integration-branch:
630             branch: '{branch}'
631         - integration-bundleurl:
632             bundleurl: 'last'
633         - integration-controller-scope:
634             controller-scope: '{scope}'
635         - integration-controller-features:
636             controller-features: '{install-features}'
637         - integration-test-options:
638             test-options: '{robot-options}'
639         - integration-test-plan:
640             test-plan: '{project}-{functionality}.txt'
641         - integration-patch-refspec:
642             branch: '{branch}'
643
644     scm:
645         - integration-patch-scm:
646             credentials-id: '{ssh-credentials}'
647             branch: '{branch}'
648
649     wrappers:
650         - build-timeout
651         - integration-jclouds-controller-mininet:
652             controller-vms: 1
653             mininet-image: '{mininet-image}'
654             mininet-vms: '{mininet-vms}'
655         - ssh-agent-credentials:
656             users:
657                 - '{ssh-credentials}'
658
659     triggers:
660         - timed: '{schedule}'
661
662     builders:
663         - integration-get-slave-addresses
664         - inject:
665             properties-file: 'slave_addresses.txt'
666         - integration-deploy-controller-run-test
667
668     publishers:
669         - integration-robot:
670             unstable-if: 0.0
671             pass-if: 100.0
672         - archive:
673             artifacts: 'karaf.log'
674         - email-notification:
675             email-prefix: '[{project}]'
676         - plot:
677           - title: '{01-plot-title}'
678             yaxis: '{01-plot-yaxis}'
679             group: '{01-plot-group}'
680             num-builds: '180'
681             style: line
682             use-description: false
683             csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
684             series:
685               - file: '{01-plot-data-file}'
686                 inclusion-flag: 'off'
687                 display-table: true
688                 format: csv
689           - title: '{02-plot-title}'
690             yaxis: '{02-plot-yaxis}'
691             group: '{02-plot-group}'
692             num-builds: '180'
693             style: line
694             use-description: false
695             csv-file-name: '{project}-csit-periodic-1node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
696             series:
697               - file: '{02-plot-data-file}'
698                 inclusion-flag: 'off'
699                 display-table: true
700                 format: csv
701
702 - job-template:
703     name: '{project}-csit-verify-3node-{functionality}-{stream}'
704
705     project-type: freestyle
706     node: dynamic_robot
707
708     logrotate:
709         daysToKeep: '{build-days-to-keep}'
710         numToKeep: '{build-num-to-keep}'
711         artifactDaysToKeep: '{build-artifact-days-to-keep}'
712         artifactNumToKeep: '{build-num-to-keep}'
713
714     parameters:
715         - project-parameter:
716             project: 'integration'
717         - integration-branch:
718             branch: '{branch}'
719         - integration-bundleurl:
720             bundleurl: 'last'
721         - integration-controller-scope:
722             controller-scope: 'only'
723         - integration-controller-features:
724             controller-features: 'odl-mdsal-clustering,{install-features}'
725         - integration-test-options:
726             test-options: '{robot-options}'
727         - integration-test-plan:
728             test-plan: '{project}-{functionality}.txt'
729
730     scm:
731         - gerrit-trigger-scm:
732             credentials-id: '{ssh-credentials}'
733             refspec: '$GERRIT_REFSPEC'
734             choosing-strategy: 'gerrit'
735
736     wrappers:
737         - build-timeout
738         - integration-jclouds-controller-mininet:
739             controller-vms: 3
740             mininet-image: '{mininet-image}'
741             mininet-vms: '{mininet-vms}'
742         - ssh-agent-credentials:
743             users:
744                 - '{ssh-credentials}'
745
746     triggers:
747         - integration-test-gerrit-trigger-patch-submitted:
748             name: 'integration'
749             branch: '{branch}'
750             project: '{project}'
751
752     builders:
753         - integration-get-slave-addresses
754         - inject:
755             properties-file: 'slave_addresses.txt'
756         - integration-get-bundle-vars
757         - inject:
758             properties-file: 'bundle_vars.txt'
759         - integration-deploy-controller
760         - integration-configure-clustering
761         - integration-start-cluster-run-test
762     publishers:
763         - integration-robot:
764             unstable-if: 0.0
765             pass-if: 0.0
766         - archive:
767             artifacts: '*karaf.log'
768         - email-notification:
769             email-prefix: '[{project}]'
770
771 - job-template:
772     name: '{project}-csit-3node-{functionality}-{install}-{stream}'
773
774     project-type: freestyle
775     node: dynamic_robot
776
777     logrotate:
778         daysToKeep: '{build-days-to-keep}'
779         numToKeep: '{build-num-to-keep}'
780         artifactDaysToKeep: '{build-artifact-days-to-keep}'
781         artifactNumToKeep: '{build-num-to-keep}'
782
783     parameters:
784         - project-parameter:
785             project: 'integration'
786         - integration-branch:
787             branch: '{branch}'
788         - integration-bundleurl:
789             bundleurl: 'last'
790         - integration-controller-scope:
791             controller-scope: '{scope}'
792         - integration-controller-features:
793             controller-features: 'odl-mdsal-clustering,{install-features}'
794         - integration-test-options:
795             test-options: '{robot-options}'
796         - integration-test-plan:
797             test-plan: '{project}-{functionality}.txt'
798         - integration-patch-refspec:
799             branch: '{branch}'
800
801     scm:
802         - integration-patch-scm:
803             credentials-id: '{ssh-credentials}'
804             branch: '{branch}'
805
806     wrappers:
807         - build-timeout
808         - integration-jclouds-controller-mininet:
809             controller-vms: 3
810             mininet-image: '{mininet-image}'
811             mininet-vms: '{mininet-vms}'
812         - ssh-agent-credentials:
813             users:
814                 - '{ssh-credentials}'
815
816     triggers:
817         - reverse:
818             jobs: '{trigger-jobs}'
819             result: 'success'
820
821     builders:
822         - integration-get-slave-addresses
823         - inject:
824             properties-file: 'slave_addresses.txt'
825         - integration-get-bundle-vars
826         - inject:
827             properties-file: 'bundle_vars.txt'
828         - integration-deploy-controller
829         - integration-configure-clustering
830         - integration-start-cluster-run-test
831
832     publishers:
833         - integration-robot:
834             unstable-if: 0.0
835             pass-if: 100.0
836         - archive:
837             artifacts: '*karaf.log'
838         - email-notification:
839             email-prefix: '[{project}]'
840         - plot:
841           - title: '{01-plot-title}'
842             yaxis: '{01-plot-yaxis}'
843             group: '{01-plot-group}'
844             num-builds: '5400'
845             style: line
846             use-description: false
847             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
848             series:
849               - file: '{01-plot-data-file}'
850                 inclusion-flag: 'off'
851                 display-table: true
852                 format: csv
853           - title: '{02-plot-title}'
854             yaxis: '{02-plot-yaxis}'
855             group: '{02-plot-group}'
856             num-builds: '5400'
857             style: line
858             use-description: false
859             csv-file-name: '{project}-csit-3node-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
860             series:
861               - file: '{02-plot-data-file}'
862                 inclusion-flag: 'off'
863                 display-table: true
864                 format: csv
865
866 - job-template:
867     name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}'
868
869     project-type: freestyle
870     node: dynamic_robot
871
872     logrotate:
873         daysToKeep: '{build-days-to-keep}'
874         numToKeep: '{build-num-to-keep}'
875         artifactDaysToKeep: '{build-artifact-days-to-keep}'
876         artifactNumToKeep: '{build-num-to-keep}'
877
878     parameters:
879         - project-parameter:
880             project: 'integration'
881         - integration-branch:
882             branch: '{branch}'
883         - integration-bundleurl:
884             bundleurl: 'last'
885         - integration-controller-scope:
886             controller-scope: '{scope}'
887         - integration-controller-features:
888             controller-features: 'odl-mdsal-clustering,{install-features}'
889         - integration-test-options:
890             test-options: '{robot-options}'
891         - integration-test-plan:
892             test-plan: '{project}-{functionality}.txt'
893         - integration-patch-refspec:
894             branch: '{branch}'
895
896     scm:
897         - integration-patch-scm:
898             credentials-id: '{ssh-credentials}'
899             branch: '{branch}'
900
901     wrappers:
902         - build-timeout
903         - integration-jclouds-controller-mininet:
904             controller-vms: 3
905             mininet-image: '{mininet-image}'
906             mininet-vms: '{mininet-vms}'
907         - ssh-agent-credentials:
908             users:
909                 - '{ssh-credentials}'
910
911     triggers:
912         - timed: '{schedule}'
913
914     builders:
915         - integration-get-slave-addresses
916         - inject:
917             properties-file: 'slave_addresses.txt'
918         - integration-get-bundle-vars
919         - inject:
920             properties-file: 'bundle_vars.txt'
921         - integration-deploy-controller
922         - integration-configure-clustering
923         - integration-start-cluster-run-test
924
925     publishers:
926         - integration-robot:
927             unstable-if: 0.0
928             pass-if: 100.0
929         - archive:
930             artifacts: '*karaf.log'
931         - email-notification:
932             email-prefix: '[{project}]'
933         - plot:
934           - title: '{01-plot-title}'
935             yaxis: '{01-plot-yaxis}'
936             group: '{01-plot-group}'
937             num-builds: '5400'
938             style: line
939             use-description: false
940             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{01-plot-data-file}-history.csv'
941             series:
942               - file: '{01-plot-data-file}'
943                 inclusion-flag: 'off'
944                 display-table: true
945                 format: csv
946           - title: '{02-plot-title}'
947             yaxis: '{02-plot-yaxis}'
948             group: '{02-plot-group}'
949             num-builds: '5400'
950             style: line
951             use-description: false
952             csv-file-name: '{project}-csit-3node-periodic-{functionality}-{install}-{stream}-{02-plot-data-file}-history.csv'
953             series:
954               - file: '{02-plot-data-file}'
955                 inclusion-flag: 'off'
956                 display-table: true
957                 format: csv
958