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 # Do not split, the line below wants env vars from the line above.
390 - ../scripts/vpp/arm-build.sh
393 - fdio-infra-shiplogs:
394 maven-version: 'mvn36'
396 rerun-unstable-builds: false
401 name: 'vpp-arm-merge-{stream}-{os}'
403 project-type: freestyle
407 daysToKeep: '{build-days-to-keep}'
409 artifactDaysToKeep: '{build-artifact-days-to-keep}'
410 artifactNumToKeep: '{build-artifact-num-to-keep}'
419 - maven-project-parameter:
422 maven-version: 'mvn33-new'
425 - repo-name-parameter:
426 repo-name: '{repo-stream-part}.{repo-os-part}'
428 name: ARCHIVE_ARTIFACTS
429 default: '{archive-artifacts}'
430 description: Artifacts to archive to the logs server.
433 - gerrit-trigger-scm:
434 credentials-id: 'jenkins-gerrit-credentials'
436 choosing-strategy: 'default'
439 - fdio-infra-wrappers:
443 - gerrit-trigger-patch-merged:
448 - config-file-provider:
450 - file-id: '.packagecloud'
452 - config-file-provider:
454 - file-id: 'packagecloud_api'
458 - ../scripts/setup_vpp_ubuntu_arm_test.sh
461 - ../scripts/setup_vpp_dpdk_dev_env.sh
464 - ../scripts/vpp/parallel-vars.sh
465 # Do not split, the line below wants env vars from the line above.
466 - ../scripts/vpp/arm-build-no-test.sh
468 - provide-maven-settings:
469 settings-file: 'vpp-settings'
470 global-settings-file: 'global-settings'
473 - ../scripts/packagecloud_push.sh
476 - fdio-infra-shiplogs:
477 maven-version: 'mvn36'
480 name: 'vpp-checkstyle-verify-{stream}'
482 project-type: freestyle
485 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
488 daysToKeep: '{build-days-to-keep}'
489 numToKeep: '{build-num-to-keep}'
490 artifactDaysToKeep: '{build-artifact-days-to-keep}'
491 artifactNumToKeep: '{build-artifact-num-to-keep}'
500 - repo-name-parameter:
501 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
504 - gerrit-trigger-scm:
505 credentials-id: 'jenkins-gerrit-credentials'
506 refspec: '$GERRIT_REFSPEC'
507 choosing-strategy: 'gerrit'
510 - fdio-infra-wrappers:
511 build-timeout: '{build-timeout}'
515 server-name: 'Primary'
517 - patchset-created-event:
518 exclude-drafts: 'true'
519 exclude-trivial-rebase: 'false'
520 exclude-no-code-change: 'false'
521 - draft-published-event
522 - comment-added-contains-event:
523 comment-contains-value: 'checkstylecheck'
524 - comment-added-contains-event:
525 comment-contains-value: 'docsonly'
526 - comment-added-contains-event:
527 comment-contains-value: 'recheck'
528 - comment-added-contains-event:
529 comment-contains-value: 'reverify'
530 # Following two are to cover missing functions of drafts going to review status
531 - comment-added-contains-event:
532 comment-contains-value: 'runtest'
533 - comment-added-contains-event:
534 comment-contains-value: 'This change is ready for review'
536 - project-compare-type: 'ANT'
537 project-pattern: '{project}'
539 - branch-compare-type: 'ANT'
540 branch-pattern: '**/{branch}'
542 - compare-type: REG_EXP
543 pattern: ^((?!\/COMMIT_MSG|docs|_abc|_def[\/\.]).)*$
544 forbidden-file-paths:
545 - compare-type: REG_EXP
547 - compare-type: REG_EXP
548 pattern: .*extras\/emacs\/.*
549 disable-strict-forbidden-file-verification: 'true'
551 gerrit-build-notbuilt-verified-value: 0
552 gerrit-build-successful-verified-value: 1
553 # yamllint disable-line rule:line-length
554 notbuilt-message: 'Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes.'
555 # yamllint disable-line rule:line-length
556 failed-message: 'Checkstyle failed. No further verify jobs will be started.'
557 successful-message: 'checkstyle_success'
567 - ../scripts/vpp/checkstyle.sh
570 - ../scripts/vpp/test-checkstyle.sh
573 - ../scripts/vpp/commitmsg.sh
576 - fdio-infra-shiplogs:
577 maven-version: 'mvn36'
579 rerun-unstable-builds: true
584 name: 'vpp-verify-{stream}-{os}'
586 project-type: freestyle
589 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
592 daysToKeep: '{build-days-to-keep}'
594 artifactDaysToKeep: '{build-artifact-days-to-keep}'
595 artifactNumToKeep: '{build-artifact-num-to-keep}'
604 - repo-name-parameter:
605 repo-name: '{repo-stream-part}.{repo-os-part}'
609 name: ARCHIVE_ARTIFACTS
610 default: '{archive-artifacts}'
611 description: Artifacts to archive to the logs server.
614 - gerrit-trigger-scm:
615 credentials-id: 'jenkins-gerrit-credentials'
616 refspec: '$GERRIT_REFSPEC'
617 choosing-strategy: 'gerrit'
620 - fdio-infra-wrappers:
624 - gerrit-trigger-checkstyle:
631 - ../scripts/setup_vpp_ubuntu_docker_test.sh
634 - ../scripts/setup_vpp_dpdk_dev_env.sh
637 - ../scripts/vpp/build.sh
640 - fdio-infra-shiplogs:
641 maven-version: 'mvn36'
643 rerun-unstable-builds: false
648 name: 'vpp-verify-{stream}-clang'
650 project-type: freestyle
651 node: 'ubuntu1804-us'
653 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
656 daysToKeep: '{build-days-to-keep}'
657 numToKeep: '{build-num-to-keep}'
658 artifactDaysToKeep: '{build-artifact-days-to-keep}'
659 artifactNumToKeep: '{build-artifact-num-to-keep}'
668 - repo-name-parameter:
669 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
674 - gerrit-trigger-scm:
675 credentials-id: 'jenkins-gerrit-credentials'
676 refspec: '$GERRIT_REFSPEC'
677 choosing-strategy: 'gerrit'
680 - fdio-infra-wrappers:
681 build-timeout: '{build-timeout}'
684 - gerrit-trigger-checkstyle:
691 - ../scripts/setup_vpp_ubuntu_docker_test.sh
694 - ../scripts/setup_vpp_dpdk_dev_env.sh
697 - ../scripts/vpp/clang-build.sh
700 - fdio-infra-shiplogs:
701 maven-version: 'mvn36'
703 rerun-unstable-builds: false
708 name: 'vpp-coverity-{stream}'
710 project-type: freestyle
711 node: 'ubuntu1804-us'
713 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
716 daysToKeep: '{build-days-to-keep}'
717 numToKeep: '{build-num-to-keep}'
718 artifactDaysToKeep: '{build-artifact-days-to-keep}'
719 artifactNumToKeep: '{build-artifact-num-to-keep}'
728 - repo-name-parameter:
729 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
734 - gerrit-trigger-scm:
735 credentials-id: 'jenkins-gerrit-credentials'
737 choosing-strategy: 'gerrit'
740 - fdio-infra-wrappers:
741 build-timeout: '{build-timeout}'
744 - timed: '0 14 * * *'
748 command: !include-raw-escape: ../scripts/vpp/coverity.sh
753 # yamllint disable-line rule:line-length
754 recipients: 'ejk@cisco.com'
757 subject: 'Coverity run passing as of $BUILD_TIMESTAMP'
758 # yamllint disable-line rule:line-length
760 Coverity run passing.
762 ${{FILE,path="output.txt"}}
766 # yamllint disable-line rule:line-length
767 recipients: 'ejk@cisco.com'
770 subject: 'Coverity run UNSTABLE as of $BUILD_TIMESTAMP'
771 # yamllint disable-line rule:line-length
773 Coverity run UNSTABLE.
775 Something went wrong with daily scan.
779 # yamllint disable-line rule:line-length
780 recipients: 'vpp-dev@lists.fd.io, ejk@cisco.com'
783 subject: 'Coverity run FAILED as of $BUILD_TIMESTAMP'
784 # yamllint disable-line rule:line-length
786 Coverity run failed today.
788 ${{FILE,path="output.txt"}}
791 # yamllint disable-line rule:line-length
792 recipients: 'vpp-dev@lists.fd.io, ejk@cisco.com'
795 subject: 'Coverity run as of $BUILD_TIMESTAMP'
796 # yamllint disable-line rule:line-length
798 Coverity run fixed today.
800 ${{FILE,path="output.txt"}}
803 - fdio-infra-shiplogs:
804 maven-version: 'mvn36'
807 name: 'vpp-merge-{stream}-{os}'
809 project-type: freestyle
813 daysToKeep: '{build-days-to-keep}'
815 artifactDaysToKeep: '{build-artifact-days-to-keep}'
816 artifactNumToKeep: '{build-artifact-num-to-keep}'
825 - maven-project-parameter:
828 maven-version: 'mvn33-new'
831 - repo-name-parameter:
832 repo-name: '{repo-stream-part}.{repo-os-part}'
834 name: ARCHIVE_ARTIFACTS
835 default: '{archive-artifacts}'
836 description: Artifacts to archive to the logs server.
839 - gerrit-trigger-scm:
840 credentials-id: 'jenkins-gerrit-credentials'
842 choosing-strategy: 'default'
845 - fdio-infra-wrappers:
846 build-timeout: '{build-timeout}'
849 - gerrit-trigger-patch-merged:
854 - config-file-provider:
856 - file-id: '.packagecloud'
858 - config-file-provider:
860 - file-id: 'packagecloud_api'
864 - ../scripts/vpp/checkstyle.sh
867 - ../scripts/setup_vpp_ubuntu_docker_test.sh
870 - ../scripts/setup_vpp_dpdk_dev_env.sh
873 - ../scripts/vpp/build.sh
874 - provide-maven-settings:
875 settings-file: 'vpp-settings'
876 global-settings-file: 'global-settings'
879 - ../scripts/packagecloud_push.sh
882 - fdio-infra-shiplogs:
883 maven-version: 'mvn36'
885 rerun-unstable-builds: false
890 name: 'vpp-csit-verify-device-{stream}-{device-node-arch}'
895 <li>{device-executor}
899 project-type: freestyle
900 node: '{device-executor}'
902 archive-artifacts: '**/csit_current/**/*.*'
906 daysToKeep: '{build-days-to-keep}'
908 artifactDaysToKeep: '{build-artifact-days-to-keep}'
909 artifactNumToKeep: '{build-artifact-num-to-keep}'
918 - repo-name-parameter:
919 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
920 - gerrit-refspec-parameter
921 - gerrit-event-type-parameter
922 - gerrit-event-comment-text-parameter
923 - gerrit-csit-refspec-parameter
927 name: ARCHIVE_ARTIFACTS
928 default: '{archive-artifacts}'
929 description: Artifacts to archive to the logs server.
932 - gerrit-trigger-scm:
933 credentials-id: 'jenkins-gerrit-credentials'
934 refspec: '$GERRIT_REFSPEC'
935 choosing-strategy: 'gerrit'
938 - fdio-infra-wrappers:
945 skip-vote: '{skip-vote}'
950 - ../scripts/setup_vpp_ubuntu_docker_test.sh
953 - ../scripts/setup_vpp_dpdk_dev_env.sh
956 - ../scripts/vpp/csit-device.sh
960 output-path: 'csit_current/'
962 - fdio-infra-shiplogs:
963 maven-version: 'mvn36'
966 name: 'vpp-csit-verify-perf-{stream}-{node-arch}'
975 project-type: freestyle
979 **/csit_current/**/*.*
980 **/csit_parent/**/*.*
984 daysToKeep: '{build-days-to-keep}'
986 artifactDaysToKeep: '{build-artifact-days-to-keep}'
987 artifactNumToKeep: '{build-artifact-num-to-keep}'
996 - repo-name-parameter:
997 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
998 - gerrit-refspec-parameter
999 - gerrit-event-type-parameter
1000 - gerrit-event-comment-text-parameter
1001 - gerrit-csit-refspec-parameter
1002 - csit-perf-trial-duration-parameter:
1003 csit-perf-trial-duration: "10.0"
1004 - csit-perf-trial-multiplicity-parameter:
1005 csit-perf-trial-multiplicity: "5"
1009 name: ARCHIVE_ARTIFACTS
1010 default: '{archive-artifacts}'
1011 description: Artifacts to archive to the logs server.
1014 - gerrit-trigger-scm:
1015 credentials-id: 'jenkins-gerrit-credentials'
1016 refspec: '$GERRIT_REFSPEC'
1017 choosing-strategy: 'gerrit'
1020 - fdio-infra-wrappers-non-activity-timeout:
1024 - gerrit-trigger-csit-perftest:
1027 node-arch: '{node-arch}'
1031 !include-raw-escape:
1032 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1034 !include-raw-escape:
1035 - ../scripts/setup_vpp_dpdk_dev_env.sh
1037 !include-raw-escape:
1038 - ../scripts/vpp/csit-perf.sh
1042 output-path: 'csit_current/0/'
1044 - fdio-infra-shiplogs:
1045 maven-version: 'mvn36'
1048 name: 'vpp-csit-verify-api-crc-{stream}'
1050 project-type: freestyle
1053 archive-artifacts: ''
1057 daysToKeep: '{build-days-to-keep}'
1059 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1060 artifactNumToKeep: '{build-artifact-num-to-keep}'
1063 - project-parameter:
1064 project: '{project}'
1067 - gerrit-refspec-parameter
1068 - gerrit-csit-refspec-parameter
1072 name: ARCHIVE_ARTIFACTS
1073 default: '{archive-artifacts}'
1074 description: Artifacts to archive to the logs server.
1075 # Not sure whether not failing has any useful usage,
1076 # but it does not hurt to have some flexibility for future.
1077 - csit-fail-on-crc-mismatch-parameter:
1078 fail-on-crc-mismatch: 'True'
1081 - gerrit-trigger-scm:
1082 credentials-id: 'jenkins-gerrit-credentials'
1083 refspec: '$GERRIT_REFSPEC'
1084 choosing-strategy: 'gerrit'
1087 - fdio-infra-wrappers-non-activity-timeout:
1091 # TODO: Make other verify jobs trigger on success of this one,
1092 # without breaking verification for VPP branches before stable/1908.
1093 - gerrit-trigger-checkstyle:
1099 !include-raw-escape:
1100 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1102 !include-raw-escape:
1103 - ../scripts/vpp/check_crc.sh
1104 # TODO: Add sending e-mail notifications to vpp-api-dev@lists.fd.io
1107 - fdio-infra-shiplogs:
1108 maven-version: 'mvn36'