5 - 'vpp-verify-{stream}-{os}'
6 - 'vpp-merge-{stream}-{os}'
11 repo-os-part: 'ubuntu.bionic.main'
13 repo-os-part: 'centos7'
18 repo-stream-part: 'master'
21 repo-stream-part: 'stable.1904'
24 repo-stream-part: 'stable.1908'
27 repo-stream-part: 'stable.2001'
32 - 'vpp-verify-{stream}-clang'
33 - 'vpp-coverity-{stream}'
38 repo-os-part: 'ubuntu.bionic.main'
40 repo-os-part: 'centos7'
42 repo-os-part: 'opensuse'
47 repo-stream-part: 'master'
52 - 'vpp-checkstyle-verify-{stream}'
57 repo-stream-part: 'master'
60 repo-stream-part: 'stable.1901'
63 repo-stream-part: 'stable.1904'
66 repo-stream-part: 'stable.1908'
69 repo-stream-part: 'stable.2001'
75 - 'vpp-csit-verify-device-{stream}-{device-node-arch}'
76 - 'vpp-csit-verify-perf-{stream}-{node-arch}'
79 device-executor: 'vpp-csit-device'
82 trigger: 'gerrit-trigger-csit-devicetest-full'
86 repo-stream-part: 'master'
89 repo-stream-part: 'stable.1904'
92 repo-stream-part: 'stable.1908'
95 repo-stream-part: 'stable.2001'
99 device-executor: 'vpp-csit-arm-ubuntu18'
100 trigger: 'gerrit-trigger-csit-devicetest-manual'
109 executor: 'ubuntu1804arm-s'
113 device-node-arch: '1n-tx2'
118 - 'vpp-historic-verify-{stream}-{os}'
119 - 'vpp-historic-merge-{stream}-{os}'
123 branch: 'stable/1901'
124 repo-stream-part: 'stable.1901'
126 branch: 'stable/1904'
127 repo-stream-part: 'stable.1904'
129 branch: 'stable/1908'
130 repo-stream-part: 'stable.1908'
132 branch: 'stable/2001'
133 repo-stream-part: 'stable.2001'
136 repo-os-part: 'ubuntu.xenial.main'
141 - 'vpp-arm-verify-{stream}-{os}'
142 - 'vpp-arm-merge-{stream}-{os}'
147 repo-stream-part: 'master'
149 branch: 'stable/1901'
150 repo-stream-part: 'stable.1901'
152 branch: 'stable/1904'
153 repo-stream-part: 'stable.1904'
155 branch: 'stable/1908'
156 repo-stream-part: 'stable.1908'
158 branch: 'stable/2001'
159 repo-stream-part: 'stable.2001'
162 repo-os-part: 'ubuntu-arm.bionic.main'
164 # TODO: Merge with (e.g.) vpp-perpatch or similar,
165 # when number of stable branches supported matches.
169 - 'vpp-csit-verify-api-crc-{stream}'
171 executor: 'vpp-csit-device'
174 # TODO: Add stable/1908 when it is created.
183 - gerrit-info-yaml-verify
184 build-node: centos7-builder-4c-4g
195 name: 'vpp-historic-verify-{stream}-{os}'
197 project-type: freestyle
200 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
203 - gerrit-trigger-checkstyle:
208 daysToKeep: '{build-days-to-keep}'
210 artifactDaysToKeep: '{build-artifact-days-to-keep}'
211 artifactNumToKeep: '{build-artifact-num-to-keep}'
220 - repo-name-parameter:
221 repo-name: '{repo-stream-part}.{repo-os-part}'
225 name: ARCHIVE_ARTIFACTS
226 default: '{archive-artifacts}'
227 description: Artifacts to archive to the logs server.
230 - gerrit-trigger-scm:
231 credentials-id: 'jenkins-gerrit-credentials'
232 refspec: '$GERRIT_REFSPEC'
233 choosing-strategy: 'gerrit'
236 - fdio-infra-wrappers:
242 - ../scripts/setup_vpp_ubuntu_docker_test.sh
245 - ../scripts/setup_vpp_dpdk_dev_env.sh
248 - ../scripts/vpp/build.sh
251 - fdio-infra-shiplogs:
252 maven-version: 'mvn36'
254 rerun-unstable-builds: false
259 name: 'vpp-historic-merge-{stream}-{os}'
261 project-type: freestyle
265 daysToKeep: '{build-days-to-keep}'
267 artifactDaysToKeep: '{build-artifact-days-to-keep}'
268 artifactNumToKeep: '{build-artifact-num-to-keep}'
277 - maven-project-parameter:
280 maven-version: 'mvn33-new'
283 - repo-name-parameter:
284 repo-name: '{repo-stream-part}.{repo-os-part}'
286 name: ARCHIVE_ARTIFACTS
287 default: '{archive-artifacts}'
288 description: Artifacts to archive to the logs server.
291 - gerrit-trigger-scm:
292 credentials-id: 'jenkins-gerrit-credentials'
294 choosing-strategy: 'default'
297 - fdio-infra-wrappers:
301 - gerrit-trigger-patch-merged:
306 - config-file-provider:
308 - file-id: '.packagecloud'
310 - config-file-provider:
312 - file-id: 'packagecloud_api'
316 - ../scripts/setup_vpp_ubuntu_docker_test.sh
319 - ../scripts/setup_vpp_dpdk_dev_env.sh
322 - ../scripts/vpp/build.sh
323 - provide-maven-settings:
324 settings-file: 'vpp-settings'
325 global-settings-file: 'global-settings'
328 - ../scripts/packagecloud_push.sh
331 - fdio-infra-shiplogs:
332 maven-version: 'mvn36'
335 name: 'vpp-arm-verify-{stream}-{os}'
337 project-type: freestyle
340 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
343 daysToKeep: '{build-days-to-keep}'
345 artifactDaysToKeep: '{build-artifact-days-to-keep}'
346 artifactNumToKeep: '{build-artifact-num-to-keep}'
355 - repo-name-parameter:
356 repo-name: '{repo-stream-part}.{repo-os-part}'
360 name: ARCHIVE_ARTIFACTS
361 default: '{archive-artifacts}'
362 description: Artifacts to archive to the logs server.
365 - gerrit-trigger-scm:
366 credentials-id: 'jenkins-gerrit-credentials'
367 refspec: '$GERRIT_REFSPEC'
368 choosing-strategy: 'gerrit'
371 - fdio-infra-wrappers:
375 - gerrit-trigger-checkstyle:
382 - ../scripts/setup_vpp_ubuntu_arm_test.sh
385 - ../scripts/setup_vpp_dpdk_dev_env.sh
388 - ../scripts/vpp/parallel-vars.sh
389 - ../scripts/vpp/arm-build.sh
392 - fdio-infra-shiplogs:
393 maven-version: 'mvn36'
395 rerun-unstable-builds: false
400 name: 'vpp-arm-merge-{stream}-{os}'
402 project-type: freestyle
406 daysToKeep: '{build-days-to-keep}'
408 artifactDaysToKeep: '{build-artifact-days-to-keep}'
409 artifactNumToKeep: '{build-artifact-num-to-keep}'
418 - maven-project-parameter:
421 maven-version: 'mvn33-new'
424 - repo-name-parameter:
425 repo-name: '{repo-stream-part}.{repo-os-part}'
427 name: ARCHIVE_ARTIFACTS
428 default: '{archive-artifacts}'
429 description: Artifacts to archive to the logs server.
432 - gerrit-trigger-scm:
433 credentials-id: 'jenkins-gerrit-credentials'
435 choosing-strategy: 'default'
438 - fdio-infra-wrappers:
442 - gerrit-trigger-patch-merged:
447 - config-file-provider:
449 - file-id: '.packagecloud'
451 - config-file-provider:
453 - file-id: 'packagecloud_api'
457 - ../scripts/setup_vpp_ubuntu_arm_test.sh
460 - ../scripts/setup_vpp_dpdk_dev_env.sh
463 - ../scripts/vpp/parallel-vars.sh
464 - ../scripts/vpp/arm-build-no-test.sh
466 - provide-maven-settings:
467 settings-file: 'vpp-settings'
468 global-settings-file: 'global-settings'
471 - ../scripts/packagecloud_push.sh
474 - fdio-infra-shiplogs:
475 maven-version: 'mvn36'
478 name: 'vpp-checkstyle-verify-{stream}'
480 project-type: freestyle
483 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
486 daysToKeep: '{build-days-to-keep}'
487 numToKeep: '{build-num-to-keep}'
488 artifactDaysToKeep: '{build-artifact-days-to-keep}'
489 artifactNumToKeep: '{build-artifact-num-to-keep}'
498 - repo-name-parameter:
499 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
502 - gerrit-trigger-scm:
503 credentials-id: 'jenkins-gerrit-credentials'
504 refspec: '$GERRIT_REFSPEC'
505 choosing-strategy: 'gerrit'
508 - fdio-infra-wrappers:
509 build-timeout: '{build-timeout}'
513 server-name: 'Primary'
515 - patchset-created-event:
516 exclude-drafts: 'true'
517 exclude-trivial-rebase: 'false'
518 exclude-no-code-change: 'false'
519 - draft-published-event
520 - comment-added-contains-event:
521 comment-contains-value: 'checkstylecheck'
522 - comment-added-contains-event:
523 comment-contains-value: 'docsonly'
524 - comment-added-contains-event:
525 comment-contains-value: 'recheck'
526 - comment-added-contains-event:
527 comment-contains-value: 'reverify'
528 # Following two are to cover missing functions of drafts going to review status
529 - comment-added-contains-event:
530 comment-contains-value: 'runtest'
531 - comment-added-contains-event:
532 comment-contains-value: 'This change is ready for review'
534 - project-compare-type: 'ANT'
535 project-pattern: '{project}'
537 - branch-compare-type: 'ANT'
538 branch-pattern: '**/{branch}'
540 - compare-type: REG_EXP
541 pattern: ^((?!\/COMMIT_MSG|docs|_abc|_def[\/\.]).)*$
542 forbidden-file-paths:
543 - compare-type: REG_EXP
545 - compare-type: REG_EXP
546 pattern: .*extras\/emacs\/.*
547 disable-strict-forbidden-file-verification: 'true'
549 gerrit-build-notbuilt-verified-value: 0
550 gerrit-build-successful-verified-value: 1
551 # yamllint disable-line rule:line-length
552 notbuilt-message: 'Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes.'
553 # yamllint disable-line rule:line-length
554 failed-message: 'Checkstyle failed. No further verify jobs will be started.'
555 successful-message: 'checkstyle_success'
565 - ../scripts/vpp/checkstyle.sh
568 - ../scripts/vpp/test-checkstyle.sh
571 - ../scripts/vpp/commitmsg.sh
574 - fdio-infra-shiplogs:
575 maven-version: 'mvn36'
577 rerun-unstable-builds: true
582 name: 'vpp-verify-{stream}-{os}'
584 project-type: freestyle
587 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
590 daysToKeep: '{build-days-to-keep}'
592 artifactDaysToKeep: '{build-artifact-days-to-keep}'
593 artifactNumToKeep: '{build-artifact-num-to-keep}'
602 - repo-name-parameter:
603 repo-name: '{repo-stream-part}.{repo-os-part}'
607 name: ARCHIVE_ARTIFACTS
608 default: '{archive-artifacts}'
609 description: Artifacts to archive to the logs server.
612 - gerrit-trigger-scm:
613 credentials-id: 'jenkins-gerrit-credentials'
614 refspec: '$GERRIT_REFSPEC'
615 choosing-strategy: 'gerrit'
618 - fdio-infra-wrappers:
622 - gerrit-trigger-checkstyle:
629 - ../scripts/setup_vpp_ubuntu_docker_test.sh
632 - ../scripts/setup_vpp_dpdk_dev_env.sh
635 - ../scripts/vpp/build.sh
638 - fdio-infra-shiplogs:
639 maven-version: 'mvn36'
641 rerun-unstable-builds: false
646 name: 'vpp-verify-{stream}-clang'
648 project-type: freestyle
649 node: 'ubuntu1804-us'
651 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
654 daysToKeep: '{build-days-to-keep}'
655 numToKeep: '{build-num-to-keep}'
656 artifactDaysToKeep: '{build-artifact-days-to-keep}'
657 artifactNumToKeep: '{build-artifact-num-to-keep}'
666 - repo-name-parameter:
667 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
672 - gerrit-trigger-scm:
673 credentials-id: 'jenkins-gerrit-credentials'
674 refspec: '$GERRIT_REFSPEC'
675 choosing-strategy: 'gerrit'
678 - fdio-infra-wrappers:
679 build-timeout: '{build-timeout}'
682 - gerrit-trigger-checkstyle:
689 - ../scripts/setup_vpp_ubuntu_docker_test.sh
692 - ../scripts/setup_vpp_dpdk_dev_env.sh
695 - ../scripts/vpp/clang-build.sh
698 - fdio-infra-shiplogs:
699 maven-version: 'mvn36'
701 rerun-unstable-builds: false
706 name: 'vpp-coverity-{stream}'
708 project-type: freestyle
709 node: 'ubuntu1804-us'
711 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
714 daysToKeep: '{build-days-to-keep}'
715 numToKeep: '{build-num-to-keep}'
716 artifactDaysToKeep: '{build-artifact-days-to-keep}'
717 artifactNumToKeep: '{build-artifact-num-to-keep}'
726 - repo-name-parameter:
727 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
732 - gerrit-trigger-scm:
733 credentials-id: 'jenkins-gerrit-credentials'
735 choosing-strategy: 'gerrit'
738 - fdio-infra-wrappers:
739 build-timeout: '{build-timeout}'
742 - timed: '0 14 * * *'
746 command: !include-raw-escape: ../scripts/vpp/coverity.sh
751 # yamllint disable-line rule:line-length
752 recipients: 'ejk@cisco.com'
755 subject: 'Coverity run passing as of $BUILD_TIMESTAMP'
756 # yamllint disable-line rule:line-length
758 Coverity run passing.
760 ${{FILE,path="output.txt"}}
764 # yamllint disable-line rule:line-length
765 recipients: 'ejk@cisco.com'
768 subject: 'Coverity run UNSTABLE as of $BUILD_TIMESTAMP'
769 # yamllint disable-line rule:line-length
771 Coverity run UNSTABLE.
773 Something went wrong with daily scan.
777 # yamllint disable-line rule:line-length
778 recipients: 'vpp-dev@lists.fd.io, ejk@cisco.com'
781 subject: 'Coverity run FAILED as of $BUILD_TIMESTAMP'
782 # yamllint disable-line rule:line-length
784 Coverity run failed today.
786 ${{FILE,path="output.txt"}}
789 # yamllint disable-line rule:line-length
790 recipients: 'vpp-dev@lists.fd.io, ejk@cisco.com'
793 subject: 'Coverity run as of $BUILD_TIMESTAMP'
794 # yamllint disable-line rule:line-length
796 Coverity run fixed today.
798 ${{FILE,path="output.txt"}}
801 - fdio-infra-shiplogs:
802 maven-version: 'mvn36'
805 name: 'vpp-merge-{stream}-{os}'
807 project-type: freestyle
811 daysToKeep: '{build-days-to-keep}'
813 artifactDaysToKeep: '{build-artifact-days-to-keep}'
814 artifactNumToKeep: '{build-artifact-num-to-keep}'
823 - maven-project-parameter:
826 maven-version: 'mvn33-new'
829 - repo-name-parameter:
830 repo-name: '{repo-stream-part}.{repo-os-part}'
832 name: ARCHIVE_ARTIFACTS
833 default: '{archive-artifacts}'
834 description: Artifacts to archive to the logs server.
837 - gerrit-trigger-scm:
838 credentials-id: 'jenkins-gerrit-credentials'
840 choosing-strategy: 'default'
843 - fdio-infra-wrappers:
844 build-timeout: '{build-timeout}'
847 - gerrit-trigger-patch-merged:
852 - config-file-provider:
854 - file-id: '.packagecloud'
856 - config-file-provider:
858 - file-id: 'packagecloud_api'
862 - ../scripts/vpp/checkstyle.sh
865 - ../scripts/setup_vpp_ubuntu_docker_test.sh
868 - ../scripts/setup_vpp_dpdk_dev_env.sh
871 - ../scripts/vpp/build.sh
872 - provide-maven-settings:
873 settings-file: 'vpp-settings'
874 global-settings-file: 'global-settings'
877 - ../scripts/packagecloud_push.sh
880 - fdio-infra-shiplogs:
881 maven-version: 'mvn36'
883 rerun-unstable-builds: false
888 name: 'vpp-csit-verify-device-{stream}-{device-node-arch}'
893 <li>{device-executor}
897 project-type: freestyle
898 node: '{device-executor}'
900 archive-artifacts: '**/csit_current/**/*.*'
904 daysToKeep: '{build-days-to-keep}'
906 artifactDaysToKeep: '{build-artifact-days-to-keep}'
907 artifactNumToKeep: '{build-artifact-num-to-keep}'
916 - repo-name-parameter:
917 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
918 - gerrit-refspec-parameter
919 - gerrit-event-type-parameter
920 - gerrit-event-comment-text-parameter
921 - gerrit-csit-refspec-parameter
925 name: ARCHIVE_ARTIFACTS
926 default: '{archive-artifacts}'
927 description: Artifacts to archive to the logs server.
930 - gerrit-trigger-scm:
931 credentials-id: 'jenkins-gerrit-credentials'
932 refspec: '$GERRIT_REFSPEC'
933 choosing-strategy: 'gerrit'
936 - fdio-infra-wrappers:
943 skip-vote: '{skip-vote}'
948 - ../scripts/setup_vpp_ubuntu_docker_test.sh
951 - ../scripts/setup_vpp_dpdk_dev_env.sh
954 - ../scripts/vpp/parallel-vars.sh
957 - ../scripts/vpp/csit-device.sh
961 output-path: 'csit_current/'
963 - fdio-infra-shiplogs:
964 maven-version: 'mvn36'
967 name: 'vpp-csit-verify-perf-{stream}-{node-arch}'
976 project-type: freestyle
980 **/csit_current/**/*.*
981 **/csit_parent/**/*.*
985 daysToKeep: '{build-days-to-keep}'
987 artifactDaysToKeep: '{build-artifact-days-to-keep}'
988 artifactNumToKeep: '{build-artifact-num-to-keep}'
997 - repo-name-parameter:
998 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
999 - gerrit-refspec-parameter
1000 - gerrit-event-type-parameter
1001 - gerrit-event-comment-text-parameter
1002 - gerrit-csit-refspec-parameter
1003 - csit-perf-trial-duration-parameter:
1004 csit-perf-trial-duration: "10.0"
1005 - csit-perf-trial-multiplicity-parameter:
1006 csit-perf-trial-multiplicity: "5"
1010 name: ARCHIVE_ARTIFACTS
1011 default: '{archive-artifacts}'
1012 description: Artifacts to archive to the logs server.
1015 - gerrit-trigger-scm:
1016 credentials-id: 'jenkins-gerrit-credentials'
1017 refspec: '$GERRIT_REFSPEC'
1018 choosing-strategy: 'gerrit'
1021 - fdio-infra-wrappers-non-activity-timeout:
1025 - gerrit-trigger-csit-perftest:
1028 node-arch: '{node-arch}'
1032 !include-raw-escape:
1033 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1035 !include-raw-escape:
1036 - ../scripts/setup_vpp_dpdk_dev_env.sh
1038 !include-raw-escape:
1039 - ../scripts/vpp/csit-perf.sh
1043 output-path: 'csit_current/0/'
1045 - fdio-infra-shiplogs:
1046 maven-version: 'mvn36'
1049 name: 'vpp-csit-verify-api-crc-{stream}'
1051 project-type: freestyle
1054 archive-artifacts: ''
1058 daysToKeep: '{build-days-to-keep}'
1060 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1061 artifactNumToKeep: '{build-artifact-num-to-keep}'
1064 - project-parameter:
1065 project: '{project}'
1068 - gerrit-refspec-parameter
1069 - gerrit-csit-refspec-parameter
1073 name: ARCHIVE_ARTIFACTS
1074 default: '{archive-artifacts}'
1075 description: Artifacts to archive to the logs server.
1076 # Not sure whether not failing has any useful usage,
1077 # but it does not hurt to have some flexibility for future.
1078 - csit-fail-on-crc-mismatch-parameter:
1079 fail-on-crc-mismatch: 'True'
1082 - gerrit-trigger-scm:
1083 credentials-id: 'jenkins-gerrit-credentials'
1084 refspec: '$GERRIT_REFSPEC'
1085 choosing-strategy: 'gerrit'
1088 - fdio-infra-wrappers-non-activity-timeout:
1092 # TODO: Make other verify jobs trigger on success of this one,
1093 # without breaking verification for VPP branches before stable/1908.
1094 - gerrit-trigger-checkstyle:
1100 !include-raw-escape:
1101 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1103 !include-raw-escape:
1104 - ../scripts/vpp/check_crc.sh
1105 # TODO: Add sending e-mail notifications to vpp-api-dev@lists.fd.io
1108 - fdio-infra-shiplogs:
1109 maven-version: 'mvn36'