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'
29 - 'vpp-verify-{stream}-clang'
30 - 'vpp-coverity-{stream}'
35 repo-os-part: 'ubuntu.bionic.main'
37 repo-os-part: 'centos7'
39 repo-os-part: 'opensuse'
44 repo-stream-part: 'master'
49 - 'vpp-checkstyle-verify-{stream}'
54 repo-stream-part: 'master'
57 repo-stream-part: 'stable.1901'
60 repo-stream-part: 'stable.1904'
63 repo-stream-part: 'stable.1908'
69 - 'vpp-csit-verify-device-{stream}-{device-node-arch}'
70 - 'vpp-csit-verify-perf-{stream}-{node-arch}'
73 device-executor: 'vpp-csit-device'
76 trigger: 'gerrit-trigger-csit-devicetest-full'
80 repo-stream-part: 'master'
83 repo-stream-part: 'stable.1904'
86 repo-stream-part: 'stable.1908'
90 device-executor: 'vpp-csit-arm-ubuntu18'
91 trigger: 'gerrit-trigger-csit-devicetest-manual'
100 executor: 'ubuntu1804arm-s'
104 device-node-arch: '1n-tx2'
109 - 'vpp-historic-verify-{stream}-{os}'
110 - 'vpp-historic-merge-{stream}-{os}'
114 branch: 'stable/1901'
115 repo-stream-part: 'stable.1901'
117 branch: 'stable/1904'
118 repo-stream-part: 'stable.1904'
120 branch: 'stable/1908'
121 repo-stream-part: 'stable.1908'
124 repo-os-part: 'ubuntu.xenial.main'
129 - 'vpp-arm-verify-{stream}-{os}'
130 - 'vpp-arm-merge-{stream}-{os}'
135 repo-stream-part: 'master'
137 branch: 'stable/1901'
138 repo-stream-part: 'stable.1901'
140 branch: 'stable/1904'
141 repo-stream-part: 'stable.1904'
143 branch: 'stable/1908'
144 repo-stream-part: 'stable.1908'
147 repo-os-part: 'ubuntu-arm.bionic.main'
149 # TODO: Merge with (e.g.) vpp-perpatch or similar,
150 # when number of stable branches supported matches.
154 - 'vpp-csit-verify-api-crc-{stream}'
156 executor: 'vpp-csit-device'
159 # TODO: Add stable/1908 when it is created.
168 - gerrit-info-yaml-verify
169 build-node: centos7-builder-4c-4g
180 name: 'vpp-historic-verify-{stream}-{os}'
182 project-type: freestyle
185 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
188 - gerrit-trigger-checkstyle:
193 daysToKeep: '{build-days-to-keep}'
195 artifactDaysToKeep: '{build-artifact-days-to-keep}'
196 artifactNumToKeep: '{build-artifact-num-to-keep}'
205 - repo-name-parameter:
206 repo-name: '{repo-stream-part}.{repo-os-part}'
210 name: ARCHIVE_ARTIFACTS
211 default: '{archive-artifacts}'
212 description: Artifacts to archive to the logs server.
215 - gerrit-trigger-scm:
216 credentials-id: 'jenkins-gerrit-credentials'
217 refspec: '$GERRIT_REFSPEC'
218 choosing-strategy: 'gerrit'
221 - fdio-infra-wrappers:
227 - ../scripts/setup_vpp_ubuntu_docker_test.sh
230 - ../scripts/setup_vpp_dpdk_dev_env.sh
233 - ../scripts/vpp/build.sh
236 - fdio-infra-shiplogs:
237 maven-version: 'mvn36'
239 rerun-unstable-builds: false
244 name: 'vpp-historic-merge-{stream}-{os}'
246 project-type: freestyle
250 daysToKeep: '{build-days-to-keep}'
252 artifactDaysToKeep: '{build-artifact-days-to-keep}'
253 artifactNumToKeep: '{build-artifact-num-to-keep}'
262 - maven-project-parameter:
265 maven-version: 'mvn33-new'
268 - repo-name-parameter:
269 repo-name: '{repo-stream-part}.{repo-os-part}'
271 name: ARCHIVE_ARTIFACTS
272 default: '{archive-artifacts}'
273 description: Artifacts to archive to the logs server.
276 - gerrit-trigger-scm:
277 credentials-id: 'jenkins-gerrit-credentials'
279 choosing-strategy: 'default'
282 - fdio-infra-wrappers:
286 - gerrit-trigger-patch-merged:
291 - config-file-provider:
293 - file-id: '.packagecloud'
295 - config-file-provider:
297 - file-id: 'packagecloud_api'
301 - ../scripts/setup_vpp_ubuntu_docker_test.sh
304 - ../scripts/setup_vpp_dpdk_dev_env.sh
307 - ../scripts/vpp/build.sh
308 - provide-maven-settings:
309 settings-file: 'vpp-settings'
310 global-settings-file: 'global-settings'
313 - ../scripts/packagecloud_push.sh
316 - fdio-infra-shiplogs:
317 maven-version: 'mvn36'
320 name: 'vpp-arm-verify-{stream}-{os}'
322 project-type: freestyle
325 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
328 daysToKeep: '{build-days-to-keep}'
330 artifactDaysToKeep: '{build-artifact-days-to-keep}'
331 artifactNumToKeep: '{build-artifact-num-to-keep}'
340 - repo-name-parameter:
341 repo-name: '{repo-stream-part}.{repo-os-part}'
345 name: ARCHIVE_ARTIFACTS
346 default: '{archive-artifacts}'
347 description: Artifacts to archive to the logs server.
350 - gerrit-trigger-scm:
351 credentials-id: 'jenkins-gerrit-credentials'
352 refspec: '$GERRIT_REFSPEC'
353 choosing-strategy: 'gerrit'
356 - fdio-infra-wrappers:
360 - gerrit-trigger-checkstyle:
367 - ../scripts/setup_vpp_ubuntu_arm_test.sh
370 - ../scripts/setup_vpp_dpdk_dev_env.sh
373 - ../scripts/vpp/parallel-vars.sh
376 - ../scripts/vpp/arm-build.sh
379 - fdio-infra-shiplogs:
380 maven-version: 'mvn36'
382 rerun-unstable-builds: false
387 name: 'vpp-arm-merge-{stream}-{os}'
389 project-type: freestyle
393 daysToKeep: '{build-days-to-keep}'
395 artifactDaysToKeep: '{build-artifact-days-to-keep}'
396 artifactNumToKeep: '{build-artifact-num-to-keep}'
405 - maven-project-parameter:
408 maven-version: 'mvn33-new'
411 - repo-name-parameter:
412 repo-name: '{repo-stream-part}.{repo-os-part}'
414 name: ARCHIVE_ARTIFACTS
415 default: '{archive-artifacts}'
416 description: Artifacts to archive to the logs server.
419 - gerrit-trigger-scm:
420 credentials-id: 'jenkins-gerrit-credentials'
422 choosing-strategy: 'default'
425 - fdio-infra-wrappers:
429 - gerrit-trigger-patch-merged:
434 - config-file-provider:
436 - file-id: '.packagecloud'
438 - config-file-provider:
440 - file-id: 'packagecloud_api'
444 - ../scripts/setup_vpp_ubuntu_arm_test.sh
447 - ../scripts/setup_vpp_dpdk_dev_env.sh
450 - ../scripts/vpp/parallel-vars.sh
453 - ../scripts/vpp/arm-build-no-test.sh
455 - provide-maven-settings:
456 settings-file: 'vpp-settings'
457 global-settings-file: 'global-settings'
460 - ../scripts/packagecloud_push.sh
463 - fdio-infra-shiplogs:
464 maven-version: 'mvn36'
467 name: 'vpp-checkstyle-verify-{stream}'
469 project-type: freestyle
472 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
475 daysToKeep: '{build-days-to-keep}'
476 numToKeep: '{build-num-to-keep}'
477 artifactDaysToKeep: '{build-artifact-days-to-keep}'
478 artifactNumToKeep: '{build-artifact-num-to-keep}'
487 - repo-name-parameter:
488 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
491 - gerrit-trigger-scm:
492 credentials-id: 'jenkins-gerrit-credentials'
493 refspec: '$GERRIT_REFSPEC'
494 choosing-strategy: 'gerrit'
497 - fdio-infra-wrappers:
498 build-timeout: '{build-timeout}'
502 server-name: 'Primary'
504 - patchset-created-event:
505 exclude-drafts: 'true'
506 exclude-trivial-rebase: 'false'
507 exclude-no-code-change: 'false'
508 - draft-published-event
509 - comment-added-contains-event:
510 comment-contains-value: 'checkstylecheck'
511 - comment-added-contains-event:
512 comment-contains-value: 'docsonly'
513 - comment-added-contains-event:
514 comment-contains-value: 'recheck'
515 - comment-added-contains-event:
516 comment-contains-value: 'reverify'
517 # Following two are to cover missing functions of drafts going to review status
518 - comment-added-contains-event:
519 comment-contains-value: 'runtest'
520 - comment-added-contains-event:
521 comment-contains-value: 'This change is ready for review'
523 - project-compare-type: 'ANT'
524 project-pattern: '{project}'
526 - branch-compare-type: 'ANT'
527 branch-pattern: '**/{branch}'
529 - compare-type: REG_EXP
530 pattern: ^((?!\/COMMIT_MSG|docs|_abc|_def[\/\.]).)*$
531 forbidden-file-paths:
532 - compare-type: REG_EXP
534 - compare-type: REG_EXP
535 pattern: .*extras\/emacs\/.*
536 disable-strict-forbidden-file-verification: 'true'
538 gerrit-build-notbuilt-verified-value: 0
539 gerrit-build-successful-verified-value: 1
540 # yamllint disable-line rule:line-length
541 notbuilt-message: 'Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes.'
542 # yamllint disable-line rule:line-length
543 failed-message: 'Checkstyle failed. No further verify jobs will be started.'
544 successful-message: 'checkstyle_success'
554 - ../scripts/vpp/checkstyle.sh
557 - ../scripts/vpp/test-checkstyle.sh
560 - ../scripts/vpp/commitmsg.sh
563 - fdio-infra-shiplogs:
564 maven-version: 'mvn36'
566 rerun-unstable-builds: true
571 name: 'vpp-verify-{stream}-{os}'
573 project-type: freestyle
576 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
579 daysToKeep: '{build-days-to-keep}'
581 artifactDaysToKeep: '{build-artifact-days-to-keep}'
582 artifactNumToKeep: '{build-artifact-num-to-keep}'
591 - repo-name-parameter:
592 repo-name: '{repo-stream-part}.{repo-os-part}'
596 name: ARCHIVE_ARTIFACTS
597 default: '{archive-artifacts}'
598 description: Artifacts to archive to the logs server.
601 - gerrit-trigger-scm:
602 credentials-id: 'jenkins-gerrit-credentials'
603 refspec: '$GERRIT_REFSPEC'
604 choosing-strategy: 'gerrit'
607 - fdio-infra-wrappers:
611 - gerrit-trigger-checkstyle:
618 - ../scripts/setup_vpp_ubuntu_docker_test.sh
621 - ../scripts/setup_vpp_dpdk_dev_env.sh
624 - ../scripts/vpp/build.sh
627 - fdio-infra-shiplogs:
628 maven-version: 'mvn36'
630 rerun-unstable-builds: false
635 name: 'vpp-verify-{stream}-clang'
637 project-type: freestyle
638 node: 'ubuntu1804-us'
640 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
643 daysToKeep: '{build-days-to-keep}'
644 numToKeep: '{build-num-to-keep}'
645 artifactDaysToKeep: '{build-artifact-days-to-keep}'
646 artifactNumToKeep: '{build-artifact-num-to-keep}'
655 - repo-name-parameter:
656 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
661 - gerrit-trigger-scm:
662 credentials-id: 'jenkins-gerrit-credentials'
663 refspec: '$GERRIT_REFSPEC'
664 choosing-strategy: 'gerrit'
667 - fdio-infra-wrappers:
668 build-timeout: '{build-timeout}'
671 - gerrit-trigger-checkstyle:
678 - ../scripts/setup_vpp_ubuntu_docker_test.sh
681 - ../scripts/setup_vpp_dpdk_dev_env.sh
684 - ../scripts/vpp/clang-build.sh
687 - fdio-infra-shiplogs:
688 maven-version: 'mvn36'
690 rerun-unstable-builds: false
695 name: 'vpp-coverity-{stream}'
697 project-type: freestyle
698 node: 'ubuntu1804-us'
700 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
703 daysToKeep: '{build-days-to-keep}'
704 numToKeep: '{build-num-to-keep}'
705 artifactDaysToKeep: '{build-artifact-days-to-keep}'
706 artifactNumToKeep: '{build-artifact-num-to-keep}'
715 - repo-name-parameter:
716 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
721 - gerrit-trigger-scm:
722 credentials-id: 'jenkins-gerrit-credentials'
724 choosing-strategy: 'gerrit'
727 - fdio-infra-wrappers:
728 build-timeout: '{build-timeout}'
731 - timed: '0 14 * * *'
735 command: !include-raw-escape: ../scripts/vpp/coverity.sh
740 # yamllint disable-line rule:line-length
741 recipients: 'ejk@cisco.com'
744 subject: 'Coverity run passing as of $BUILD_TIMESTAMP'
745 # yamllint disable-line rule:line-length
747 Coverity run passing.
749 ${{FILE,path="output.txt"}}
753 # yamllint disable-line rule:line-length
754 recipients: 'ejk@cisco.com'
757 subject: 'Coverity run UNSTABLE as of $BUILD_TIMESTAMP'
758 # yamllint disable-line rule:line-length
760 Coverity run UNSTABLE.
762 Something went wrong with daily scan.
766 # yamllint disable-line rule:line-length
767 recipients: 'vpp-dev@lists.fd.io, ejk@cisco.com'
770 subject: 'Coverity run FAILED as of $BUILD_TIMESTAMP'
771 # yamllint disable-line rule:line-length
773 Coverity run failed today.
775 ${{FILE,path="output.txt"}}
778 # yamllint disable-line rule:line-length
779 recipients: 'vpp-dev@lists.fd.io, ejk@cisco.com'
782 subject: 'Coverity run as of $BUILD_TIMESTAMP'
783 # yamllint disable-line rule:line-length
785 Coverity run fixed today.
787 ${{FILE,path="output.txt"}}
790 - fdio-infra-shiplogs:
791 maven-version: 'mvn36'
794 name: 'vpp-merge-{stream}-{os}'
796 project-type: freestyle
800 daysToKeep: '{build-days-to-keep}'
802 artifactDaysToKeep: '{build-artifact-days-to-keep}'
803 artifactNumToKeep: '{build-artifact-num-to-keep}'
812 - maven-project-parameter:
815 maven-version: 'mvn33-new'
818 - repo-name-parameter:
819 repo-name: '{repo-stream-part}.{repo-os-part}'
821 name: ARCHIVE_ARTIFACTS
822 default: '{archive-artifacts}'
823 description: Artifacts to archive to the logs server.
826 - gerrit-trigger-scm:
827 credentials-id: 'jenkins-gerrit-credentials'
829 choosing-strategy: 'default'
832 - fdio-infra-wrappers:
833 build-timeout: '{build-timeout}'
836 - gerrit-trigger-patch-merged:
841 - config-file-provider:
843 - file-id: '.packagecloud'
845 - config-file-provider:
847 - file-id: 'packagecloud_api'
851 - ../scripts/vpp/checkstyle.sh
854 - ../scripts/setup_vpp_ubuntu_docker_test.sh
857 - ../scripts/setup_vpp_dpdk_dev_env.sh
860 - ../scripts/vpp/build.sh
861 - provide-maven-settings:
862 settings-file: 'vpp-settings'
863 global-settings-file: 'global-settings'
866 - ../scripts/packagecloud_push.sh
869 - fdio-infra-shiplogs:
870 maven-version: 'mvn36'
872 rerun-unstable-builds: false
877 name: 'vpp-csit-verify-device-{stream}-{device-node-arch}'
882 <li>{device-executor}
886 project-type: freestyle
887 node: '{device-executor}'
889 archive-artifacts: '**/csit_current/**/*.*'
893 daysToKeep: '{build-days-to-keep}'
895 artifactDaysToKeep: '{build-artifact-days-to-keep}'
896 artifactNumToKeep: '{build-artifact-num-to-keep}'
905 - repo-name-parameter:
906 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
907 - gerrit-refspec-parameter
908 - gerrit-event-type-parameter
909 - gerrit-event-comment-text-parameter
910 - gerrit-csit-refspec-parameter
914 name: ARCHIVE_ARTIFACTS
915 default: '{archive-artifacts}'
916 description: Artifacts to archive to the logs server.
919 - gerrit-trigger-scm:
920 credentials-id: 'jenkins-gerrit-credentials'
921 refspec: '$GERRIT_REFSPEC'
922 choosing-strategy: 'gerrit'
925 - fdio-infra-wrappers:
932 skip-vote: '{skip-vote}'
937 - ../scripts/setup_vpp_ubuntu_docker_test.sh
940 - ../scripts/setup_vpp_dpdk_dev_env.sh
943 - ../scripts/vpp/parallel-vars.sh
946 - ../scripts/vpp/csit-device.sh
950 output-path: 'csit_current/'
952 - fdio-infra-shiplogs:
953 maven-version: 'mvn36'
956 name: 'vpp-csit-verify-perf-{stream}-{node-arch}'
965 project-type: freestyle
969 **/csit_current/**/*.*
970 **/csit_parent/**/*.*
974 daysToKeep: '{build-days-to-keep}'
976 artifactDaysToKeep: '{build-artifact-days-to-keep}'
977 artifactNumToKeep: '{build-artifact-num-to-keep}'
986 - repo-name-parameter:
987 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
988 - gerrit-refspec-parameter
989 - gerrit-event-type-parameter
990 - gerrit-event-comment-text-parameter
991 - gerrit-csit-refspec-parameter
992 - csit-perf-trial-duration-parameter:
993 csit-perf-trial-duration: "10.0"
994 - csit-perf-trial-multiplicity-parameter:
995 csit-perf-trial-multiplicity: "5"
999 name: ARCHIVE_ARTIFACTS
1000 default: '{archive-artifacts}'
1001 description: Artifacts to archive to the logs server.
1004 - gerrit-trigger-scm:
1005 credentials-id: 'jenkins-gerrit-credentials'
1006 refspec: '$GERRIT_REFSPEC'
1007 choosing-strategy: 'gerrit'
1010 - fdio-infra-wrappers-non-activity-timeout:
1014 - gerrit-trigger-csit-perftest:
1017 node-arch: '{node-arch}'
1021 !include-raw-escape:
1022 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1024 !include-raw-escape:
1025 - ../scripts/setup_vpp_dpdk_dev_env.sh
1027 !include-raw-escape:
1028 - ../scripts/vpp/csit-perf.sh
1032 output-path: 'csit_current/0/'
1034 - fdio-infra-shiplogs:
1035 maven-version: 'mvn36'
1038 name: 'vpp-csit-verify-api-crc-{stream}'
1040 project-type: freestyle
1043 archive-artifacts: ''
1047 daysToKeep: '{build-days-to-keep}'
1049 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1050 artifactNumToKeep: '{build-artifact-num-to-keep}'
1053 - project-parameter:
1054 project: '{project}'
1057 - gerrit-refspec-parameter
1058 - gerrit-csit-refspec-parameter
1062 name: ARCHIVE_ARTIFACTS
1063 default: '{archive-artifacts}'
1064 description: Artifacts to archive to the logs server.
1065 # Not sure whether not failing has any useful usage,
1066 # but it does not hurt to have some flexibility for future.
1067 - csit-fail-on-crc-mismatch-parameter:
1068 fail-on-crc-mismatch: 'True'
1071 - gerrit-trigger-scm:
1072 credentials-id: 'jenkins-gerrit-credentials'
1073 refspec: '$GERRIT_REFSPEC'
1074 choosing-strategy: 'gerrit'
1077 - fdio-infra-wrappers-non-activity-timeout:
1081 # TODO: Make other verify jobs trigger on success of this one,
1082 # without breaking verification for VPP branches before stable/1908.
1083 - gerrit-trigger-checkstyle:
1089 !include-raw-escape:
1090 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1092 !include-raw-escape:
1093 - ../scripts/vpp/check_crc.sh
1094 # TODO: Add sending e-mail notifications to vpp-api-dev@lists.fd.io
1097 - fdio-infra-shiplogs:
1098 maven-version: 'mvn36'