vpp.yaml revision 5b2e1dcb
1---
2- project:
3    name: vpp
4    jobs:
5      - 'vpp-verify-{stream}-{os}'
6      - 'vpp-merge-{stream}-{os}'
7
8    project: 'vpp'
9    os:
10      - ubuntu1604:
11          repo-os-part: 'ubuntu.xenial.main'
12      - centos7:
13          repo-os-part: 'centos7'
14
15    stream:
16      - master:
17          branch: 'master'
18          repo-stream-part: 'master'
19      - '1801':
20          branch: 'stable/1801'
21          repo-stream-part: 'stable.1801'
22      - '1804':
23          branch: 'stable/1804'
24          repo-stream-part: 'stable.1804'
25      - '1807':
26          branch: 'stable/1807'
27          repo-stream-part: 'stable.1807'
28      - '1810':
29          branch: 'stable/1810'
30          repo-stream-part: 'stable.1810'
31
32    type:
33      - short
34      - long
35
36- project:
37    name: vpp-clang
38    jobs:
39      - 'vpp-verify-{stream}-clang'
40
41    project: 'vpp'
42    os:
43      - ubuntu1604:
44          repo-os-part: 'ubuntu.xenial.main'
45      - centos7:
46          repo-os-part: 'centos7'
47      - opensuse:
48          repo-os-part: 'opensuse'
49
50    stream:
51      - master:
52          branch: 'master'
53          repo-stream-part: 'master'
54
55- project:
56    name: vpp-misc
57    jobs:
58      - 'vpp-csit-verify-virl-{stream}'
59      - 'vpp-checkstyle-verify-{stream}'
60    project: 'vpp'
61    stream:
62      - master:
63          branch: 'master'
64          repo-stream-part: 'master'
65      - '1801':
66          branch: 'stable/1801'
67          repo-stream-part: 'stable.1801'
68      - '1804':
69          branch: 'stable/1804'
70          repo-stream-part: 'stable.1804'
71      - '1807':
72          branch: 'stable/1807'
73          repo-stream-part: 'stable.1807'
74      - '1810':
75          branch: 'stable/1810'
76          repo-stream-part: 'stable.1810'
77    os: ubuntu1604
78
79- project:
80    name: vpp-perpatch
81    jobs:
82      - 'vpp-csit-verify-perf-{stream}-2n-skx'
83    project: 'vpp'
84    stream:
85      - master:
86          branch: 'master'
87          repo-stream-part: 'master'
88    os: ubuntu1604
89
90- project:
91    name: vpp-master-only
92    jobs:
93      - 'vpp-beta-verify-{stream}-{os}'
94      - 'vpp-beta-merge-{stream}-{os}'
95    project: 'vpp'
96    stream:
97      - master:
98          branch: 'master'
99          repo-stream-part: 'master'
100      - '1810':
101          branch: 'stable/1810'
102          repo-stream-part: 'stable.1810'
103    os:
104      - ubuntu1804:
105          repo-os-part: 'ubuntu.bionic.main'
106
107- project:
108    name: vpp-arm
109    jobs:
110      - 'vpp-arm-verify-{stream}-{os}'
111      - 'vpp-arm-merge-{stream}-{os}'
112    project: 'vpp'
113    stream:
114      - master:
115          branch: 'master'
116          repo-stream-part: 'master'
117      - '1804':
118          branch: 'stable/1804'
119          repo-stream-part: 'stable.1804'
120      - '1807':
121          branch: 'stable/1807'
122          repo-stream-part: 'stable.1807'
123      - '1810':
124          branch: 'stable/1810'
125          repo-stream-part: 'stable.1810'
126    os:
127      - ubuntu1604:
128          repo-os-part: 'ubuntu-arm.xenial.main'
129
130- job-template:
131    name: 'vpp-beta-verify-{stream}-{os}'
132
133    project-type: freestyle
134    node: '{os}-us'
135    concurrent: true
136    triggers:
137      - gerrit-trigger-checkstyle:
138          name: '{project}'
139          branch: '{branch}'
140
141    build-discarder:
142      daysToKeep: '{build-days-to-keep}'
143      numToKeep: 100
144      artifactDaysToKeep: '{build-artifact-days-to-keep}'
145      artifactNumToKeep: '{build-artifact-num-to-keep}'
146
147    parameters:
148      - project-parameter:
149          project: '{project}'
150      - gerrit-parameter:
151          branch: '{branch}'
152      - os-parameter:
153          os: '{os}'
154      - repo-name-parameter:
155          repo-name: '{repo-stream-part}.{repo-os-part}'
156      - stream-parameter:
157          stream: '{stream}'
158
159    scm:
160      - gerrit-trigger-scm:
161          credentials-id: 'jenkins-gerrit-credentials'
162          refspec: '$GERRIT_REFSPEC'
163          choosing-strategy: 'gerrit'
164
165    wrappers:
166      - fdio-infra-wrappers:
167          build-timeout: '{build-timeout}'
168
169    builders:
170      - shell:
171          !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
172      - shell:
173          !include-raw-escape:
174          - ../scripts/setup_vpp_dpdk_dev_env.sh
175          - include-raw-vpp-build.sh
176
177    publishers:
178      - archive:
179          artifacts: 'build-root/*.rpm,build-root/*.deb,dpdk/*.rpm,dpdk/*.deb'
180          allow-empty: 'true'
181          fingerprint: false
182          only-if-success: true
183          default-excludes: false
184      - fdio-infra-shiplogs:
185          maven-version: 'mvn33-new'
186          archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
187      - naginator:
188          rerun-unstable-builds: false
189          max-failed-builds: 1
190          fixed-delay: 90
191
192- job-template:
193    name: 'vpp-beta-merge-{stream}-{os}'
194
195    project-type: freestyle
196    node: '{os}-us'
197
198    build-discarder:
199      daysToKeep: '{build-days-to-keep}'
200      numToKeep: 100
201      artifactDaysToKeep: '{build-artifact-days-to-keep}'
202      artifactNumToKeep: '{build-artifact-num-to-keep}'
203
204    parameters:
205      - project-parameter:
206          project: '{project}'
207      - gerrit-parameter:
208          branch: '{branch}'
209      - os-parameter:
210          os: '{os}'
211      - maven-project-parameter:
212          maven: 'mvn33-new'
213      - maven-exec:
214          maven-version: 'mvn33-new'
215      - stream-parameter:
216          stream: '{stream}'
217      - repo-name-parameter:
218          repo-name: '{repo-stream-part}.{repo-os-part}'
219
220    scm:
221      - gerrit-trigger-scm:
222          credentials-id: 'jenkins-gerrit-credentials'
223          refspec: ''
224          choosing-strategy: 'default'
225
226    wrappers:
227      - fdio-infra-wrappers:
228          build-timeout: 120
229
230    triggers:
231      - gerrit-trigger-patch-merged:
232          name: '{project}'
233          branch: '{branch}'
234
235    builders:
236      - config-file-provider:
237          files:
238            - file-id: '.packagecloud'
239              target: '/root'
240      - config-file-provider:
241          files:
242            - file-id: 'packagecloud_api'
243              target: '/root'
244      - maven-target:
245          maven-version: 'mvn33-new'
246          goals: '--version'
247          settings: 'vpp-settings'
248          settings-type: cfp
249          global-settings: 'global-settings'
250          global-settings-type: cfp
251      - shell:
252          !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
253      - shell:
254          !include-raw-escape:
255          - ../scripts/setup_vpp_dpdk_dev_env.sh
256          - include-raw-vpp-build.sh
257      - provide-maven-settings:
258          settings-file: 'vpp-settings'
259          global-settings-file: 'global-settings'
260      - shell:
261          !include-raw-escape:
262          - ../scripts/packagecloud_push.sh
263      - shell:
264          !include-raw-escape:
265          - ../scripts/maven_push_functions.sh
266          - include-raw-vpp-maven-push.sh
267
268    publishers:
269      - archive:
270          artifacts: 'build-root/*.rpm,build-root/*.deb,dpdk/*.rpm,dpdk/*.deb'
271          allow-empty: 'true'
272          fingerprint: false
273          only-if-success: true
274          default-excludes: false
275      - fdio-infra-shiplogs:
276          maven-version: 'mvn33-new'
277
278- job-template:
279    name: 'vpp-arm-verify-{stream}-{os}'
280
281    project-type: freestyle
282    node: '{os}arm-us'
283    concurrent: true
284
285    build-discarder:
286      daysToKeep: '{build-days-to-keep}'
287      numToKeep: 100
288      artifactDaysToKeep: '{build-artifact-days-to-keep}'
289      artifactNumToKeep: '{build-artifact-num-to-keep}'
290
291    parameters:
292      - project-parameter:
293          project: '{project}'
294      - gerrit-parameter:
295          branch: '{branch}'
296      - os-parameter:
297          os: '{os}'
298      - repo-name-parameter:
299          repo-name: '{repo-stream-part}.{repo-os-part}'
300      - stream-parameter:
301          stream: '{stream}'
302
303    scm:
304      - gerrit-trigger-scm:
305          credentials-id: 'jenkins-gerrit-credentials'
306          refspec: '$GERRIT_REFSPEC'
307          choosing-strategy: 'gerrit'
308
309    wrappers:
310      - fdio-infra-wrappers:
311          build-timeout: 120
312
313    triggers:
314      - gerrit-trigger-checkstyle:
315          name: '{project}'
316          branch: '{branch}'
317
318    builders:
319      - shell:
320          !include-raw-escape: ../scripts/setup_vpp_ubuntu_arm_test.sh
321      - shell:
322          !include-raw-escape:
323          - ../scripts/setup_vpp_dpdk_dev_env.sh
324          - include-raw-vpp-parallel-vars.sh
325          - include-raw-vpp-arm-build.sh
326
327    publishers:
328      - archive:
329          artifacts: 'build-root/*.rpm,build-root/*.deb,dpdk/*.rpm,dpdk/*.deb'
330          allow-empty: 'true'
331          fingerprint: false
332          only-if-success: true
333          default-excludes: false
334      - fdio-infra-shiplogs:
335          maven-version: 'mvn33-new'
336          archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
337
338- job-template:
339    name: 'vpp-arm-merge-{stream}-{os}'
340
341    project-type: freestyle
342    node: '{os}arm-us'
343
344    build-discarder:
345      daysToKeep: '{build-days-to-keep}'
346      numToKeep: 100
347      artifactDaysToKeep: '{build-artifact-days-to-keep}'
348      artifactNumToKeep: '{build-artifact-num-to-keep}'
349
350    parameters:
351      - project-parameter:
352          project: '{project}'
353      - gerrit-parameter:
354          branch: '{branch}'
355      - os-parameter:
356          os: '{os}'
357      - maven-project-parameter:
358          maven: 'mvn33-new'
359      - maven-exec:
360          maven-version: 'mvn33-new'
361      - stream-parameter:
362          stream: '{stream}'
363      - repo-name-parameter:
364          repo-name: '{repo-stream-part}.{repo-os-part}'
365
366    scm:
367      - gerrit-trigger-scm:
368          credentials-id: 'jenkins-gerrit-credentials'
369          refspec: ''
370          choosing-strategy: 'default'
371
372    wrappers:
373      - fdio-infra-wrappers:
374          build-timeout: 120
375
376    triggers:
377      - gerrit-trigger-patch-merged:
378          name: '{project}'
379          branch: '{branch}'
380
381    builders:
382      - config-file-provider:
383          files:
384            - file-id: '.packagecloud'
385              target: '/root'
386      - config-file-provider:
387          files:
388            - file-id: 'packagecloud_api'
389              target: '/root'
390      - maven-target:
391          maven-version: 'mvn33-new'
392          goals: '--version'
393          settings: 'vpp-settings'
394          settings-type: cfp
395          global-settings: 'global-settings'
396          global-settings-type: cfp
397      - shell:
398          !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
399      - shell:
400          !include-raw-escape:
401          - ../scripts/setup_vpp_dpdk_dev_env.sh
402          - include-raw-vpp-arm-build.sh
403      - provide-maven-settings:
404          settings-file: 'vpp-settings'
405          global-settings-file: 'global-settings'
406      - shell:
407          !include-raw-escape:
408          - ../scripts/packagecloud_push.sh
409      - shell:
410          !include-raw-escape:
411          - ../scripts/maven_push_functions.sh
412          - include-raw-vpp-maven-push.sh
413
414    publishers:
415      - archive:
416          artifacts: 'build-root/*.rpm,build-root/*.deb,dpdk/*.rpm,dpdk/*.deb'
417          allow-empty: 'true'
418          fingerprint: false
419          only-if-success: true
420          default-excludes: false
421      - fdio-infra-shiplogs:
422          maven-version: 'mvn33-new'
423
424- job-template:
425    name: 'vpp-checkstyle-verify-{stream}'
426
427    project-type: freestyle
428    node: '{os}-us'
429    concurrent: true
430
431    build-discarder:
432      daysToKeep: '{build-days-to-keep}'
433      numToKeep: '{build-num-to-keep}'
434      artifactDaysToKeep: '{build-artifact-days-to-keep}'
435      artifactNumToKeep: '{build-artifact-num-to-keep}'
436
437    parameters:
438      - project-parameter:
439          project: '{project}'
440      - gerrit-parameter:
441          branch: '{branch}'
442      - os-parameter:
443          os: '{os}'
444      - repo-name-parameter:
445          repo-name: '{repo-stream-part}.ubuntu.xenial.main'
446
447    scm:
448      - gerrit-trigger-scm:
449          credentials-id: 'jenkins-gerrit-credentials'
450          refspec: '$GERRIT_REFSPEC'
451          choosing-strategy: 'gerrit'
452
453    wrappers:
454      - fdio-infra-wrappers:
455          build-timeout: '{build-timeout}'
456
457    triggers:
458      - gerrit:
459          server-name: 'Primary'
460          trigger-on:
461            - patchset-created-event:
462                exclude-drafts: 'true'
463                exclude-trivial-rebase: 'false'
464                exclude-no-code-change: 'true'
465            - draft-published-event
466            - comment-added-contains-event:
467                comment-contains-value: 'checkstylecheck'
468            - comment-added-contains-event:
469                comment-contains-value: 'docsonly'
470            - comment-added-contains-event:
471                comment-contains-value: 'recheck'
472            - comment-added-contains-event:
473                comment-contains-value: 'reverify'
474          projects:
475            - project-compare-type: 'ANT'
476              project-pattern: '{project}'
477              branches:
478                - branch-compare-type: 'ANT'
479                  branch-pattern: '**/{branch}'
480              file-paths:
481                - compare-type: REG_EXP
482                  pattern: ^((?!\/COMMIT_MSG|docs|_abc|_def[\/\.]).)*$
483              forbidden-file-paths:
484                - compare-type: REG_EXP
485                  pattern: .*docs\/.*
486                - compare-type: REG_EXP
487                  pattern: .*extras\/emacs\/.*
488              disable-strict-forbidden-file-verification: 'true'
489          override-votes: true
490          gerrit-build-notbuilt-verified-value: 0
491          gerrit-build-successful-verified-value: 1
492          # yamllint disable-line rule:line-length
493          notbuilt-message: 'Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes.'
494          # yamllint disable-line rule:line-length
495          failed-message: 'Checkstyle failed. No further verify jobs will be started.'
496          successful-message: 'checkstyle_success'
497          skip-vote:
498            successful: true
499            failed: false
500            unstable: false
501            notbuilt: false
502
503    builders:
504      - shell:
505          !include-raw-escape: include-raw-vpp-checkstyle.sh
506      - shell:
507          !include-raw-escape: include-raw-vpp-test-checkstyle.sh
508
509    publishers:
510      - fdio-infra-shiplogs:
511          maven-version: 'mvn33-new'
512          archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
513      - naginator:
514          rerun-unstable-builds: true
515          max-failed-builds: 1
516          fixed-delay: 90
517
518- job-template:
519    name: 'vpp-verify-{stream}-{os}'
520
521    project-type: freestyle
522    node: '{os}-us'
523    concurrent: true
524
525    build-discarder:
526      daysToKeep: '{build-days-to-keep}'
527      numToKeep: 100
528      artifactDaysToKeep: '{build-artifact-days-to-keep}'
529      artifactNumToKeep: '{build-artifact-num-to-keep}'
530
531    parameters:
532      - project-parameter:
533          project: '{project}'
534      - gerrit-parameter:
535          branch: '{branch}'
536      - os-parameter:
537          os: '{os}'
538      - repo-name-parameter:
539          repo-name: '{repo-stream-part}.{repo-os-part}'
540      - stream-parameter:
541          stream: '{stream}'
542
543    scm:
544      - gerrit-trigger-scm:
545          credentials-id: 'jenkins-gerrit-credentials'
546          refspec: '$GERRIT_REFSPEC'
547          choosing-strategy: 'gerrit'
548
549    wrappers:
550      - fdio-infra-wrappers:
551          build-timeout: 120
552
553    triggers:
554      - gerrit-trigger-checkstyle:
555          name: '{project}'
556          branch: '{branch}'
557
558    builders:
559      - shell:
560          !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
561      - shell:
562          !include-raw-escape:
563          - ../scripts/setup_vpp_dpdk_dev_env.sh
564          - include-raw-vpp-build.sh
565
566    publishers:
567      - archive:
568          artifacts: 'build-root/*.rpm,build-root/*.deb,dpdk/*.rpm,dpdk/*.deb'
569          allow-empty: 'true'
570          fingerprint: false
571          only-if-success: true
572          default-excludes: false
573      - fdio-infra-shiplogs:
574          maven-version: 'mvn33-new'
575          archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
576      - naginator:
577          rerun-unstable-builds: false
578          max-failed-builds: 2
579          fixed-delay: 90
580
581- job-template:
582    name: 'vpp-verify-{stream}-clang'
583
584    project-type: freestyle
585    node: 'ubuntu1604-us'
586    concurrent: true
587
588    build-discarder:
589      daysToKeep: '{build-days-to-keep}'
590      numToKeep: '{build-num-to-keep}'
591      artifactDaysToKeep: '{build-artifact-days-to-keep}'
592      artifactNumToKeep: '{build-artifact-num-to-keep}'
593
594    parameters:
595      - project-parameter:
596          project: '{project}'
597      - gerrit-parameter:
598          branch: '{branch}'
599      - os-parameter:
600          os: 'ubuntu1604'
601      - repo-name-parameter:
602          repo-name: '{repo-stream-part}.ubuntu.xenial.main'
603      - stream-parameter:
604          stream: '{stream}'
605
606    scm:
607      - gerrit-trigger-scm:
608          credentials-id: 'jenkins-gerrit-credentials'
609          refspec: '$GERRIT_REFSPEC'
610          choosing-strategy: 'gerrit'
611
612    wrappers:
613      - fdio-infra-wrappers:
614          build-timeout: '{build-timeout}'
615
616    triggers:
617      - gerrit-trigger-checkstyle:
618          name: '{project}'
619          branch: '{branch}'
620
621    builders:
622      - shell:
623          !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
624      - shell:
625          !include-raw-escape:
626          - ../scripts/setup_vpp_dpdk_dev_env.sh
627          - include-raw-vpp-clang-build.sh
628
629    publishers:
630      - fdio-infra-shiplogs:
631          maven-version: 'mvn33-new'
632          archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
633      - naginator:
634          rerun-unstable-builds: false
635          max-failed-builds: 1
636          fixed-delay: 90
637
638- job-template:
639    name: 'vpp-merge-{stream}-{os}'
640
641    project-type: freestyle
642    node: '{os}-us'
643
644    build-discarder:
645      daysToKeep: '{build-days-to-keep}'
646      numToKeep: 100
647      artifactDaysToKeep: '{build-artifact-days-to-keep}'
648      artifactNumToKeep: '{build-artifact-num-to-keep}'
649
650    parameters:
651      - project-parameter:
652          project: '{project}'
653      - gerrit-parameter:
654          branch: '{branch}'
655      - os-parameter:
656          os: '{os}'
657      - maven-project-parameter:
658          maven: 'mvn33-new'
659      - maven-exec:
660          maven-version: 'mvn33-new'
661      - stream-parameter:
662          stream: '{stream}'
663      - repo-name-parameter:
664          repo-name: '{repo-stream-part}.{repo-os-part}'
665
666    scm:
667      - gerrit-trigger-scm:
668          credentials-id: 'jenkins-gerrit-credentials'
669          refspec: ''
670          choosing-strategy: 'default'
671
672    wrappers:
673      - fdio-infra-wrappers:
674          build-timeout: '{build-timeout}'
675
676    triggers:
677      - gerrit-trigger-patch-merged:
678          name: '{project}'
679          branch: '{branch}'
680
681    builders:
682      - config-file-provider:
683          files:
684            - file-id: '.packagecloud'
685              target: '/root'
686      - config-file-provider:
687          files:
688            - file-id: 'packagecloud_api'
689              target: '/root'
690      - maven-target:
691          maven-version: 'mvn33-new'
692          goals: '--version'
693          settings: 'vpp-settings'
694          settings-type: cfp
695          global-settings: 'global-settings'
696          global-settings-type: cfp
697      - shell:
698          !include-raw-escape: include-raw-vpp-checkstyle.sh
699      - shell:
700          !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
701      - shell:
702          !include-raw-escape:
703          - ../scripts/setup_vpp_dpdk_dev_env.sh
704          - include-raw-vpp-build.sh
705      - provide-maven-settings:
706          settings-file: 'vpp-settings'
707          global-settings-file: 'global-settings'
708      - shell:
709          !include-raw-escape:
710          - ../scripts/packagecloud_push.sh
711      - shell:
712          !include-raw-escape:
713          - ../scripts/maven_push_functions.sh
714          - include-raw-vpp-maven-push.sh
715
716    publishers:
717      - archive:
718          artifacts: 'build-root/*.rpm,build-root/*.deb,dpdk/*.rpm,dpdk/*.deb'
719          allow-empty: 'true'
720          fingerprint: false
721          only-if-success: true
722          default-excludes: false
723      - fdio-infra-shiplogs:
724          maven-version: 'mvn33-new'
725      - naginator:
726          rerun-unstable-builds: false
727          max-failed-builds: 1
728          fixed-delay: 90
729
730- job-template:
731    name: 'vpp-csit-verify-virl-{stream}'
732
733    project-type: freestyle
734    node: '{os}-us'
735    concurrent: true
736
737    build-discarder:
738      daysToKeep: '{build-days-to-keep}'
739      numToKeep: 100
740      artifactDaysToKeep: '{build-artifact-days-to-keep}'
741      artifactNumToKeep: '{build-artifact-num-to-keep}'
742
743    parameters:
744      - project-parameter:
745          project: '{project}'
746      - gerrit-parameter:
747          branch: '{branch}'
748      - os-parameter:
749          os: '{os}'
750      - repo-name-parameter:
751          repo-name: '{repo-stream-part}.ubuntu.xenial.main'
752      - is-csit-vpp-job-parameter:
753          is-csit-vpp-job: 'True'
754      - string:
755          name: CSIT_REF
756          description: "Also testing CSIT_REF"
757      - stream-parameter:
758          stream: '{stream}'
759
760    scm:
761      - gerrit-trigger-scm:
762          credentials-id: 'jenkins-gerrit-credentials'
763          refspec: '$GERRIT_REFSPEC'
764          choosing-strategy: 'gerrit'
765
766    wrappers:
767      - fdio-infra-wrappers:
768          build-timeout: '90'
769
770    triggers:
771      - gerrit-trigger-checkstyle-nonvoting:
772          name: '{project}'
773          branch: '{branch}'
774
775    builders:
776      - shell: 'echo "VPP_BRANCH={branch}" > $WORKSPACE/variables.prop'
777      - inject:
778          properties-file: variables.prop
779      - shell:
780          !include-raw-escape:
781          - ../scripts/setup_vpp_ubuntu_docker_test.sh
782          - ../scripts/setup_vpp_dpdk_dev_env.sh
783          - include-raw-vpp-build.sh
784      - shell:
785          !include-raw-escape:
786          - include-raw-vpp-csit-functional.sh
787
788    publishers:
789      - archive-artifacts:
790          artifacts: 'csit/report.html, csit/log.html, csit/output.xml'
791          latest-only: false
792
793      - robot-report:
794          output-path: 'csit'
795
796      - fdio-infra-shiplogs:
797          maven-version: 'mvn33-new'
798
799- job-template:
800    name: 'vpp-csit-verify-perf-{stream}-2n-skx'
801
802    project-type: freestyle
803    node: '{os}-basebuild-8c-32g'
804    concurrent: true
805
806    build-discarder:
807      daysToKeep: '{build-days-to-keep}'
808      numToKeep: 100
809      artifactDaysToKeep: '{build-artifact-days-to-keep}'
810      artifactNumToKeep: '{build-artifact-num-to-keep}'
811
812    parameters:
813      - project-parameter:
814          project: '{project}'
815      - gerrit-parameter:
816          branch: '{branch}'
817      - os-parameter:
818          os: '{os}'
819      - repo-name-parameter:
820          repo-name: '{repo-stream-part}.ubuntu.bionic.main'
821      - gerrit-refspec-parameter
822      - gerrit-event-type-parameter
823      - gerrit-event-comment-text-parameter
824      - gerrit-csit-refspec-parameter
825      - string:
826          name: CSIT_PERF_TRIAL_DURATION
827          default: "1.0"
828          description: "Duration of a trial measurement in BMRR tests."
829      - string:
830          name: CSIT_PERF_TRIAL_MULTIPLICITY
831          default: "30"
832          description: "Number of subsamples for BMRR tests."
833      - stream-parameter:
834          stream: '{stream}'
835
836    scm:
837      - gerrit-trigger-scm:
838          credentials-id: 'jenkins-gerrit-credentials'
839          refspec: '$GERRIT_REFSPEC'
840          choosing-strategy: 'gerrit'
841
842    wrappers:
843      - fdio-infra-wrappers-non-activity-timeout:
844          build-timeout: 300
845
846    triggers:
847      - gerrit:
848          server-name: 'Primary'
849          trigger-on:
850            - comment-added-contains-event:
851                comment-contains-value: 'perftest'
852          projects:
853            - project-compare-type: 'ANT'
854              project-pattern: '{project}'
855              branches:
856                - branch-compare-type: 'ANT'
857                  branch-pattern: '**/{branch}'
858          skip-vote:
859            successful: true
860            failed: true
861            unstable: true
862            notbuilt: true
863
864    builders:
865      - shell:
866          !include-raw-escape:
867          - clone-csit-run-main.sh
868
869    publishers:
870      - archive-artifacts:
871          artifacts: 'csit_new/*.*, csit_parent/*.*'
872          latest-only: false
873
874      - robot-report:
875          output-path: 'csit_new/'
876
877      - fdio-infra-shiplogs:
878          maven-version: 'mvn33-new'
879
880- parameter:
881    name: type-parameter
882
883    parameters:
884      - string:
885          name: TYPE
886          default: '{type}'
887          description: "TYPE parameter if not given by trigger"
888