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
391 - ../scripts/vpp/arm-build.sh
394 - fdio-infra-shiplogs:
395 maven-version: 'mvn36'
397 rerun-unstable-builds: false
402 name: 'vpp-arm-merge-{stream}-{os}'
404 project-type: freestyle
408 daysToKeep: '{build-days-to-keep}'
410 artifactDaysToKeep: '{build-artifact-days-to-keep}'
411 artifactNumToKeep: '{build-artifact-num-to-keep}'
420 - maven-project-parameter:
423 maven-version: 'mvn33-new'
426 - repo-name-parameter:
427 repo-name: '{repo-stream-part}.{repo-os-part}'
429 name: ARCHIVE_ARTIFACTS
430 default: '{archive-artifacts}'
431 description: Artifacts to archive to the logs server.
434 - gerrit-trigger-scm:
435 credentials-id: 'jenkins-gerrit-credentials'
437 choosing-strategy: 'default'
440 - fdio-infra-wrappers:
444 - gerrit-trigger-patch-merged:
449 - config-file-provider:
451 - file-id: '.packagecloud'
453 - config-file-provider:
455 - file-id: 'packagecloud_api'
459 - ../scripts/setup_vpp_ubuntu_arm_test.sh
462 - ../scripts/setup_vpp_dpdk_dev_env.sh
465 - ../scripts/vpp/parallel-vars.sh
468 - ../scripts/vpp/arm-build-no-test.sh
470 - provide-maven-settings:
471 settings-file: 'vpp-settings'
472 global-settings-file: 'global-settings'
475 - ../scripts/packagecloud_push.sh
478 - fdio-infra-shiplogs:
479 maven-version: 'mvn36'
482 name: 'vpp-checkstyle-verify-{stream}'
484 project-type: freestyle
487 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
490 daysToKeep: '{build-days-to-keep}'
491 numToKeep: '{build-num-to-keep}'
492 artifactDaysToKeep: '{build-artifact-days-to-keep}'
493 artifactNumToKeep: '{build-artifact-num-to-keep}'
502 - repo-name-parameter:
503 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
506 - gerrit-trigger-scm:
507 credentials-id: 'jenkins-gerrit-credentials'
508 refspec: '$GERRIT_REFSPEC'
509 choosing-strategy: 'gerrit'
512 - fdio-infra-wrappers:
513 build-timeout: '{build-timeout}'
517 server-name: 'Primary'
519 - patchset-created-event:
520 exclude-drafts: 'true'
521 exclude-trivial-rebase: 'false'
522 exclude-no-code-change: 'false'
523 - draft-published-event
524 - comment-added-contains-event:
525 comment-contains-value: 'checkstylecheck'
526 - comment-added-contains-event:
527 comment-contains-value: 'docsonly'
528 - comment-added-contains-event:
529 comment-contains-value: 'recheck'
530 - comment-added-contains-event:
531 comment-contains-value: 'reverify'
532 # Following two are to cover missing functions of drafts going to review status
533 - comment-added-contains-event:
534 comment-contains-value: 'runtest'
535 - comment-added-contains-event:
536 comment-contains-value: 'This change is ready for review'
538 - project-compare-type: 'ANT'
539 project-pattern: '{project}'
541 - branch-compare-type: 'ANT'
542 branch-pattern: '**/{branch}'
544 - compare-type: REG_EXP
545 pattern: ^((?!\/COMMIT_MSG|docs|_abc|_def[\/\.]).)*$
546 forbidden-file-paths:
547 - compare-type: REG_EXP
549 - compare-type: REG_EXP
550 pattern: .*extras\/emacs\/.*
551 disable-strict-forbidden-file-verification: 'true'
553 gerrit-build-notbuilt-verified-value: 0
554 gerrit-build-successful-verified-value: 1
555 # yamllint disable-line rule:line-length
556 notbuilt-message: 'Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes.'
557 # yamllint disable-line rule:line-length
558 failed-message: 'Checkstyle failed. No further verify jobs will be started.'
559 successful-message: 'checkstyle_success'
569 - ../scripts/vpp/checkstyle.sh
572 - ../scripts/vpp/test-checkstyle.sh
575 - ../scripts/vpp/commitmsg.sh
578 - fdio-infra-shiplogs:
579 maven-version: 'mvn36'
581 rerun-unstable-builds: true
586 name: 'vpp-verify-{stream}-{os}'
588 project-type: freestyle
591 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
594 daysToKeep: '{build-days-to-keep}'
596 artifactDaysToKeep: '{build-artifact-days-to-keep}'
597 artifactNumToKeep: '{build-artifact-num-to-keep}'
606 - repo-name-parameter:
607 repo-name: '{repo-stream-part}.{repo-os-part}'
611 name: ARCHIVE_ARTIFACTS
612 default: '{archive-artifacts}'
613 description: Artifacts to archive to the logs server.
616 - gerrit-trigger-scm:
617 credentials-id: 'jenkins-gerrit-credentials'
618 refspec: '$GERRIT_REFSPEC'
619 choosing-strategy: 'gerrit'
622 - fdio-infra-wrappers:
626 - gerrit-trigger-checkstyle:
633 - ../scripts/setup_vpp_ubuntu_docker_test.sh
636 - ../scripts/setup_vpp_dpdk_dev_env.sh
639 - ../scripts/vpp/build.sh
642 - fdio-infra-shiplogs:
643 maven-version: 'mvn36'
645 rerun-unstable-builds: false
650 name: 'vpp-verify-{stream}-clang'
652 project-type: freestyle
653 node: 'ubuntu1804-us'
655 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
658 daysToKeep: '{build-days-to-keep}'
659 numToKeep: '{build-num-to-keep}'
660 artifactDaysToKeep: '{build-artifact-days-to-keep}'
661 artifactNumToKeep: '{build-artifact-num-to-keep}'
670 - repo-name-parameter:
671 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
676 - gerrit-trigger-scm:
677 credentials-id: 'jenkins-gerrit-credentials'
678 refspec: '$GERRIT_REFSPEC'
679 choosing-strategy: 'gerrit'
682 - fdio-infra-wrappers:
683 build-timeout: '{build-timeout}'
686 - gerrit-trigger-checkstyle:
693 - ../scripts/setup_vpp_ubuntu_docker_test.sh
696 - ../scripts/setup_vpp_dpdk_dev_env.sh
699 - ../scripts/vpp/clang-build.sh
702 - fdio-infra-shiplogs:
703 maven-version: 'mvn36'
705 rerun-unstable-builds: false
710 name: 'vpp-coverity-{stream}'
712 project-type: freestyle
713 node: 'ubuntu1804-us'
715 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
718 daysToKeep: '{build-days-to-keep}'
719 numToKeep: '{build-num-to-keep}'
720 artifactDaysToKeep: '{build-artifact-days-to-keep}'
721 artifactNumToKeep: '{build-artifact-num-to-keep}'
730 - repo-name-parameter:
731 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
736 - gerrit-trigger-scm:
737 credentials-id: 'jenkins-gerrit-credentials'
739 choosing-strategy: 'gerrit'
742 - fdio-infra-wrappers:
743 build-timeout: '{build-timeout}'
746 - timed: '0 14 * * *'
750 command: !include-raw-escape: ../scripts/vpp/coverity.sh
755 # yamllint disable-line rule:line-length
756 recipients: 'ejk@cisco.com'
759 subject: 'Coverity run passing as of $BUILD_TIMESTAMP'
760 # yamllint disable-line rule:line-length
762 Coverity run passing.
764 ${{FILE,path="output.txt"}}
768 # yamllint disable-line rule:line-length
769 recipients: 'ejk@cisco.com'
772 subject: 'Coverity run UNSTABLE as of $BUILD_TIMESTAMP'
773 # yamllint disable-line rule:line-length
775 Coverity run UNSTABLE.
777 Something went wrong with daily scan.
781 # yamllint disable-line rule:line-length
782 recipients: 'vpp-dev@lists.fd.io, ejk@cisco.com'
785 subject: 'Coverity run FAILED as of $BUILD_TIMESTAMP'
786 # yamllint disable-line rule:line-length
788 Coverity run failed today.
790 ${{FILE,path="output.txt"}}
793 # yamllint disable-line rule:line-length
794 recipients: 'vpp-dev@lists.fd.io, ejk@cisco.com'
797 subject: 'Coverity run as of $BUILD_TIMESTAMP'
798 # yamllint disable-line rule:line-length
800 Coverity run fixed today.
802 ${{FILE,path="output.txt"}}
805 - fdio-infra-shiplogs:
806 maven-version: 'mvn36'
809 name: 'vpp-merge-{stream}-{os}'
811 project-type: freestyle
815 daysToKeep: '{build-days-to-keep}'
817 artifactDaysToKeep: '{build-artifact-days-to-keep}'
818 artifactNumToKeep: '{build-artifact-num-to-keep}'
827 - maven-project-parameter:
830 maven-version: 'mvn33-new'
833 - repo-name-parameter:
834 repo-name: '{repo-stream-part}.{repo-os-part}'
836 name: ARCHIVE_ARTIFACTS
837 default: '{archive-artifacts}'
838 description: Artifacts to archive to the logs server.
841 - gerrit-trigger-scm:
842 credentials-id: 'jenkins-gerrit-credentials'
844 choosing-strategy: 'default'
847 - fdio-infra-wrappers:
848 build-timeout: '{build-timeout}'
851 - gerrit-trigger-patch-merged:
856 - config-file-provider:
858 - file-id: '.packagecloud'
860 - config-file-provider:
862 - file-id: 'packagecloud_api'
866 - ../scripts/vpp/checkstyle.sh
869 - ../scripts/setup_vpp_ubuntu_docker_test.sh
872 - ../scripts/setup_vpp_dpdk_dev_env.sh
875 - ../scripts/vpp/build.sh
876 - provide-maven-settings:
877 settings-file: 'vpp-settings'
878 global-settings-file: 'global-settings'
881 - ../scripts/packagecloud_push.sh
884 - fdio-infra-shiplogs:
885 maven-version: 'mvn36'
887 rerun-unstable-builds: false
892 name: 'vpp-csit-verify-device-{stream}-{device-node-arch}'
897 <li>{device-executor}
901 project-type: freestyle
902 node: '{device-executor}'
904 archive-artifacts: '**/csit_current/**/*.*'
908 daysToKeep: '{build-days-to-keep}'
910 artifactDaysToKeep: '{build-artifact-days-to-keep}'
911 artifactNumToKeep: '{build-artifact-num-to-keep}'
920 - repo-name-parameter:
921 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
922 - gerrit-refspec-parameter
923 - gerrit-event-type-parameter
924 - gerrit-event-comment-text-parameter
925 - gerrit-csit-refspec-parameter
929 name: ARCHIVE_ARTIFACTS
930 default: '{archive-artifacts}'
931 description: Artifacts to archive to the logs server.
934 - gerrit-trigger-scm:
935 credentials-id: 'jenkins-gerrit-credentials'
936 refspec: '$GERRIT_REFSPEC'
937 choosing-strategy: 'gerrit'
940 - fdio-infra-wrappers:
947 skip-vote: '{skip-vote}'
952 - ../scripts/setup_vpp_ubuntu_docker_test.sh
955 - ../scripts/setup_vpp_dpdk_dev_env.sh
958 - ../scripts/vpp/parallel-vars.sh
961 - ../scripts/vpp/csit-device.sh
965 output-path: 'csit_current/'
967 - fdio-infra-shiplogs:
968 maven-version: 'mvn36'
971 name: 'vpp-csit-verify-perf-{stream}-{node-arch}'
980 project-type: freestyle
984 **/csit_current/**/*.*
985 **/csit_parent/**/*.*
989 daysToKeep: '{build-days-to-keep}'
991 artifactDaysToKeep: '{build-artifact-days-to-keep}'
992 artifactNumToKeep: '{build-artifact-num-to-keep}'
1001 - repo-name-parameter:
1002 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
1003 - gerrit-refspec-parameter
1004 - gerrit-event-type-parameter
1005 - gerrit-event-comment-text-parameter
1006 - gerrit-csit-refspec-parameter
1007 - csit-perf-trial-duration-parameter:
1008 csit-perf-trial-duration: "10.0"
1009 - csit-perf-trial-multiplicity-parameter:
1010 csit-perf-trial-multiplicity: "5"
1014 name: ARCHIVE_ARTIFACTS
1015 default: '{archive-artifacts}'
1016 description: Artifacts to archive to the logs server.
1019 - gerrit-trigger-scm:
1020 credentials-id: 'jenkins-gerrit-credentials'
1021 refspec: '$GERRIT_REFSPEC'
1022 choosing-strategy: 'gerrit'
1025 - fdio-infra-wrappers-non-activity-timeout:
1029 - gerrit-trigger-csit-perftest:
1032 node-arch: '{node-arch}'
1036 !include-raw-escape:
1037 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1039 !include-raw-escape:
1040 - ../scripts/setup_vpp_dpdk_dev_env.sh
1042 !include-raw-escape:
1043 - ../scripts/vpp/csit-perf.sh
1047 output-path: 'csit_current/0/'
1049 - fdio-infra-shiplogs:
1050 maven-version: 'mvn36'
1053 name: 'vpp-csit-verify-api-crc-{stream}'
1055 project-type: freestyle
1058 archive-artifacts: ''
1062 daysToKeep: '{build-days-to-keep}'
1064 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1065 artifactNumToKeep: '{build-artifact-num-to-keep}'
1068 - project-parameter:
1069 project: '{project}'
1072 - gerrit-refspec-parameter
1073 - gerrit-csit-refspec-parameter
1077 name: ARCHIVE_ARTIFACTS
1078 default: '{archive-artifacts}'
1079 description: Artifacts to archive to the logs server.
1080 # Not sure whether not failing has any useful usage,
1081 # but it does not hurt to have some flexibility for future.
1082 - csit-fail-on-crc-mismatch-parameter:
1083 fail-on-crc-mismatch: 'True'
1086 - gerrit-trigger-scm:
1087 credentials-id: 'jenkins-gerrit-credentials'
1088 refspec: '$GERRIT_REFSPEC'
1089 choosing-strategy: 'gerrit'
1092 - fdio-infra-wrappers-non-activity-timeout:
1096 # TODO: Make other verify jobs trigger on success of this one,
1097 # without breaking verification for VPP branches before stable/1908.
1098 - gerrit-trigger-checkstyle:
1104 !include-raw-escape:
1105 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1107 !include-raw-escape:
1108 - ../scripts/vpp/check_crc.sh
1109 # TODO: Add sending e-mail notifications to vpp-api-dev@lists.fd.io
1112 - fdio-infra-shiplogs:
1113 maven-version: 'mvn36'