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.1901'
24 repo-stream-part: 'stable.1904'
27 repo-stream-part: 'stable.1908'
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'
72 - 'vpp-csit-verify-device-{stream}-{device-node-arch}'
73 - 'vpp-csit-verify-perf-{stream}-{node-arch}'
76 device-executor: 'vpp-csit-device'
79 trigger: 'gerrit-trigger-csit-devicetest-full'
83 repo-stream-part: 'master'
86 repo-stream-part: 'stable.1904'
89 repo-stream-part: 'stable.1908'
93 device-executor: 'vpp-csit-arm-ubuntu18'
94 trigger: 'gerrit-trigger-csit-devicetest-manual'
103 executor: 'ubuntu1804arm-s'
107 device-node-arch: '1n-tx2'
112 - 'vpp-historic-verify-{stream}-{os}'
113 - 'vpp-historic-merge-{stream}-{os}'
117 branch: 'stable/1901'
118 repo-stream-part: 'stable.1901'
120 branch: 'stable/1904'
121 repo-stream-part: 'stable.1904'
123 branch: 'stable/1908'
124 repo-stream-part: 'stable.1908'
127 repo-os-part: 'ubuntu.xenial.main'
132 - 'vpp-arm-verify-{stream}-{os}'
133 - 'vpp-arm-merge-{stream}-{os}'
138 repo-stream-part: 'master'
140 branch: 'stable/1901'
141 repo-stream-part: 'stable.1901'
143 branch: 'stable/1904'
144 repo-stream-part: 'stable.1904'
146 branch: 'stable/1908'
147 repo-stream-part: 'stable.1908'
150 repo-os-part: 'ubuntu-arm.bionic.main'
152 # TODO: Merge with (e.g.) vpp-perpatch or similar,
153 # when number of stable branches supported matches.
157 - 'vpp-csit-verify-api-crc-{stream}'
159 executor: 'vpp-csit-device'
162 # TODO: Add stable/1908 when it is created.
171 - gerrit-info-yaml-verify
172 build-node: centos7-builder-4c-4g
183 name: 'vpp-historic-verify-{stream}-{os}'
185 project-type: freestyle
188 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
191 - gerrit-trigger-checkstyle:
196 daysToKeep: '{build-days-to-keep}'
198 artifactDaysToKeep: '{build-artifact-days-to-keep}'
199 artifactNumToKeep: '{build-artifact-num-to-keep}'
208 - repo-name-parameter:
209 repo-name: '{repo-stream-part}.{repo-os-part}'
213 name: ARCHIVE_ARTIFACTS
214 default: '{archive-artifacts}'
215 description: Artifacts to archive to the logs server.
218 - gerrit-trigger-scm:
219 credentials-id: 'jenkins-gerrit-credentials'
220 refspec: '$GERRIT_REFSPEC'
221 choosing-strategy: 'gerrit'
224 - fdio-infra-wrappers:
229 !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
232 - ../scripts/setup_vpp_dpdk_dev_env.sh
233 - include-raw-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'
300 !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
303 - ../scripts/setup_vpp_dpdk_dev_env.sh
304 - include-raw-vpp-build.sh
305 - provide-maven-settings:
306 settings-file: 'vpp-settings'
307 global-settings-file: 'global-settings'
310 - ../scripts/packagecloud_push.sh
313 - fdio-infra-shiplogs:
314 maven-version: 'mvn36'
317 name: 'vpp-arm-verify-{stream}-{os}'
319 project-type: freestyle
322 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
325 daysToKeep: '{build-days-to-keep}'
327 artifactDaysToKeep: '{build-artifact-days-to-keep}'
328 artifactNumToKeep: '{build-artifact-num-to-keep}'
337 - repo-name-parameter:
338 repo-name: '{repo-stream-part}.{repo-os-part}'
342 name: ARCHIVE_ARTIFACTS
343 default: '{archive-artifacts}'
344 description: Artifacts to archive to the logs server.
347 - gerrit-trigger-scm:
348 credentials-id: 'jenkins-gerrit-credentials'
349 refspec: '$GERRIT_REFSPEC'
350 choosing-strategy: 'gerrit'
353 - fdio-infra-wrappers:
357 - gerrit-trigger-checkstyle:
363 !include-raw-escape: ../scripts/setup_vpp_ubuntu_arm_test.sh
366 - ../scripts/setup_vpp_dpdk_dev_env.sh
367 - include-raw-vpp-parallel-vars.sh
368 - include-raw-vpp-arm-build.sh
371 - fdio-infra-shiplogs:
372 maven-version: 'mvn36'
374 rerun-unstable-builds: false
379 name: 'vpp-arm-merge-{stream}-{os}'
381 project-type: freestyle
385 daysToKeep: '{build-days-to-keep}'
387 artifactDaysToKeep: '{build-artifact-days-to-keep}'
388 artifactNumToKeep: '{build-artifact-num-to-keep}'
397 - maven-project-parameter:
400 maven-version: 'mvn33-new'
403 - repo-name-parameter:
404 repo-name: '{repo-stream-part}.{repo-os-part}'
406 name: ARCHIVE_ARTIFACTS
407 default: '{archive-artifacts}'
408 description: Artifacts to archive to the logs server.
411 - gerrit-trigger-scm:
412 credentials-id: 'jenkins-gerrit-credentials'
414 choosing-strategy: 'default'
417 - fdio-infra-wrappers:
421 - gerrit-trigger-patch-merged:
426 - config-file-provider:
428 - file-id: '.packagecloud'
430 - config-file-provider:
432 - file-id: 'packagecloud_api'
435 !include-raw-escape: ../scripts/setup_vpp_ubuntu_arm_test.sh
438 - ../scripts/setup_vpp_dpdk_dev_env.sh
439 - include-raw-vpp-parallel-vars.sh
440 - include-raw-vpp-arm-build-no-test.sh
442 - provide-maven-settings:
443 settings-file: 'vpp-settings'
444 global-settings-file: 'global-settings'
447 - ../scripts/packagecloud_push.sh
450 - fdio-infra-shiplogs:
451 maven-version: 'mvn36'
454 name: 'vpp-checkstyle-verify-{stream}'
456 project-type: freestyle
459 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
462 daysToKeep: '{build-days-to-keep}'
463 numToKeep: '{build-num-to-keep}'
464 artifactDaysToKeep: '{build-artifact-days-to-keep}'
465 artifactNumToKeep: '{build-artifact-num-to-keep}'
474 - repo-name-parameter:
475 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
478 - gerrit-trigger-scm:
479 credentials-id: 'jenkins-gerrit-credentials'
480 refspec: '$GERRIT_REFSPEC'
481 choosing-strategy: 'gerrit'
484 - fdio-infra-wrappers:
485 build-timeout: '{build-timeout}'
489 server-name: 'Primary'
491 - patchset-created-event:
492 exclude-drafts: 'true'
493 exclude-trivial-rebase: 'false'
494 exclude-no-code-change: 'false'
495 - draft-published-event
496 - comment-added-contains-event:
497 comment-contains-value: 'checkstylecheck'
498 - comment-added-contains-event:
499 comment-contains-value: 'docsonly'
500 - comment-added-contains-event:
501 comment-contains-value: 'recheck'
502 - comment-added-contains-event:
503 comment-contains-value: 'reverify'
504 # Following two are to cover missing functions of drafts going to review status
505 - comment-added-contains-event:
506 comment-contains-value: 'runtest'
507 - comment-added-contains-event:
508 comment-contains-value: 'This change is ready for review'
510 - project-compare-type: 'ANT'
511 project-pattern: '{project}'
513 - branch-compare-type: 'ANT'
514 branch-pattern: '**/{branch}'
516 - compare-type: REG_EXP
517 pattern: ^((?!\/COMMIT_MSG|docs|_abc|_def[\/\.]).)*$
518 forbidden-file-paths:
519 - compare-type: REG_EXP
521 - compare-type: REG_EXP
522 pattern: .*extras\/emacs\/.*
523 disable-strict-forbidden-file-verification: 'true'
525 gerrit-build-notbuilt-verified-value: 0
526 gerrit-build-successful-verified-value: 1
527 # yamllint disable-line rule:line-length
528 notbuilt-message: 'Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes.'
529 # yamllint disable-line rule:line-length
530 failed-message: 'Checkstyle failed. No further verify jobs will be started.'
531 successful-message: 'checkstyle_success'
540 !include-raw-escape: include-raw-vpp-checkstyle.sh
542 !include-raw-escape: include-raw-vpp-test-checkstyle.sh
544 !include-raw-escape: include-raw-vpp-commitmsg.sh
547 - fdio-infra-shiplogs:
548 maven-version: 'mvn36'
550 rerun-unstable-builds: true
555 name: 'vpp-verify-{stream}-{os}'
557 project-type: freestyle
560 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
563 daysToKeep: '{build-days-to-keep}'
565 artifactDaysToKeep: '{build-artifact-days-to-keep}'
566 artifactNumToKeep: '{build-artifact-num-to-keep}'
575 - repo-name-parameter:
576 repo-name: '{repo-stream-part}.{repo-os-part}'
580 name: ARCHIVE_ARTIFACTS
581 default: '{archive-artifacts}'
582 description: Artifacts to archive to the logs server.
585 - gerrit-trigger-scm:
586 credentials-id: 'jenkins-gerrit-credentials'
587 refspec: '$GERRIT_REFSPEC'
588 choosing-strategy: 'gerrit'
591 - fdio-infra-wrappers:
595 - gerrit-trigger-checkstyle:
601 !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
604 - ../scripts/setup_vpp_dpdk_dev_env.sh
605 - include-raw-vpp-build.sh
608 - fdio-infra-shiplogs:
609 maven-version: 'mvn36'
611 rerun-unstable-builds: false
616 name: 'vpp-verify-{stream}-clang'
618 project-type: freestyle
619 node: 'ubuntu1804-us'
621 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
624 daysToKeep: '{build-days-to-keep}'
625 numToKeep: '{build-num-to-keep}'
626 artifactDaysToKeep: '{build-artifact-days-to-keep}'
627 artifactNumToKeep: '{build-artifact-num-to-keep}'
636 - repo-name-parameter:
637 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
642 - gerrit-trigger-scm:
643 credentials-id: 'jenkins-gerrit-credentials'
644 refspec: '$GERRIT_REFSPEC'
645 choosing-strategy: 'gerrit'
648 - fdio-infra-wrappers:
649 build-timeout: '{build-timeout}'
652 - gerrit-trigger-checkstyle:
658 !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
661 - ../scripts/setup_vpp_dpdk_dev_env.sh
662 - include-raw-vpp-clang-build.sh
665 - fdio-infra-shiplogs:
666 maven-version: 'mvn36'
668 rerun-unstable-builds: false
673 name: 'vpp-coverity-{stream}'
675 project-type: freestyle
676 node: 'ubuntu1804-us'
678 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
681 daysToKeep: '{build-days-to-keep}'
682 numToKeep: '{build-num-to-keep}'
683 artifactDaysToKeep: '{build-artifact-days-to-keep}'
684 artifactNumToKeep: '{build-artifact-num-to-keep}'
693 - repo-name-parameter:
694 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
699 - gerrit-trigger-scm:
700 credentials-id: 'jenkins-gerrit-credentials'
702 choosing-strategy: 'gerrit'
705 - fdio-infra-wrappers:
706 build-timeout: '{build-timeout}'
709 - timed: '0 14 * * *'
713 command: !include-raw-escape: include-raw-vpp-coverity.sh
718 # yamllint disable-line rule:line-length
719 recipients: 'ejk@cisco.com'
722 subject: 'Coverity run passing as of $BUILD_TIMESTAMP'
723 # yamllint disable-line rule:line-length
725 Coverity run passing.
727 ${{FILE,path="output.txt"}}
731 # yamllint disable-line rule:line-length
732 recipients: 'ejk@cisco.com'
735 subject: 'Coverity run UNSTABLE as of $BUILD_TIMESTAMP'
736 # yamllint disable-line rule:line-length
738 Coverity run UNSTABLE.
740 Something went wrong with daily scan.
744 # yamllint disable-line rule:line-length
745 recipients: 'vpp-dev@lists.fd.io, ejk@cisco.com'
748 subject: 'Coverity run FAILED as of $BUILD_TIMESTAMP'
749 # yamllint disable-line rule:line-length
751 Coverity run failed today.
753 ${{FILE,path="output.txt"}}
756 # yamllint disable-line rule:line-length
757 recipients: 'vpp-dev@lists.fd.io, ejk@cisco.com'
760 subject: 'Coverity run as of $BUILD_TIMESTAMP'
761 # yamllint disable-line rule:line-length
763 Coverity run fixed today.
765 ${{FILE,path="output.txt"}}
768 - fdio-infra-shiplogs:
769 maven-version: 'mvn36'
772 name: 'vpp-merge-{stream}-{os}'
774 project-type: freestyle
778 daysToKeep: '{build-days-to-keep}'
780 artifactDaysToKeep: '{build-artifact-days-to-keep}'
781 artifactNumToKeep: '{build-artifact-num-to-keep}'
790 - maven-project-parameter:
793 maven-version: 'mvn33-new'
796 - repo-name-parameter:
797 repo-name: '{repo-stream-part}.{repo-os-part}'
799 name: ARCHIVE_ARTIFACTS
800 default: '{archive-artifacts}'
801 description: Artifacts to archive to the logs server.
804 - gerrit-trigger-scm:
805 credentials-id: 'jenkins-gerrit-credentials'
807 choosing-strategy: 'default'
810 - fdio-infra-wrappers:
811 build-timeout: '{build-timeout}'
814 - gerrit-trigger-patch-merged:
819 - config-file-provider:
821 - file-id: '.packagecloud'
823 - config-file-provider:
825 - file-id: 'packagecloud_api'
828 !include-raw-escape: include-raw-vpp-checkstyle.sh
830 !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
833 - ../scripts/setup_vpp_dpdk_dev_env.sh
834 - include-raw-vpp-build.sh
835 - provide-maven-settings:
836 settings-file: 'vpp-settings'
837 global-settings-file: 'global-settings'
840 - ../scripts/packagecloud_push.sh
843 - fdio-infra-shiplogs:
844 maven-version: 'mvn36'
846 rerun-unstable-builds: false
851 name: 'vpp-csit-verify-device-{stream}-{device-node-arch}'
856 <li>{device-executor}
860 project-type: freestyle
861 node: '{device-executor}'
863 archive-artifacts: '**/csit_current/**/*.*'
867 daysToKeep: '{build-days-to-keep}'
869 artifactDaysToKeep: '{build-artifact-days-to-keep}'
870 artifactNumToKeep: '{build-artifact-num-to-keep}'
879 - repo-name-parameter:
880 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
881 - gerrit-refspec-parameter
882 - gerrit-event-type-parameter
883 - gerrit-event-comment-text-parameter
884 - gerrit-csit-refspec-parameter
888 name: ARCHIVE_ARTIFACTS
889 default: '{archive-artifacts}'
890 description: Artifacts to archive to the logs server.
893 - gerrit-trigger-scm:
894 credentials-id: 'jenkins-gerrit-credentials'
895 refspec: '$GERRIT_REFSPEC'
896 choosing-strategy: 'gerrit'
899 - fdio-infra-wrappers:
906 skip-vote: '{skip-vote}'
910 !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
912 !include-raw-escape: ../scripts/setup_vpp_dpdk_dev_env.sh
915 - include-raw-vpp-parallel-vars.sh
916 - include-raw-vpp-csit-device.sh
920 output-path: 'csit_current/'
922 - fdio-infra-shiplogs:
923 maven-version: 'mvn36'
926 name: 'vpp-csit-verify-perf-{stream}-{node-arch}'
935 project-type: freestyle
939 **/csit_current/**/*.*
940 **/csit_parent/**/*.*
944 daysToKeep: '{build-days-to-keep}'
946 artifactDaysToKeep: '{build-artifact-days-to-keep}'
947 artifactNumToKeep: '{build-artifact-num-to-keep}'
956 - repo-name-parameter:
957 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
958 - gerrit-refspec-parameter
959 - gerrit-event-type-parameter
960 - gerrit-event-comment-text-parameter
961 - gerrit-csit-refspec-parameter
963 name: CSIT_PERF_TRIAL_DURATION
965 description: "Duration of a trial measurement in BMRR tests."
967 name: CSIT_PERF_TRIAL_MULTIPLICITY
969 description: "Number of subsamples for BMRR tests."
973 name: ARCHIVE_ARTIFACTS
974 default: '{archive-artifacts}'
975 description: Artifacts to archive to the logs server.
978 - gerrit-trigger-scm:
979 credentials-id: 'jenkins-gerrit-credentials'
980 refspec: '$GERRIT_REFSPEC'
981 choosing-strategy: 'gerrit'
984 - fdio-infra-wrappers-non-activity-timeout:
988 - gerrit-trigger-csit-perftest:
991 node-arch: '{node-arch}'
995 !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
997 !include-raw-escape: ../scripts/setup_vpp_dpdk_dev_env.sh
999 !include-raw-escape: include-raw-vpp-csit-perf.sh
1003 output-path: 'csit_current/0/'
1005 - fdio-infra-shiplogs:
1006 maven-version: 'mvn36'
1009 name: 'vpp-csit-verify-api-crc-{stream}'
1011 project-type: freestyle
1014 archive-artifacts: ''
1018 daysToKeep: '{build-days-to-keep}'
1020 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1021 artifactNumToKeep: '{build-artifact-num-to-keep}'
1024 - project-parameter:
1025 project: '{project}'
1028 - gerrit-refspec-parameter
1029 - gerrit-csit-refspec-parameter
1033 name: ARCHIVE_ARTIFACTS
1034 default: '{archive-artifacts}'
1035 description: Artifacts to archive to the logs server.
1036 # Not sure whether not failing has any useful usage,
1037 # but it does not hurt to have some flexibility for future.
1038 - csit-fail-on-crc-mismatch-parameter:
1039 fail-on-crc-mismatch: 'True'
1042 - gerrit-trigger-scm:
1043 credentials-id: 'jenkins-gerrit-credentials'
1044 refspec: '$GERRIT_REFSPEC'
1045 choosing-strategy: 'gerrit'
1048 - fdio-infra-wrappers-non-activity-timeout:
1052 # TODO: Make other verify jobs trigger on success of this one,
1053 # without breaking verification for VPP branches before stable/1908.
1054 - gerrit-trigger-checkstyle:
1060 !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
1062 !include-raw-escape: check_crc.sh
1063 # TODO: Add sending e-mail notifications to vpp-api-dev@lists.fd.io
1066 - fdio-infra-shiplogs:
1067 maven-version: 'mvn36'