Remove all logrotate calls
[ci-management.git] / jjb / csit / csit.yaml
1 # Copyright (c) 2018 Cisco and/or its affiliates.
2 # Licensed under the Apache License, Version 2.0 (the "License");
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at:
5 #
6 #     http://www.apache.org/licenses/LICENSE-2.0
7 #
8 # Unless required by applicable law or agreed to in writing, software
9 # distributed under the License is distributed on an "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 # See the License for the specific language governing permissions and
12 # limitations under the License.
13
14
15 - project:
16     name: csit
17     description: 'CSIT jenkins jobs.'
18     os:
19         - 'ubuntu1604'
20         - 'centos7'
21     topo:
22         - '2n'
23         - '3n'
24
25     arch:
26         - 'skx'
27         - 'hsw'
28         - 'arm'
29
30     jobs:
31         - 'csit-vpp-functional-{stream}-{os}-virl'
32         - 'csit-vpp-verify-{stream_timed}-{os}-weekly'
33         - 'csit-vpp-verify-{stream_timed}-{os}-semiweekly'
34         - 'csit-docs-merge-{stream_timed}'
35         - 'csit-docs-verify-{stream}'
36         - 'csit-report-merge-{stream}'
37         - 'csit-trending-daily-master'
38         - 'csit-dpdk-perf-verify-{stream}-{topo}-{arch}'
39         - 'csit-dpdk-perf-mrr-weekly-master'
40         - 'csit-dpdk-perf-mrr-weekly-master-2n-skx'
41         - 'csit-dpdk-perf-mrr-weekly-master-3n-skx'
42         - 'csit-ligato-perf-verify-{stream}-{topo}-{arch}'
43         - 'csit-vpp-perf-mrr-daily-master'
44         - 'csit-vpp-perf-mrr-daily-master-2n-skx'
45         - 'csit-vpp-perf-mrr-daily-master-3n-skx'
46         - 'csit-vpp-perf-ndrpdr-weekly-master-3n-hsw'
47         - 'csit-vpp-perf-ndrpdr-weekly-master-2n-skx'
48         - 'csit-vpp-perf-ndrpdr-weekly-master-3n-skx'
49         - 'csit-vpp-perf-verify-{stream}-{topo}-{arch}'
50         - 'csit-nsh_sfc-verify-perf-{stream}'
51         - 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
52         - 'csit-tldk-verify-func-{stream}-{os}-virl'
53         - 'csit-dmm-functional-{stream}-ubuntu1604-virl'
54
55     project: 'csit'
56     branch: 'master'
57     branch-id: 'oper'
58     build-artifact-num-to-keep: 10
59     type:
60         - all
61     stream_timed:
62         - master:
63             branch: 'master'
64             branch-id: 'oper'
65     stream:
66         - master:
67             branch: 'master'
68             branch-id: 'oper'
69         - '1801':
70             branch: 'rls1801'
71             branch-id: 'oper-rls1801'
72         - '1804':
73             branch: 'rls1804'
74             branch-id: 'oper-rls1804'
75         - '1807':
76             branch: 'rls1807'
77             branch-id: 'oper-rls1807'
78
79
80 - job-template:
81     name: 'csit-vpp-functional-{stream}-{os}-virl'
82
83     project-type: freestyle
84     node: '{os}-basebuild-4c-4g'
85     concurrent: true
86
87     build-discarder:
88         daysToKeep: '{build-days-to-keep}'
89         numToKeep: '{build-num-to-keep}'
90         artifactDaysToKeep: '{build-artifact-days-to-keep}'
91         artifactNumToKeep: '{build-artifact-num-to-keep}'
92
93     parameters:
94         - project-parameter:
95             project: '{project}'
96         - gerrit-parameter:
97             branch: '{branch}'
98
99     scm:
100         - gerrit-trigger-scm:
101             credentials-id: 'jenkins-gerrit-credentials'
102             refspec: '$GERRIT_REFSPEC'
103             choosing-strategy: 'gerrit'
104
105     wrappers:
106         - fdio-infra-wrappers:
107             build-timeout: '{build-timeout}'
108
109     triggers:
110         - gerrit-trigger-patch-submitted:
111             name: '{project}'
112             branch: '{branch}'
113
114     builders:
115         - shell:
116             !include-raw-escape: include-raw-csit-vpp-functional-virl.sh
117
118     publishers:
119         - archive-artifacts:
120             artifacts: 'report.html, log.html, output.xml'
121             latest-only: false
122
123         - robot-report:
124             output-path: ''
125
126         - fdio-infra-shiplogs:
127             maven-version: 'mvn33-new'
128
129 - job-template:
130     name: 'csit-dpdk-perf-verify-{stream}-{topo}-{arch}'
131
132     description: |
133       <ul>
134           <li>objective
135               <ul>
136                   <li>perf verify - per csit gerrit patch
137               </ul>
138           <li>job
139               <ul>
140                   <li>name: <b>csit-dpdk-perf-verify-{stream}-{topo}-{arch}</b>
141                   <li>trigger: keyword in comment to csit patch:
142                       <b>csit-dpdk-{topo}-{arch}-perftest tag_list</b>
143               </ul>
144           <li>perf test-cases selection
145               <ul>
146                   <li>test-cases selected using trigger keyword followed by tags
147                   <li>all test-cases are labelled with CSIT RF topic tags
148                       defined in <i>csit/docs/tag_documentation.rst</i>
149               </ul>
150           <li>default tags for dpdk perf test type
151               <ul>
152                   <li>IP4BASE, L2XCBASE
153                   <li>64B: 64B packet size
154                   <li>1C: one core
155                   <li>X710: x710 Fortville NIC
156                   <li>MRR: MRR throughput
157               </ul>
158           <li>results
159               <ul>
160                   <li>jjb verify: PASS/FAIL
161                   <li>present: no
162                   <li>analyse: no
163               </ul>
164       </ul>
165
166     project-type: freestyle
167     node: 'ubuntu1604-basebuild-4c-4g'
168     concurrent: true
169
170     build-discarder:
171         daysToKeep: '{build-days-to-keep}'
172         numToKeep: '{build-num-to-keep}'
173         artifactDaysToKeep: '{build-artifact-days-to-keep}'
174         artifactNumToKeep: '{build-artifact-num-to-keep}'
175
176     parameters:
177         - project-parameter:
178             project: '{project}'
179         - gerrit-parameter:
180             branch: '{branch}'
181
182     scm:
183         - gerrit-trigger-scm:
184             credentials-id: 'jenkins-gerrit-credentials'
185             refspec: '$GERRIT_REFSPEC'
186             choosing-strategy: 'gerrit'
187
188     wrappers:
189         - fdio-infra-wrappers-non-activity-timeout:
190             build-timeout: '{build-timeout}'
191
192     triggers:
193         - gerrit:
194             server-name: 'Primary'
195             trigger-on:
196                 - comment-added-contains-event:
197                     comment-contains-value: 'csit-dpdk-{topo}-{arch}-perftest'
198             projects:
199               - project-compare-type: 'ANT'
200                 project-pattern: '{project}'
201                 branches:
202                   - branch-compare-type: 'ANT'
203                     branch-pattern: '**/{branch}'
204             skip-vote:
205                 successful: false
206                 failed: false
207                 unstable: false
208                 notbuilt: false
209
210     builders:
211         - shell:
212             !include-raw-escape: jjb/csit/include-raw-csit-perf-verify.sh
213
214     publishers:
215         - archive-artifacts:
216             artifacts: 'archive/*.*'
217             latest-only: false
218
219         - robot:
220             output-path: archive
221             other-files:
222               - '*.*'
223
224         - fdio-infra-shiplogs:
225             maven-version: 'mvn33-new'
226
227 - job-template:
228     name: 'csit-ligato-perf-verify-{stream}-{topo}-{arch}'
229
230     description: |
231       <ul>
232           <li>objective
233               <ul>
234                   <li>perf verify - per csit gerrit patch
235               </ul>
236           <li>job
237               <ul>
238                   <li>name: <b>csit-ligato-perf-verify-{stream}-{topo}-{arch}</b>
239                   <li>trigger: keyword in comment to csit patch:
240                       <b>csit--ligato-{topo}-{arch}-perftest tag_list</b>
241               </ul>
242           <li>perf test-cases selection
243               <ul>
244                   <li>test-cases selected using trigger keyword followed by tags
245                   <li>all test-cases are labelled with CSIT RF topic tags
246                       defined in <i>csit/docs/tag_documentation.rst</i>
247               </ul>
248           <li>proposed keywords
249               <ul>
250                   <li>focus on testing specified Kubernetes orchestrated topologies
251                   <li>format: csit-ligato-{topo}-{arch}-perftest tag_list
252               </ul>
253           <li>default tags for vpp startup config and perf test type
254               <ul>
255                   <li>IP4BASE, IP6BASE, L2BDBASE
256                   <li>64B/78B: 64B/78B packet size
257                   <li>1C: one core
258                   <li>X710: x710 Fortville NIC
259                   <li>MRR: MRR throughput
260               </ul>
261           <li>results
262               <ul>
263                   <li>jjb verify: PASS/FAIL
264                   <li>present: no
265                   <li>analyse: no
266               </ul>
267       </ul>
268
269     project-type: freestyle
270     node: 'ubuntu1804-basebuild-4c-4g'
271     concurrent: true
272
273     build-discarder:
274         daysToKeep: '{build-days-to-keep}'
275         numToKeep: '{build-num-to-keep}'
276         artifactDaysToKeep: '{build-artifact-days-to-keep}'
277         artifactNumToKeep: '{build-artifact-num-to-keep}'
278
279     parameters:
280         - project-parameter:
281             project: '{project}'
282         - gerrit-parameter:
283             branch: '{branch}'
284         - gerrit-refspec-parameter
285         - gerrit-event-type-parameter
286         - gerrit-event-comment-text-parameter
287
288     scm:
289         - gerrit-trigger-scm:
290             credentials-id: 'jenkins-gerrit-credentials'
291             refspec: '$GERRIT_REFSPEC'
292             choosing-strategy: 'gerrit'
293
294     wrappers:
295         - fdio-infra-wrappers-non-activity-timeout:
296             build-timeout: '{build-timeout}'
297
298     triggers:
299         - gerrit:
300             server-name: 'Primary'
301             trigger-on:
302                 - comment-added-contains-event:
303                     comment-contains-value: 'csit-ligato-{topo}-{arch}-perftest'
304             projects:
305               - project-compare-type: 'ANT'
306                 project-pattern: '{project}'
307                 branches:
308                   - branch-compare-type: 'ANT'
309                     branch-pattern: '**/{branch}'
310             skip-vote:
311                 successful: false
312                 failed: false
313                 unstable: false
314                 notbuilt: false
315
316     builders:
317         - shell:
318             !include-raw-escape: jjb/csit/include-raw-csit-perf-verify.sh
319
320     publishers:
321         - archive-artifacts:
322             artifacts: 'archive/*.*'
323             latest-only: false
324
325         - robot:
326             output-path: archive
327             other-files:
328               - '*.*'
329
330         - fdio-infra-shiplogs:
331             maven-version: 'mvn33-new'
332
333
334 - job-template:
335     name: 'csit-vpp-verify-{stream_timed}-{os}-weekly'
336     description: 'Purpose of this job is to validate CSIT code of corresponding branch against verified vpp build from corresponding branch.'
337
338     project-type: freestyle
339     node: '{os}-basebuild-4c-4g'
340     concurrent: false
341
342     build-discarder:
343         daysToKeep: '{build-days-to-keep}'
344         numToKeep: '{build-num-to-keep}'
345         artifactDaysToKeep: '{build-artifact-days-to-keep}'
346         artifactNumToKeep: '{build-artifact-num-to-keep}'
347
348     parameters:
349         - project-parameter:
350             project: '{project}'
351         - gerrit-parameter:
352             branch: '{branch}'
353
354     scm:
355         - git-scm:
356             credentials-id: 'jenkins-gerrit-credentials'
357             branch: '{branch}'
358
359     wrappers:
360         - fdio-infra-wrappers-non-activity-timeout:
361             build-timeout: '{build-timeout}'
362
363     triggers:
364         - timed: '0 4 * * 0'
365
366         - gerrit-trigger-manually-triggered:
367             comment-trigger-value: 'csit-vpp-ref-verify'
368             name: '{project}'
369             branch: '{branch}'
370
371     builders:
372         - shell:
373             !include-raw-escape: jjb/csit/include-raw-csit-vpp-verify-weekly.sh
374
375     publishers:
376         - archive-artifacts:
377             artifacts: 'report.html, log.html, output.xml'
378             latest-only: false
379
380         - robot-report:
381             output-path: ''
382
383         - fdio-infra-shiplogs:
384             maven-version: 'mvn33-new'
385
386 - job-template:
387     name: 'csit-vpp-verify-{stream_timed}-{os}-semiweekly'
388     description: 'Purpose of this job is to validate latest vpp build from corresponding branch stored in nexus against verified CSIT codebase of corresponding branch.'
389
390     project-type: freestyle
391     node: '{os}-basebuild-4c-4g'
392     concurrent: false
393
394     build-discarder:
395         daysToKeep: '{build-days-to-keep}'
396         numToKeep: '{build-num-to-keep}'
397         artifactDaysToKeep: '{build-artifact-days-to-keep}'
398         artifactNumToKeep: '{build-artifact-num-to-keep}'
399
400     parameters:
401         - project-parameter:
402             project: '{project}'
403         - gerrit-parameter:
404             branch: '{branch}'
405
406     wrappers:
407         - fdio-infra-wrappers-non-activity-timeout:
408             build-timeout: '{build-timeout}'
409
410     triggers:
411         - timed: '0 4 * * 2,6'
412
413         - gerrit-trigger-manually-triggered:
414             comment-trigger-value: 'csit-verify-vpp'
415             name: '{project}'
416             branch: '{branch}'
417
418     builders:
419         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
420         - inject:
421             properties-file: variables.prop
422         - shell:
423             !include-raw-escape: jjb/csit/include-raw-csit-vpp-verify-semiweekly.sh
424
425     publishers:
426         - archive-artifacts:
427             artifacts: 'csit/archive/*.*'
428             latest-only: false
429
430         - robot-report:
431             output-path: 'csit/archive'
432
433         - fdio-infra-shiplogs:
434             maven-version: 'mvn33-new'
435
436 - job-template:
437     name: 'csit-vpp-verify-{stream_timed}-centos7-nightly'
438     description: 'Purpose of this job is to validate latest centos7 vpp build from corresponding branch stored in nexus against verified CSIT codebase of corresponding branch.'
439
440     project-type: freestyle
441     node: centos7-basebuild-4c-4g'
442     concurrent: false
443
444     build-discarder:
445         daysToKeep: '{build-days-to-keep}'
446         numToKeep: '{build-num-to-keep}'
447         artifactDaysToKeep: '{build-artifact-days-to-keep}'
448         artifactNumToKeep: '{build-artifact-num-to-keep}'
449
450     parameters:
451         - project-parameter:
452             project: '{project}'
453         - gerrit-parameter:
454             branch: '{branch}'
455
456     scm:
457         - git-scm:
458             credentials-id: 'jenkins-gerrit-credentials'
459             branch: '{branch}'
460
461     wrappers:
462         - fdio-infra-wrappers:
463             build-timeout: '{build-timeout}'
464
465     triggers:
466         - timed: 'H H(3-4) * * *'
467
468         - gerrit-trigger-manually-triggered:
469             comment-trigger-value: 'vpp-verify-func-centos7'
470             name: '{project}'
471             branch: '{branch}'
472
473     builders:
474         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
475         - inject:
476             properties-file: variables.prop
477         - shell:
478             !include-raw-escape: jjb/csit/include-raw-csit-vpp-functional-virl.sh
479
480     publishers:
481         - archive-artifacts:
482             artifacts: 'csit/archive/*.*'
483             latest-only: false
484
485         - robot-report:
486             output-path: 'csit/archive'
487
488         - fdio-infra-shiplogs:
489             maven-version: 'mvn33-new'
490
491 - job-template:
492     name: 'csit-docs-verify-{stream}'
493
494     project-type: freestyle
495     node: 'ubuntu1604-basebuild-4c-4g'
496     concurrent: true
497
498     build-discarder:
499         daysToKeep: '{build-days-to-keep}'
500         numToKeep: '{build-num-to-keep}'
501         artifactDaysToKeep: '{build-artifact-days-to-keep}'
502         artifactNumToKeep: '{build-artifact-num-to-keep}'
503
504     parameters:
505         - project-parameter:
506             project: '{project}'
507         - gerrit-parameter:
508             branch: '{branch}'
509         - maven-exec:
510             maven-version: 'mvn33-new'
511
512     scm:
513         - gerrit-trigger-scm:
514             credentials-id: 'jenkins-gerrit-credentials'
515             refspec: '$GERRIT_REFSPEC'
516             choosing-strategy: 'gerrit'
517
518     wrappers:
519         - fdio-infra-wrappers-non-activity-timeout:
520             build-timeout: '{build-timeout}'
521
522     triggers:
523         - gerrit-trigger-patch-submitted:
524             name: '{project}'
525             branch: '{branch}'
526
527     builders:
528         - maven-target:
529             maven-version: 'mvn33-new'
530             goals: '--version'
531             settings: 'csit-settings'
532             settings-type: cfp
533             global-settings: 'global-settings'
534             global-settings-type: cfp
535         - provide-maven-settings:
536             settings-file: 'csit-settings'
537             global-settings-file: 'global-settings'
538         - shell:
539             !include-raw-escape: include-raw-csit-docs.sh
540
541     publishers:
542         - archive:
543             artifacts: 'resources/tools/doc_gen/csit.docs.tar.gz'
544             allow-empty: 'true'
545             fingerprint: false
546             only-if-success: true
547             default-excludes: false
548
549         - fdio-infra-shiplogs:
550             maven-version: 'mvn33-new'
551
552 - job-template:
553     name: 'csit-docs-merge-{stream_timed}'
554
555     project-type: freestyle
556     node: 'ubuntu1604-basebuild-4c-4g'
557     concurrent: true
558
559     build-discarder:
560         daysToKeep: '{build-days-to-keep}'
561         numToKeep: '{build-num-to-keep}'
562         artifactDaysToKeep: '{build-artifact-days-to-keep}'
563         artifactNumToKeep: '{build-artifact-num-to-keep}'
564
565     parameters:
566         - project-parameter:
567             project: '{project}'
568         - gerrit-parameter:
569             branch: '{branch}'
570         - maven-exec:
571             maven-version: 'mvn33-new'
572
573     scm:
574         - gerrit-trigger-scm:
575             credentials-id: 'jenkins-gerrit-credentials'
576             refspec: ''
577             choosing-strategy: 'default'
578
579     wrappers:
580         - fdio-infra-wrappers-non-activity-timeout:
581             build-timeout: '{build-timeout}'
582
583     triggers:
584         - reverse:
585             jobs: 'csit-vpp-verify-{stream_timed}-ubuntu1604-weekly'
586             result: 'success'
587         - gerrit:
588             server-name: 'Primary'
589             trigger-on:
590                 - comment-added-contains-event:
591                     comment-contains-value: 'run-docs'
592             projects:
593               - project-compare-type: 'ANT'
594                 project-pattern: '{project}'
595                 branches:
596                   - branch-compare-type: 'ANT'
597                     branch-pattern: '**/{branch}'
598             skip-vote:
599                 successful: true
600                 failed: true
601                 unstable: true
602                 notbuilt: true
603
604     builders:
605         - maven-target:
606             maven-version: 'mvn33-new'
607             goals: '--version'
608             settings: 'csit-settings'
609             settings-type: cfp
610             global-settings: 'global-settings'
611             global-settings-type: cfp
612         - provide-maven-settings:
613             settings-file: 'csit-settings'
614             global-settings-file: 'global-settings'
615         - shell:
616             !include-raw-escape: include-raw-csit-docs.sh
617
618     publishers:
619         - archive:
620             artifacts: 'resources/tools/doc_gen/csit.docs.tar.gz'
621             allow-empty: 'true'
622             fingerprint: false
623             only-if-success: true
624             default-excludes: false
625
626         - fdio-infra-shiplogs:
627             maven-version: 'mvn33-new'
628
629 - job-template:
630     name: 'csit-report-merge-{stream}'
631
632     project-type: freestyle
633     node: 'ubuntu1604-basebuild-8c-32g'
634     concurrent: false
635
636     build-discarder:
637         daysToKeep: '{build-days-to-keep}'
638         numToKeep: '{build-num-to-keep}'
639         artifactDaysToKeep: '{build-artifact-days-to-keep}'
640         artifactNumToKeep: '{build-artifact-num-to-keep}'
641
642     parameters:
643         - project-parameter:
644             project: '{project}'
645         - gerrit-parameter:
646             branch: '{branch}'
647         - maven-exec:
648             maven-version: 'mvn33-new'
649
650     scm:
651         - gerrit-trigger-scm:
652             credentials-id: 'jenkins-gerrit-credentials'
653             refspec: '$GERRIT_REFSPEC'
654             choosing-strategy: 'default'
655
656     wrappers:
657         - fdio-infra-wrappers-non-activity-timeout:
658             build-timeout: '{build-timeout}'
659
660     triggers:
661         - gerrit:
662             server-name: 'Primary'
663             trigger-on:
664                 - comment-added-contains-event:
665                     comment-contains-value: 'run-report'
666             projects:
667               - project-compare-type: 'ANT'
668                 project-pattern: '{project}'
669                 branches:
670                   - branch-compare-type: 'ANT'
671                     branch-pattern: '**/{branch}'
672             skip-vote:
673                 successful: true
674                 failed: true
675                 unstable: true
676                 notbuilt: true
677
678     builders:
679         - maven-target:
680             maven-version: 'mvn33-new'
681             goals: '--version'
682             settings: 'csit-settings'
683             settings-type: cfp
684             global-settings: 'global-settings'
685             global-settings-type: cfp
686         - provide-maven-settings:
687             settings-file: 'csit-settings'
688             global-settings-file: 'global-settings'
689         - shell:
690             !include-raw-escape: include-raw-csit-report.sh
691
692     publishers:
693         - archive:
694             artifacts: 'resources/tools/presentation/csit.report.tar.gz'
695             allow-empty: 'true'
696             fingerprint: false
697             only-if-success: true
698             default-excludes: false
699
700         - fdio-infra-shiplogs:
701             maven-version: 'mvn33-new'
702
703 - job-template:
704     name: 'csit-trending-daily-master'
705
706     project-type: freestyle
707     node: 'ubuntu1604-basebuild-8c-32g'
708     concurrent: false
709
710     build-discarder:
711         daysToKeep: '{build-days-to-keep}'
712         numToKeep: '{build-num-to-keep}'
713         artifactDaysToKeep: '{build-artifact-days-to-keep}'
714         artifactNumToKeep: '{build-artifact-num-to-keep}'
715
716     parameters:
717         - project-parameter:
718             project: '{project}'
719         - gerrit-parameter:
720             branch: '{branch}'
721         - maven-exec:
722             maven-version: 'mvn33-new'
723
724     scm:
725         - gerrit-trigger-scm:
726             credentials-id: 'jenkins-gerrit-credentials'
727             refspec: ''
728             choosing-strategy: 'default'
729
730     wrappers:
731         - fdio-infra-wrappers-non-activity-timeout:
732             build-timeout: '{build-timeout}'
733
734     triggers:
735         - reverse:
736             jobs: 'csit-vpp-perf-mrr-daily-master'
737             result: 'failure'
738
739     builders:
740         - maven-target:
741             maven-version: 'mvn33-new'
742             goals: '--version'
743             settings: 'csit-settings'
744             settings-type: cfp
745             global-settings: 'global-settings'
746             global-settings-type: cfp
747         - provide-maven-settings:
748             settings-file: 'csit-settings'
749             global-settings-file: 'global-settings'
750         - shell:
751             !include-raw-escape: include-raw-csit-cpta.sh
752
753     publishers:
754         - email-ext:
755             recipients: 'tifrank@cisco.com, csit-report@lists.fd.io'
756             reply-to: ''
757             content-type: 'text'
758             subject: 'FD.io CSIT Trending Alert: Build # $BUILD_NUMBER'
759             attachments: '**/_build/_static/vpp/failed-tests*.tar.gz'
760             body: |
761                 FD.io CSIT Trending Alert - failed tests
762
763                 $PROJECT_NAME - Build # $BUILD_NUMBER - $BUILD_STATUS
764
765                 See attachment for the list of the failed tests.
766
767             always: true
768             failure: false
769
770         - fdio-infra-shiplogs:
771             maven-version: 'mvn33-new'
772
773 - job-template:
774     name: 'csit-vpp-perf-ndrpdr-weekly-master-3n-hsw'
775
776     description: |
777       <ul>
778           <li>objective
779               <ul>
780                   <li>check vpp perf ndrpdr weekly on 3n-hsw
781               </ul>
782           <li>perf test-cases selection
783               <ul>
784                   <li>pre-selected CSIT VPP NDRPDR perf suites
785               </ul>
786           <li>results
787               <ul>
788                   <li>jjb verify: PASS/FAIL
789                   <li>present: no
790                   <li>analyse: csit project (catch malfunctions/degradations)
791               </ul>
792       </ul>
793     project-type: freestyle
794     node: 'ubuntu1604-basebuild-4c-4g'
795     concurrent: false
796
797     build-discarder:
798         daysToKeep: '{build-days-to-keep}'
799         numToKeep: '{build-num-to-keep}'
800         artifactDaysToKeep: '{build-artifact-days-to-keep}'
801         artifactNumToKeep: '{build-artifact-num-to-keep}'
802
803     parameters:
804         - project-parameter:
805             project: '{project}'
806         - gerrit-parameter:
807             branch: '{branch}'
808
809     wrappers:
810         - fdio-infra-wrappers-non-activity-timeout:
811             build-timeout: '{build-timeout}'
812
813     triggers:
814         - timed: '0 0 * * 6'
815
816     builders:
817         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
818         - inject:
819             properties-file: variables.prop
820         - shell:
821             !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
822
823     publishers:
824         - archive-artifacts:
825             artifacts: 'csit/archive/*.*'
826             latest-only: false
827
828         - robot:
829             output-path: 'csit/archive'
830             other-files:
831               - '*.*'
832
833         - fdio-infra-shiplogs:
834             maven-version: 'mvn33-new'
835
836 - job-template:
837     name: 'csit-vpp-perf-ndrpdr-weekly-master-2n-skx'
838
839     description: |
840       <ul>
841           <li>objective
842               <ul>
843                   <li>check vpp perf ndrpdr weekly
844               </ul>
845           <li>perf test-cases selection
846               <ul>
847                   <li>pre-selected CSIT VPP NDRPDR perf suites
848               </ul>
849           <li>results
850               <ul>
851                   <li>jjb verify: PASS/FAIL
852                   <li>present: no
853                   <li>analyse: csit project (catch malfunctions/degradations)
854               </ul>
855       </ul>
856     project-type: freestyle
857     node: 'ubuntu1604-basebuild-4c-4g'
858     concurrent: false
859
860     build-discarder:
861         daysToKeep: '{build-days-to-keep}'
862         numToKeep: '{build-num-to-keep}'
863         artifactDaysToKeep: '{build-artifact-days-to-keep}'
864         artifactNumToKeep: '{build-artifact-num-to-keep}'
865
866     parameters:
867         - project-parameter:
868             project: '{project}'
869         - gerrit-parameter:
870             branch: '{branch}'
871
872     wrappers:
873         - fdio-infra-wrappers-non-activity-timeout:
874             build-timeout: '{build-timeout}'
875
876     triggers:
877         - timed: '0 0 * * 6'
878
879     builders:
880         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
881         - inject:
882             properties-file: variables.prop
883         - shell:
884             !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
885
886     publishers:
887         - archive-artifacts:
888             artifacts: 'csit/archive/*.*'
889             latest-only: false
890
891         - robot:
892             output-path: 'csit/archive'
893             other-files:
894               - '*.*'
895
896         - fdio-infra-shiplogs:
897             maven-version: 'mvn33-new'
898
899 - job-template:
900     name: 'csit-vpp-perf-ndrpdr-weekly-master-3n-skx'
901
902     description: |
903       <ul>
904           <li>objective
905               <ul>
906                   <li>check vpp perf ndrpdr weekly
907               </ul>
908           <li>perf test-cases selection
909               <ul>
910                   <li>pre-selected CSIT VPP NDRPDR perf suites
911               </ul>
912           <li>results
913               <ul>
914                   <li>jjb verify: PASS/FAIL
915                   <li>present: no
916                   <li>analyse: csit project (catch malfunctions/degradations)
917               </ul>
918       </ul>
919     project-type: freestyle
920     node: 'ubuntu1604-basebuild-4c-4g'
921     concurrent: false
922
923     build-discarder:
924         daysToKeep: '{build-days-to-keep}'
925         numToKeep: '{build-num-to-keep}'
926         artifactDaysToKeep: '{build-artifact-days-to-keep}'
927         artifactNumToKeep: '{build-artifact-num-to-keep}'
928
929     parameters:
930         - project-parameter:
931             project: '{project}'
932         - gerrit-parameter:
933             branch: '{branch}'
934
935     wrappers:
936         - fdio-infra-wrappers-non-activity-timeout:
937             build-timeout: '{build-timeout}'
938
939     triggers:
940         - timed: '0 0 * * 6'
941
942     builders:
943         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
944         - inject:
945             properties-file: variables.prop
946         - shell:
947             !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
948
949     publishers:
950         - archive-artifacts:
951             artifacts: 'csit/archive/*.*'
952             latest-only: false
953
954         - robot:
955             output-path: 'csit/archive'
956             other-files:
957               - '*.*'
958
959         - fdio-infra-shiplogs:
960             maven-version: 'mvn33-new'
961
962 - job-template:
963     name: 'csit-vpp-perf-mrr-daily-master'
964
965     description: |
966       <ul>
967           <li>objective
968               <ul>
969                   <li>check vpp perf mrr daily
970               </ul>
971           <li>perf test-cases selection
972               <ul>
973                   <li>all CSIT VPP MRR perf suites
974               </ul>
975           <li>results
976               <ul>
977                   <li>jjb verify: PASS/FAIL
978                   <li>present: no
979                   <li>analyse: csit project (catch malfunctions/degradations)
980               </ul>
981       </ul>
982
983     project-type: freestyle
984     node: 'ubuntu1604-basebuild-4c-4g'
985     concurrent: true
986
987     build-discarder:
988         daysToKeep: '{build-days-to-keep}'
989         numToKeep: '{build-num-to-keep}'
990         artifactDaysToKeep: '{build-artifact-days-to-keep}'
991         artifactNumToKeep: '{build-artifact-num-to-keep}'
992
993     parameters:
994         - project-parameter:
995             project: '{project}'
996         - gerrit-parameter:
997             branch: '{branch}'
998
999     wrappers:
1000         - fdio-infra-wrappers-non-activity-timeout:
1001             build-timeout: '{build-timeout}'
1002
1003     triggers:
1004         - timed: '0 2,16 * * *'
1005
1006     builders:
1007         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1008         - inject:
1009             properties-file: variables.prop
1010         - shell:
1011             !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1012
1013     publishers:
1014         - archive-artifacts:
1015             artifacts: 'csit/archive/*.*'
1016             latest-only: false
1017
1018         - robot:
1019             output-path: 'csit/archive'
1020             other-files:
1021               - '*.*'
1022
1023         - trigger:
1024             project: 'csit-trending-daily-master'
1025             threshold: 'FAILURE'
1026
1027         - fdio-infra-shiplogs:
1028             maven-version: 'mvn33-new'
1029
1030 - job-template:
1031     name: 'csit-vpp-perf-mrr-daily-master-2n-skx'
1032
1033     description: |
1034       <ul>
1035           <li>objective
1036               <ul>
1037                   <li>check vpp perf mrr daily
1038               </ul>
1039           <li>perf test-cases selection
1040               <ul>
1041                   <li>all CSIT VPP MRR perf suites
1042               </ul>
1043           <li>results
1044               <ul>
1045                   <li>jjb verify: PASS/FAIL
1046                   <li>present: no
1047                   <li>analyse: csit project (catch malfunctions/degradations)
1048               </ul>
1049       </ul>
1050
1051     project-type: freestyle
1052     node: 'ubuntu1604-basebuild-4c-4g'
1053     concurrent: true
1054
1055     build-discarder:
1056         daysToKeep: '{build-days-to-keep}'
1057         numToKeep: '{build-num-to-keep}'
1058         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1059         artifactNumToKeep: '{build-artifact-num-to-keep}'
1060
1061     parameters:
1062         - project-parameter:
1063             project: '{project}'
1064         - gerrit-parameter:
1065             branch: '{branch}'
1066
1067     wrappers:
1068         - fdio-infra-wrappers-non-activity-timeout:
1069             build-timeout: '{build-timeout}'
1070
1071     triggers:
1072         - timed: '0 2,16 * * *'
1073
1074     builders:
1075         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1076         - inject:
1077             properties-file: variables.prop
1078         - shell:
1079             !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1080
1081     publishers:
1082         - archive-artifacts:
1083             artifacts: 'csit/archive/*.*'
1084             latest-only: false
1085
1086         - robot:
1087             output-path: 'csit/archive'
1088             other-files:
1089               - '*.*'
1090
1091         - trigger:
1092             project: 'csit-trending-daily-master'
1093             threshold: 'FAILURE'
1094
1095         - fdio-infra-shiplogs:
1096             maven-version: 'mvn33-new'
1097
1098 - job-template:
1099     name: 'csit-vpp-perf-mrr-daily-master-3n-skx'
1100
1101     description: |
1102       <ul>
1103           <li>objective
1104               <ul>
1105                   <li>check vpp perf mrr daily
1106               </ul>
1107           <li>perf test-cases selection
1108               <ul>
1109                   <li>all CSIT VPP MRR perf suites
1110               </ul>
1111           <li>results
1112               <ul>
1113                   <li>jjb verify: PASS/FAIL
1114                   <li>present: no
1115                   <li>analyse: csit project (catch malfunctions/degradations)
1116               </ul>
1117       </ul>
1118
1119     project-type: freestyle
1120     node: 'ubuntu1604-basebuild-4c-4g'
1121     concurrent: true
1122
1123     build-discarder:
1124         daysToKeep: '{build-days-to-keep}'
1125         numToKeep: '{build-num-to-keep}'
1126         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1127         artifactNumToKeep: '{build-artifact-num-to-keep}'
1128
1129     parameters:
1130         - project-parameter:
1131             project: '{project}'
1132         - gerrit-parameter:
1133             branch: '{branch}'
1134
1135     wrappers:
1136         - fdio-infra-wrappers-non-activity-timeout:
1137             build-timeout: '{build-timeout}'
1138
1139     triggers:
1140         - timed: '0 2,16 * * *'
1141
1142     builders:
1143         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1144         - inject:
1145             properties-file: variables.prop
1146         - shell:
1147             !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1148
1149     publishers:
1150         - archive-artifacts:
1151             artifacts: 'csit/archive/*.*'
1152             latest-only: false
1153
1154         - robot:
1155             output-path: 'csit/archive'
1156             other-files:
1157               - '*.*'
1158
1159         - trigger:
1160             project: 'csit-trending-daily-master'
1161             threshold: 'FAILURE'
1162
1163         - fdio-infra-shiplogs:
1164             maven-version: 'mvn33-new'
1165
1166 - job-template:
1167     name: 'csit-dpdk-perf-mrr-weekly-master'
1168
1169     description: |
1170       <ul>
1171           <li>objective
1172               <ul>
1173                   <li>check dpdk perf mrr weekly
1174               </ul>
1175           <li>perf test-cases selection
1176               <ul>
1177                   <li>all CSIT DPDK MRR perf suites
1178               </ul>
1179           <li>results
1180               <ul>
1181                   <li>jjb verify: PASS/FAIL
1182                   <li>present: no
1183                   <li>analyse: csit project (catch malfunctions/degradations)
1184               </ul>
1185       </ul>
1186
1187     project-type: freestyle
1188     node: 'ubuntu1604-basebuild-4c-4g'
1189     concurrent: false
1190
1191     build-discarder:
1192         daysToKeep: '{build-days-to-keep}'
1193         numToKeep: '{build-num-to-keep}'
1194         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1195         artifactNumToKeep: '{build-artifact-num-to-keep}'
1196
1197     parameters:
1198         - project-parameter:
1199             project: '{project}'
1200         - gerrit-parameter:
1201             branch: '{branch}'
1202
1203     wrappers:
1204         - fdio-infra-wrappers-non-activity-timeout:
1205             build-timeout: '{build-timeout}'
1206
1207     triggers:
1208         - timed: '0 0 * * 6'
1209
1210     builders:
1211         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1212         - inject:
1213             properties-file: variables.prop
1214         - shell:
1215             !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1216
1217     publishers:
1218         - archive-artifacts:
1219             artifacts: 'csit/archive/*.*'
1220             latest-only: false
1221
1222         - robot:
1223             output-path: 'csit/archive'
1224             other-files:
1225               - '*.*'
1226
1227         - trigger:
1228             project: 'csit-trending-daily-master'
1229             threshold: 'FAILURE'
1230
1231         - fdio-infra-shiplogs:
1232             maven-version: 'mvn33-new'
1233
1234 - job-template:
1235     name: 'csit-dpdk-perf-mrr-weekly-master-2n-skx'
1236
1237     description: |
1238       <ul>
1239           <li>objective
1240               <ul>
1241                   <li>check dpdk perf mrr weekly
1242               </ul>
1243           <li>perf test-cases selection
1244               <ul>
1245                   <li>all CSIT DPDK MRR perf suites
1246               </ul>
1247           <li>results
1248               <ul>
1249                   <li>jjb verify: PASS/FAIL
1250                   <li>present: no
1251                   <li>analyse: csit project (catch malfunctions/degradations)
1252               </ul>
1253       </ul>
1254
1255     project-type: freestyle
1256     node: 'ubuntu1604-basebuild-4c-4g'
1257     concurrent: false
1258
1259     build-discarder:
1260         daysToKeep: '{build-days-to-keep}'
1261         numToKeep: '{build-num-to-keep}'
1262         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1263         artifactNumToKeep: '{build-artifact-num-to-keep}'
1264
1265     parameters:
1266         - project-parameter:
1267             project: '{project}'
1268         - gerrit-parameter:
1269             branch: '{branch}'
1270
1271     wrappers:
1272         - fdio-infra-wrappers-non-activity-timeout:
1273             build-timeout: '{build-timeout}'
1274
1275     triggers:
1276         - timed: '0 0 * * 6'
1277
1278     builders:
1279         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1280         - inject:
1281             properties-file: variables.prop
1282         - shell:
1283             !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1284
1285     publishers:
1286         - archive-artifacts:
1287             artifacts: 'csit/archive/*.*'
1288             latest-only: false
1289
1290         - robot:
1291             output-path: 'csit/archive'
1292             other-files:
1293               - '*.*'
1294
1295         - trigger:
1296             project: 'csit-trending-daily-master'
1297             threshold: 'FAILURE'
1298
1299         - fdio-infra-shiplogs:
1300             maven-version: 'mvn33-new'
1301
1302 - job-template:
1303     name: 'csit-dpdk-perf-mrr-weekly-master-3n-skx'
1304
1305     description: |
1306       <ul>
1307           <li>objective
1308               <ul>
1309                   <li>check dpdk perf mrr weekly
1310               </ul>
1311           <li>perf test-cases selection
1312               <ul>
1313                   <li>all CSIT DPDK MRR perf suites
1314               </ul>
1315           <li>results
1316               <ul>
1317                   <li>jjb verify: PASS/FAIL
1318                   <li>present: no
1319                   <li>analyse: csit project (catch malfunctions/degradations)
1320               </ul>
1321       </ul>
1322
1323     project-type: freestyle
1324     node: 'ubuntu1604-basebuild-4c-4g'
1325     concurrent: false
1326
1327     build-discarder:
1328         daysToKeep: '{build-days-to-keep}'
1329         numToKeep: '{build-num-to-keep}'
1330         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1331         artifactNumToKeep: '{build-artifact-num-to-keep}'
1332
1333     parameters:
1334         - project-parameter:
1335             project: '{project}'
1336         - gerrit-parameter:
1337             branch: '{branch}'
1338
1339     wrappers:
1340         - fdio-infra-wrappers-non-activity-timeout:
1341             build-timeout: '{build-timeout}'
1342
1343     triggers:
1344         - timed: '0 0 * * 6'
1345
1346     builders:
1347         - shell: 'echo "BRANCH_ID={branch-id}" > $WORKSPACE/variables.prop'
1348         - inject:
1349             properties-file: variables.prop
1350         - shell:
1351             !include-raw-escape: jjb/csit/include-raw-csit-perf-timed.sh
1352
1353     publishers:
1354         - archive-artifacts:
1355             artifacts: 'csit/archive/*.*'
1356             latest-only: false
1357
1358         - robot:
1359             output-path: 'csit/archive'
1360             other-files:
1361               - '*.*'
1362
1363         - trigger:
1364             project: 'csit-trending-daily-master'
1365             threshold: 'FAILURE'
1366
1367         - fdio-infra-shiplogs:
1368             maven-version: 'mvn33-new'
1369
1370
1371 - job-template:
1372     name: 'csit-vpp-perf-verify-{stream}-{topo}-{arch}'
1373
1374     description: |
1375       <ul>
1376           <li>objective
1377               <ul>
1378                   <li>perf verify - per csit gerrit patch
1379               </ul>
1380           <li>job
1381               <ul>
1382                   <li>name: <b>csit-vpp-perf-verify-{stream}-{topo}-{arch}</b>
1383                   <li>trigger: keyword in comment to csit patch:
1384                       <b>csit-{topo}-{arch}-perftest tag_list</b>
1385               </ul>
1386           <li>perf test-cases selection
1387               <ul>
1388                   <li>test-cases selected using trigger keyword followed by tags
1389                   <li>all test-cases are labelled with CSIT RF topic tags
1390                       defined in <i>csit/docs/tag_documentation.rst</i>
1391               </ul>
1392           <li>proposed keywords
1393               <ul>
1394                   <li>focus on testing specified vpp packet processing path
1395                   <li>format: csit-{topo}-{arch}-perftest tag_list
1396               </ul>
1397           <li>default tags for vpp startup config and perf test type
1398               <ul>
1399                   <li>IP4BASE, IP6BASE, L2BDBASE
1400                   <li>64B/78B: 64B/78B packet size
1401                   <li>1C: one core
1402                   <li>X710: x710 Fortville NIC
1403                   <li>MRR: MRR throughput
1404               </ul>
1405           <li>results
1406               <ul>
1407                   <li>jjb verify: PASS/FAIL
1408                   <li>present: no
1409                   <li>analyse: no
1410               </ul>
1411       </ul>
1412
1413     project-type: freestyle
1414     node: 'ubuntu1604-basebuild-8c-32g'
1415     concurrent: true
1416
1417     build-discarder:
1418         daysToKeep: '{build-days-to-keep}'
1419         numToKeep: '{build-num-to-keep}'
1420         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1421         artifactNumToKeep: '{build-artifact-num-to-keep}'
1422
1423     parameters:
1424         - project-parameter:
1425             project: '{project}'
1426         - gerrit-parameter:
1427             branch: '{branch}'
1428         - gerrit-refspec-parameter
1429         - gerrit-event-type-parameter
1430         - gerrit-event-comment-text-parameter
1431
1432     scm:
1433         - gerrit-trigger-scm:
1434             credentials-id: 'jenkins-gerrit-credentials'
1435             refspec: '$GERRIT_REFSPEC'
1436             choosing-strategy: 'gerrit'
1437
1438     wrappers:
1439         - fdio-infra-wrappers-non-activity-timeout:
1440             build-timeout: '{build-timeout}'
1441
1442     triggers:
1443         - gerrit:
1444             server-name: 'Primary'
1445             trigger-on:
1446                 - comment-added-contains-event:
1447                     comment-contains-value: 'csit-{topo}-{arch}-perftest'
1448             projects:
1449               - project-compare-type: 'ANT'
1450                 project-pattern: '{project}'
1451                 branches:
1452                   - branch-compare-type: 'ANT'
1453                     branch-pattern: '**/{branch}'
1454             skip-vote:
1455                 successful: false
1456                 failed: false
1457                 unstable: false
1458                 notbuilt: false
1459
1460     builders:
1461         - shell:
1462             !include-raw-escape: jjb/csit/include-raw-csit-perf-verify.sh
1463
1464     publishers:
1465         - archive-artifacts:
1466             artifacts: 'archive/*.*'
1467             latest-only: false
1468
1469         - robot:
1470             output-path: archive
1471             other-files:
1472               - '*.*'
1473
1474         - fdio-infra-shiplogs:
1475             maven-version: 'mvn33-new'
1476
1477 - job-template:
1478     name: 'csit-nsh_sfc-verify-perf-{stream}'
1479
1480     project-type: freestyle
1481     node: 'ubuntu1604-basebuild-4c-4g'
1482     concurrent: true
1483
1484     build-discarder:
1485         daysToKeep: '{build-days-to-keep}'
1486         numToKeep: '{build-num-to-keep}'
1487         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1488         artifactNumToKeep: '{build-artifact-num-to-keep}'
1489
1490     parameters:
1491         - project-parameter:
1492             project: '{project}'
1493         - gerrit-parameter:
1494             branch: '{branch}'
1495         - os-parameter:
1496             os: 'ubuntu1604'
1497         - stream-parameter:
1498             stream: '{stream}'
1499
1500     scm:
1501         - gerrit-trigger-scm:
1502             credentials-id: 'jenkins-gerrit-credentials'
1503             refspec: '$GERRIT_REFSPEC'
1504             choosing-strategy: 'gerrit'
1505
1506     wrappers:
1507         - fdio-infra-wrappers-non-activity-timeout:
1508             build-timeout: '{build-timeout}'
1509
1510     triggers:
1511         - gerrit-trigger-manually-triggered:
1512             name: '{project}'
1513             branch: '{branch}'
1514             comment-trigger-value: 'csit_nsh_sfc_perf_{stream}'
1515
1516     builders:
1517         - shell:
1518             !include-raw-escape: jjb/csit/include-raw-csit-nsh_sfc-perf-hw.sh
1519
1520     publishers:
1521         - archive-artifacts:
1522             artifacts: 'archive/*.*'
1523             latest-only: false
1524
1525         - robot-report:
1526             output-path: 'archive'
1527
1528         - fdio-infra-shiplogs:
1529             maven-version: 'mvn33-new'
1530
1531 - job-template:
1532     name: 'csit-nsh_sfc-verify-func-{stream}-{os}-virl'
1533
1534     project-type: freestyle
1535     node: '{os}-basebuild-4c-4g'
1536     concurrent: true
1537
1538     build-discarder:
1539         daysToKeep: '{build-days-to-keep}'
1540         numToKeep: '{build-num-to-keep}'
1541         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1542         artifactNumToKeep: '{build-artifact-num-to-keep}'
1543
1544     parameters:
1545         - project-parameter:
1546             project: '{project}'
1547         - gerrit-parameter:
1548             branch: '{branch}'
1549         - os-parameter:
1550             os: '{os}'
1551         - stream-parameter:
1552             stream: '{stream}'
1553
1554     scm:
1555         - gerrit-trigger-scm:
1556             credentials-id: 'jenkins-gerrit-credentials'
1557             refspec: '$GERRIT_REFSPEC'
1558             choosing-strategy: 'gerrit'
1559
1560     wrappers:
1561         - fdio-infra-wrappers:
1562             build-timeout: '{build-timeout}'
1563
1564     triggers:
1565         - gerrit-trigger-manually-triggered:
1566             name: '{project}'
1567             branch: '{branch}'
1568             comment-trigger-value: 'csit_nsh_sfc_func_{stream}'
1569
1570     builders:
1571         - shell:
1572             !include-raw-escape: include-raw-csit-nsh_sfc-functional-virl.sh
1573
1574     publishers:
1575         - archive-artifacts:
1576             artifacts: 'archive/*.*'
1577             latest-only: false
1578
1579         - robot-report:
1580             output-path: 'archive'
1581
1582         - fdio-infra-shiplogs:
1583             maven-version: 'mvn33-new'
1584
1585 - job-template:
1586     name: 'csit-tldk-verify-func-{stream}-{os}-virl'
1587
1588     project-type: freestyle
1589     node: '{os}-basebuild-4c-4g'
1590     concurrent: true
1591
1592     build-discarder:
1593         daysToKeep: '{build-days-to-keep}'
1594         numToKeep: '{build-num-to-keep}'
1595         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1596         artifactNumToKeep: '{build-artifact-num-to-keep}'
1597
1598     parameters:
1599         - project-parameter:
1600             project: '{project}'
1601         - gerrit-parameter:
1602             branch: '{branch}'
1603         - os-parameter:
1604             os: '{os}'
1605
1606     scm:
1607         - gerrit-trigger-scm:
1608             credentials-id: 'jenkins-gerrit-credentials'
1609             refspec: '$GERRIT_REFSPEC'
1610             choosing-strategy: 'gerrit'
1611
1612     wrappers:
1613         - fdio-infra-wrappers:
1614             build-timeout: '{build-timeout}'
1615
1616     triggers:
1617         - gerrit-trigger-manually-triggered:
1618             name: '{project}'
1619             branch: '{branch}'
1620             comment-trigger-value: 'csit_verify_tldk_func'
1621
1622     builders:
1623         - shell:
1624             !include-raw-escape: include-raw-csit-tldk-functional-virl.sh
1625
1626     publishers:
1627         - archive-artifacts:
1628             artifacts: 'archive/*.*'
1629             latest-only: false
1630
1631         - robot-report:
1632             output-path: 'archive'
1633
1634         - fdio-infra-shiplogs:
1635             maven-version: 'mvn33-new'
1636
1637 - job-template:
1638     name: 'csit-dmm-functional-{stream}-ubuntu1604-virl'
1639
1640     project-type: freestyle
1641     node: 'ubuntu1604-basebuild-4c-4g'
1642     concurrent: true
1643
1644     build-discarder:
1645         daysToKeep: '{build-days-to-keep}'
1646         numToKeep: '{build-num-to-keep}'
1647         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1648         artifactNumToKeep: '{build-artifact-num-to-keep}'
1649
1650     parameters:
1651         - project-parameter:
1652             project: '{project}'
1653         - gerrit-parameter:
1654             branch: '{branch}'
1655
1656     scm:
1657         - gerrit-trigger-scm:
1658             credentials-id: 'jenkins-gerrit-credentials'
1659             refspec: '$GERRIT_REFSPEC'
1660             choosing-strategy: 'gerrit'
1661
1662     wrappers:
1663         - fdio-infra-wrappers:
1664             build-timeout: '{build-timeout}'
1665
1666     triggers:
1667         - gerrit-trigger-manually-triggered:
1668             name: '{project}'
1669             branch: '{branch}'
1670             comment-trigger-value: 'csit_verify_dmm_func'
1671
1672     builders:
1673         - shell:
1674             !include-raw-escape: include-raw-csit-dmm-functional-virl.sh
1675
1676     publishers:
1677         - archive-artifacts:
1678             artifacts: 'report.html, log.html, output.xml'
1679             latest-only: false
1680
1681         - robot-report:
1682             output-path: ''
1683
1684         - fdio-infra-shiplogs:
1685             maven-version: 'mvn33-new'
1686
1687 - parameter:
1688     name: test-type-parameter
1689     parameters:
1690         - string:
1691             name: TYPE
1692             default: '{type}'
1693             description: "Test TYPE parameter if not given by trigger"