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