4 # Please keep projects grouped in this order:
5 # vpp-x86_64, vpp-aarch64, vpp-csit
8 # - The 'branch-head-refspec' attribute is used for sandbox testing.
9 # Use the get_gerrit_refspec() bash function in
10 # .../ci-management/docker/scripts/lib_common.sh
11 # to query gerrit for the refspec of HEAD in a branch.
12 # TODO: see if there is a refspec that works without requiring
13 # use of get_gerrit_refspec and hand entering the result
14 # in the WebUI 'Build With Parameters' gerrit refspec field.
15 # - Use the following to import get_gerrit_refspec into a bash shell
16 # from the ci-management directory:
17 # $ eval "$(grep -A12 get_gerrit ./docker/scripts/lib_common.sh)"
20 # VPP-CHECKSTYLE-X86_64 PROJECT
22 name: vpp-checkstyle-x86_64
24 - 'vpp-checkstyle-verify-{stream}-{os}-{executor-arch}'
29 repo-stream-part: 'master'
30 branch-head-refspec: ''
33 repo-stream-part: 'stable.1908'
34 branch-head-refspec: ''
37 repo-stream-part: 'stable.2005'
38 branch-head-refspec: ''
41 repo-stream-part: 'stable.2009'
42 branch-head-refspec: ''
44 executor-arch: 'x86_64'
45 # [end] VPP-CHECKSTYLE-X86_64 PROJECT
51 - 'vpp-verify-{stream}-{os}-{executor-arch}'
52 - 'vpp-merge-{stream}-{os}-{executor-arch}'
54 make-parallel-jobs: '4'
58 repo-stream-part: 'master'
59 branch-head-refspec: ''
62 repo-stream-part: 'stable.1908'
63 branch-head-refspec: ''
66 repo-stream-part: 'stable.2005'
67 branch-head-refspec: ''
70 repo-stream-part: 'stable.2009'
71 branch-head-refspec: ''
74 repo-os-part: 'ubuntu.bionic.main'
76 repo-os-part: 'centos7'
77 executor-arch: 'x86_64'
78 # [end] VPP-X86_64 PROJECT
80 # VPP-OS-IN-2009-X86_64 PROJECT
82 # This project is used to separate streams which are only
83 # supported on the OS in the release in which it was added
86 # For each 'os-in-XXXX', the stream for the release is
87 # added here in addition to the 'vpp-x86_64' project.
88 # Each subsequent release is also added to both.
90 # When all of the streams older than the 'os-in-XXXX" have
91 # been removed from the 'vpp-x86_64' project, then the OSes
92 # in this project get moved to the 'vpp-x86_64' project and
93 # this project gets deleted or commented out if it is only
94 # 'os-in-XXXX' project.
97 name: vpp-os-in-2009-x86_64
99 - 'vpp-verify-{stream}-{os}-{executor-arch}'
100 - 'vpp-merge-{stream}-{os}-{executor-arch}'
102 make-parallel-jobs: '4'
106 repo-stream-part: 'master'
107 branch-head-refspec: ''
109 branch: 'stable/2009'
110 repo-stream-part: 'stable.2009'
111 branch-head-refspec: ''
114 repo-os-part: 'centos8'
116 repo-os-part: 'stretch'
118 repo-os-part: 'buster'
120 repo-os-part: 'ubuntu.focal.main'
121 executor-arch: 'x86_64'
122 # [end] VPP-OS-IN-2009-X86_64 PROJECT
124 # VPP-DEBUG-X86_64 PROJECT
126 # Currently a Non-Voting job due to intermittent failures.
127 # Limiting branches to master and 2009, since other branches
128 # may not get fixes for the intermittent failures.
131 name: vpp-debug-x86_64
133 - 'vpp-debug-verify-{stream}-{os}-{executor-arch}'
135 make-parallel-jobs: '4'
139 repo-stream-part: 'master'
140 branch-head-refspec: ''
142 branch: 'stable/2009'
143 repo-stream-part: 'stable.2009'
144 branch-head-refspec: ''
147 repo-os-part: 'ubuntu.bionic.main'
148 executor-arch: 'x86_64'
149 # [end] VPP-DEBUG-X86_64 PROJECT
151 # VPP-BETA-X86_64 PROJECT
153 # Beta jobs are experimental jobs for testing new OS versions on master.
155 # They are only manually triggered. Either using the Jenkins WebUI
156 # 'Build with Parameters' to run a single job or adding 'vpp-beta-verify'
157 # or 'vpp-beta-merge' as a comment to run all beta verify or merge jobs.
159 # Once testing is complete, the os is moved to the current
160 # 'vpp-os-in-XXXX-x86_64' project. If no OSes are being
161 # tested then this project should be commented out.
164 # name: vpp-beta-x86_64
166 # - 'vpp-beta-verify-{stream}-{os}-{executor-arch}':
167 # comment-trigger-value: 'vpp-beta-verify'
168 # - 'vpp-beta-merge-{stream}-{os}-{executor-arch}':
169 # comment-trigger-value: 'vpp-beta-merge'
171 # make-parallel-jobs: '4'
175 # repo-stream-part: 'master'
176 # branch-head-refspec: ''
179 # repo-os-part: 'buster'
180 # executor-arch: x86_64
181 # [end] VPP-BETA-X86_64 PROJECT
183 # VPP-GCC-X86_64 PROJECT
187 - 'vpp-gcc-verify-{stream}-{os}-{executor-arch}'
189 executor-arch: 'x86_64'
192 repo-os-part: 'ubuntu.focal.main'
196 repo-stream-part: 'master'
197 branch-head-refspec: ''
199 branch: 'stable/2009'
200 repo-stream-part: 'stable.2009'
201 branch-head-refspec: ''
202 # [end] VPP-GCC-X86_64 PROJECT
204 # VPP-AARCH64 PROJECT
208 - 'vpp-verify-{stream}-{os}-{executor-arch}'
209 - 'vpp-merge-{stream}-{os}-{executor-arch}'
211 make-parallel-jobs: '16'
215 repo-stream-part: 'master'
216 branch-head-refspec: ''
218 branch: 'stable/1908'
219 repo-stream-part: 'stable.1908'
220 branch-head-refspec: ''
222 branch: 'stable/2005'
223 repo-stream-part: 'stable.2005'
224 branch-head-refspec: ''
226 branch: 'stable/2009'
227 repo-stream-part: 'stable.2009'
228 branch-head-refspec: ''
231 repo-os-part: 'ubuntu-arm.bionic.main'
232 executor-arch: 'aarch64'
233 # [end] VPP-AARCH64 PROJECT
235 # VPP-OS-IN-2009-AARCH64 PROJECT
237 # This project is used to separate streams which are only
238 # supported on the OS in the release in which it was added
241 # For each 'os-in-XXXX', the stream for the release is
242 # added here in addition to the 'vpp-aarch64' project.
243 # Each subsequent release is also added to both.
245 # When all of the streams older than the 'os-in-XXXX" have
246 # been removed from the 'vpp-aarch64' project, then the OSes
247 # in this project get moved to the 'vpp-aarch64' project and
248 # this project gets deleted or commented out if it is only
249 # 'os-in-XXXX' project.
252 # name: vpp-os-in-2009-aarch64
254 # - 'vpp-verify-{stream}-{os}-{executor-arch}'
255 # - 'vpp-merge-{stream}-{os}-{executor-arch}'
258 # make-parallel-jobs: '16'
262 # repo-stream-part: 'master'
263 # branch-head-refspec: ''
265 # branch: 'stable/2009'
266 # repo-stream-part: 'stable.2009'
267 # branch-head-refspec: ''
270 # repo-os-part: 'ubuntu.focal.main'
271 # executor-arch: 'aarch64'
272 # [end] VPP-OS-IN-2009-AARCH64 PROJECT
274 # VPP-BETA-AARCH64 PROJECT
276 # Beta jobs are experimental jobs for testing new OS versions on master.
278 # They are only manually triggered. Either using the Jenkins WebUI
279 # 'Build with Parameters' to run a single job or adding 'vpp-beta-verify'
280 # or 'vpp-beta-merge' as a comment to run all beta verify or merge jobs.
282 # Once testing is complete, the os is moved to the current
283 # 'vpp-os-in-XXXX-aarch64' project. If no OSes are being
284 # tested then this project should be commented out.
287 name: vpp-beta-aarch64
289 - 'vpp-beta-verify-{stream}-{os}-{executor-arch}':
290 comment-trigger-value: 'beta-verify'
291 - 'vpp-beta-merge-{stream}-{os}-{executor-arch}':
292 comment-trigger-value: 'beta-merge'
294 make-parallel-jobs: '16'
298 repo-stream-part: 'master'
299 branch-head-refspec: ''
302 repo-os-part: 'centos8'
304 repo-os-part: 'ubuntu.focal.main'
305 executor-arch: aarch64
306 # [end] VPP-BETA-AARCH64 PROJECT
308 # VPP-CSIT-PERPATCH PROJECT
310 name: vpp-csit-perpatch
312 - 'vpp-csit-verify-device-{stream}-{device-node-arch}':
313 make-parallel-jobs: '32'
314 - 'vpp-csit-verify-perf-{stream}-{node-arch}'
317 device-executor: 'vpp-csit-device'
320 trigger: 'gerrit-trigger-vpp-csit-devicetest-full'
324 repo-stream-part: 'master'
326 branch: 'stable/1908'
327 repo-stream-part: 'stable.1908'
329 branch: 'stable/2005'
330 repo-stream-part: 'stable.2005'
332 branch: 'stable/2009'
333 repo-stream-part: 'stable.2009'
337 device-executor: 'vpp-csit-arm-ubuntu18'
338 trigger: 'gerrit-trigger-vpp-csit-devicetest-manual'
348 executor: 'ubuntu1804arm-s'
349 make-parallel-jobs: '16'
350 # [end] VPP-CSIT-PERPATCH PROJECT
352 # VPP-CSIT-API-CRC PROJECT
354 # Only master and LTS branches are supported.
357 name: vpp-csit-api-crc
359 - 'vpp-csit-verify-api-crc-{stream}'
361 executor: 'vpp-csit-device'
365 branch: 'stable/1908'
366 repo-stream-part: 'stable.1908'
368 branch: 'stable/2009'
369 repo-stream-part: 'stable.2009'
373 # [end] VPP-CSIT-API-CRC PROJECT
375 # LF RELENG VPP PROJECTS
380 - gerrit-info-yaml-verify
381 build-node: centos7-builder-2c-2g
390 # [end] LF RELENG VPP PROJECTS
391 # [end] PROJECT DEFINITIONS
393 # JOB TEMPLATE DEFINITIONS
395 # Please keep job templates in the same order as they are referenced
396 # in the project definitions above.
398 # VPP-CHECKSTYLE-VERIFY JOB TEMPLATE
400 name: 'vpp-checkstyle-verify-{stream}-{os}-{executor-arch}'
402 project-type: freestyle
403 node: 'builder-{os}-prod-{executor-arch}'
405 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
408 daysToKeep: '{build-days-to-keep}'
409 numToKeep: '{build-num-to-keep}'
410 artifactDaysToKeep: '{build-artifact-days-to-keep}'
411 artifactNumToKeep: '{build-artifact-num-to-keep}'
420 - repo-name-parameter:
421 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
422 - gerrit-refspec-parameter:
423 refspec: '{branch-head-refspec}'
426 - gerrit-trigger-scm:
427 credentials-id: 'jenkins-gerrit-credentials'
428 refspec: '$GERRIT_REFSPEC'
429 choosing-strategy: 'gerrit'
432 - fdio-infra-wrappers:
433 build-timeout: '{build-timeout}'
434 - credentials-binding:
436 credential-id: VppApiCompatNotify
437 variable: SECRET_WEBEX_TEAMS_ACCESS_TOKEN
441 server-name: 'Primary'
443 - patchset-created-event:
444 exclude-drafts: 'true'
445 exclude-trivial-rebase: 'false'
446 exclude-no-code-change: 'false'
447 - draft-published-event
448 - comment-added-contains-event:
449 comment-contains-value: 'checkstylecheck'
450 - comment-added-contains-event:
451 comment-contains-value: 'docsonly'
452 - comment-added-contains-event:
453 comment-contains-value: 'recheck'
454 - comment-added-contains-event:
455 comment-contains-value: 'reverify'
456 # Following two are to cover missing functions of drafts
457 # going to review status
458 - comment-added-contains-event:
459 comment-contains-value: 'runtest'
460 - comment-added-contains-event:
461 comment-contains-value: 'This change is ready for review'
463 - project-compare-type: 'ANT'
464 project-pattern: '{project}'
466 - branch-compare-type: 'ANT'
467 branch-pattern: '**/{branch}'
469 - compare-type: REG_EXP
470 pattern: ^((?!\/COMMIT_MSG|docs|_abc|_def[\/\.]).)*$
471 forbidden-file-paths:
472 - compare-type: REG_EXP
474 - compare-type: REG_EXP
475 pattern: .*extras\/emacs\/.*
476 disable-strict-forbidden-file-verification: 'true'
478 gerrit-build-notbuilt-verified-value: 0
479 gerrit-build-successful-verified-value: 1
480 # yamllint disable-line rule:line-length
481 notbuilt-message: 'Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes.'
482 # yamllint disable-line rule:line-length
483 failed-message: 'Checkstyle failed. No further verify jobs will be started.'
484 successful-message: 'checkstyle_success'
494 - ../scripts/setup_executor_env.sh
497 - ../scripts/vpp/checkstyle.sh
500 - ../scripts/vpp/test-checkstyle.sh
503 - ../scripts/vpp/api-checkstyle.sh
506 - ../scripts/vpp/commitmsg.sh
509 - fdio-infra-shiplogs:
510 maven-version: 'mvn36'
511 # [end] VPP-CHECKSTYLE-VERIFY JOB TEMPLATE
513 # VPP-VERIFY JOB TEMPLATE
515 name: 'vpp-verify-{stream}-{os}-{executor-arch}'
517 project-type: freestyle
518 node: 'builder-{os}-prod-{executor-arch}'
520 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
523 daysToKeep: '{build-days-to-keep}'
525 artifactDaysToKeep: '{build-artifact-days-to-keep}'
526 artifactNumToKeep: '{build-artifact-num-to-keep}'
535 - repo-name-parameter:
536 repo-name: '{repo-stream-part}.{repo-os-part}'
540 name: ARCHIVE_ARTIFACTS
541 default: '{archive-artifacts}'
542 description: Artifacts to archive to the logs server.
543 - make-parallel-jobs-parameter:
544 make-parallel-jobs: '{make-parallel-jobs}'
545 - gerrit-refspec-parameter:
546 refspec: '{branch-head-refspec}'
549 - gerrit-trigger-scm:
550 credentials-id: 'jenkins-gerrit-credentials'
551 refspec: '$GERRIT_REFSPEC'
552 choosing-strategy: 'gerrit'
555 - fdio-infra-wrappers:
559 - gerrit-trigger-checkstyle:
566 - ../scripts/setup_executor_env.sh
569 - ../scripts/setup_vpp_ubuntu_docker_test.sh
572 - ../scripts/setup_vpp_dpdk_dev_env.sh
575 - ../scripts/vpp/build.sh
578 - fdio-infra-shiplogs:
579 maven-version: 'mvn36'
580 # [end] VPP-VERIFY JOB TEMPLATE
582 # VPP-DEBUG-VERIFY JOB TEMPLATE
584 name: 'vpp-debug-verify-{stream}-{os}-{executor-arch}'
586 project-type: freestyle
587 node: 'builder-{os}-prod-{executor-arch}'
589 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
592 daysToKeep: '{build-days-to-keep}'
593 numToKeep: '{build-num-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}.ubuntu.bionic.main'
608 - make-parallel-jobs-parameter:
609 make-parallel-jobs: '{make-parallel-jobs}'
610 - gerrit-refspec-parameter:
611 refspec: '{branch-head-refspec}'
614 - gerrit-trigger-scm:
615 credentials-id: 'jenkins-gerrit-credentials'
616 refspec: '$GERRIT_REFSPEC'
617 choosing-strategy: 'gerrit'
620 - fdio-infra-wrappers:
621 build-timeout: '{build-timeout}'
624 # TODO: Ensure all supported jobs pass reliably before
626 - gerrit-trigger-checkstyle-nonvoting:
633 - ../scripts/setup_executor_env.sh
636 - ../scripts/setup_vpp_ubuntu_docker_test.sh
639 - ../scripts/setup_vpp_dpdk_dev_env.sh
642 - ../scripts/vpp/debug-build.sh
645 - fdio-infra-shiplogs:
646 maven-version: 'mvn36'
647 # [end] VPP-DEBUG-VERIFY JOB TEMPLATE
649 # VPP-MERGE JOB TEMPLATE
651 name: 'vpp-merge-{stream}-{os}-{executor-arch}'
653 project-type: freestyle
654 node: 'builder-{os}-prod-{executor-arch}'
657 daysToKeep: '{build-days-to-keep}'
659 artifactDaysToKeep: '{build-artifact-days-to-keep}'
660 artifactNumToKeep: '{build-artifact-num-to-keep}'
669 - maven-project-parameter:
672 maven-version: 'mvn33-new'
675 - repo-name-parameter:
676 repo-name: '{repo-stream-part}.{repo-os-part}'
678 name: ARCHIVE_ARTIFACTS
679 default: '{archive-artifacts}'
680 description: Artifacts to archive to the logs server.
681 - make-parallel-jobs-parameter:
682 make-parallel-jobs: '{make-parallel-jobs}'
685 - gerrit-trigger-scm:
686 credentials-id: 'jenkins-gerrit-credentials'
688 choosing-strategy: 'default'
691 - fdio-infra-wrappers:
695 - gerrit-trigger-patch-merged:
700 - config-file-provider:
702 - file-id: '.packagecloud'
704 - config-file-provider:
706 - file-id: 'packagecloud_api'
710 - ../scripts/setup_executor_env.sh
713 - ../scripts/setup_vpp_ubuntu_docker_test.sh
716 - ../scripts/setup_vpp_dpdk_dev_env.sh
719 - ../scripts/vpp/build.sh
721 - provide-maven-settings:
722 settings-file: 'vpp-settings'
723 global-settings-file: 'global-settings'
726 - ../scripts/packagecloud_push.sh
729 - fdio-infra-shiplogs:
730 maven-version: 'mvn36'
731 # [end] VPP-MERGE JOB TEMPLATE
733 # VPP-BETA-VERIFY JOB TEMPLATE
735 name: 'vpp-beta-verify-{stream}-{os}-{executor-arch}'
737 project-type: freestyle
738 node: 'builder-{os}-prod-{executor-arch}'
740 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
743 daysToKeep: '{build-days-to-keep}'
745 artifactDaysToKeep: '{build-artifact-days-to-keep}'
746 artifactNumToKeep: '{build-artifact-num-to-keep}'
755 - repo-name-parameter:
756 repo-name: '{repo-stream-part}.{repo-os-part}'
760 name: ARCHIVE_ARTIFACTS
761 default: '{archive-artifacts}'
762 description: Artifacts to archive to the logs server.
763 - make-parallel-jobs-parameter:
764 make-parallel-jobs: '{make-parallel-jobs}'
765 - gerrit-refspec-parameter:
766 refspec: '{branch-head-refspec}'
769 - gerrit-trigger-scm:
770 credentials-id: 'jenkins-gerrit-credentials'
771 refspec: '$GERRIT_REFSPEC'
772 choosing-strategy: 'gerrit'
775 - fdio-infra-wrappers:
779 - gerrit-trigger-manually-triggered:
780 comment-trigger-value: '{comment-trigger-value}'
787 - ../scripts/setup_executor_env.sh
790 - ../scripts/setup_vpp_ubuntu_docker_test.sh
793 - ../scripts/setup_vpp_dpdk_dev_env.sh
796 - ../scripts/vpp/build.sh
799 - fdio-infra-shiplogs:
800 maven-version: 'mvn36'
801 # [end] VPP-BETA-VERIFY JOB TEMPLATE
803 # VPP-BETA-MERGE JOB TEMPLATE
805 name: 'vpp-beta-merge-{stream}-{os}-{executor-arch}'
807 project-type: freestyle
808 node: 'builder-{os}-prod-{executor-arch}'
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.
835 - make-parallel-jobs-parameter:
836 make-parallel-jobs: '{make-parallel-jobs}'
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-manually-triggered:
850 comment-trigger-value: '{comment-trigger-value}'
855 - config-file-provider:
857 - file-id: '.packagecloud'
859 - config-file-provider:
861 - file-id: 'packagecloud_api'
865 - ../scripts/setup_executor_env.sh
868 - ../scripts/vpp/checkstyle.sh
871 - ../scripts/setup_vpp_ubuntu_docker_test.sh
874 - ../scripts/setup_vpp_dpdk_dev_env.sh
877 - ../scripts/vpp/build.sh
878 - provide-maven-settings:
879 settings-file: 'vpp-settings'
880 global-settings-file: 'global-settings'
883 - ../scripts/packagecloud_push.sh
886 - fdio-infra-shiplogs:
887 maven-version: 'mvn36'
888 # [end] VPP-BETA-MERGE JOB TEMPLATE
890 # VPP-GCC-VERIFY JOB TEMPLATE
892 name: 'vpp-gcc-verify-{stream}-{os}-{executor-arch}'
894 project-type: freestyle
895 node: 'builder-{os}-prod-{executor-arch}'
897 archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
900 daysToKeep: '{build-days-to-keep}'
902 artifactDaysToKeep: '{build-artifact-days-to-keep}'
903 artifactNumToKeep: '{build-artifact-num-to-keep}'
912 - repo-name-parameter:
913 repo-name: '{repo-stream-part}.{repo-os-part}'
917 name: ARCHIVE_ARTIFACTS
918 default: '{archive-artifacts}'
919 description: Artifacts to archive to the logs server.
920 - make-parallel-jobs-parameter:
921 make-parallel-jobs: '{make-parallel-jobs}'
922 - gerrit-refspec-parameter:
923 refspec: '{branch-head-refspec}'
926 - gerrit-trigger-scm:
927 credentials-id: 'jenkins-gerrit-credentials'
928 refspec: '$GERRIT_REFSPEC'
929 choosing-strategy: 'gerrit'
932 - fdio-infra-wrappers:
936 - gerrit-trigger-checkstyle:
943 - ../scripts/setup_executor_env.sh
946 - ../scripts/setup_vpp_ubuntu_docker_test.sh
949 - ../scripts/setup_vpp_dpdk_dev_env.sh
952 - ../scripts/vpp/gcc-build.sh
955 - fdio-infra-shiplogs:
956 maven-version: 'mvn36'
957 # [end] VPP-GCC-VERIFY JOB TEMPLATE
959 # VPP-CSIT-VERIFY-DEVICE JOB TEMPLATE
961 name: 'vpp-csit-verify-device-{stream}-{device-node-arch}'
966 <li>{device-executor}
970 project-type: freestyle
971 node: '{device-executor}'
973 archive-artifacts: '**/csit_current/**/*.*'
977 daysToKeep: '{build-days-to-keep}'
979 artifactDaysToKeep: '{build-artifact-days-to-keep}'
980 artifactNumToKeep: '{build-artifact-num-to-keep}'
989 - repo-name-parameter:
990 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
991 - gerrit-refspec-parameter
992 - gerrit-event-type-parameter
993 - gerrit-event-comment-text-parameter
994 - gerrit-csit-refspec-parameter
998 name: ARCHIVE_ARTIFACTS
999 default: '{archive-artifacts}'
1000 description: Artifacts to archive to the logs server.
1001 - make-parallel-jobs-parameter:
1002 make-parallel-jobs: '{make-parallel-jobs}'
1005 - gerrit-trigger-scm:
1006 credentials-id: 'jenkins-gerrit-credentials'
1007 refspec: '$GERRIT_REFSPEC'
1008 choosing-strategy: 'gerrit'
1011 - fdio-infra-wrappers:
1018 skip-vote: '{skip-vote}'
1022 !include-raw-escape:
1023 - ../scripts/setup_executor_env.sh
1025 !include-raw-escape:
1026 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1028 !include-raw-escape:
1029 - ../scripts/setup_vpp_dpdk_dev_env.sh
1031 !include-raw-escape:
1032 - ../scripts/vpp/csit-device.sh
1036 output-path: 'csit_current/'
1038 - fdio-infra-shiplogs:
1039 maven-version: 'mvn36'
1040 # [end] VPP-CSIT-VERIFY-DEVICE JOB TEMPLATE
1042 # VPP-CSIT-VERIFY-PERF JOB TEMPLATE
1044 name: 'vpp-csit-verify-perf-{stream}-{node-arch}'
1052 Contrary to csit-vpp job, this also measures the parent performance,
1053 and fails if performance regression is detected.
1054 See https://github.com/FDio/csit/blob/master/docs/cpta/methodology/perpatch_performance_tests.rst
1057 project-type: freestyle
1060 archive-artifacts: >
1061 **/csit_current/**/*.*
1062 **/csit_parent/**/*.*
1066 daysToKeep: '{build-days-to-keep}'
1068 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1069 artifactNumToKeep: '{build-artifact-num-to-keep}'
1072 - project-parameter:
1073 project: '{project}'
1078 - repo-name-parameter:
1079 repo-name: '{repo-stream-part}.ubuntu.bionic.main'
1080 - gerrit-refspec-parameter
1081 - gerrit-event-type-parameter
1082 - gerrit-event-comment-text-parameter
1083 - gerrit-csit-refspec-parameter
1084 - csit-perf-trial-duration-parameter:
1085 csit-perf-trial-duration: "10.0"
1086 - csit-perf-trial-multiplicity-parameter:
1087 csit-perf-trial-multiplicity: "5"
1091 name: ARCHIVE_ARTIFACTS
1092 default: '{archive-artifacts}'
1093 description: Artifacts to archive to the logs server.
1094 - make-parallel-jobs-parameter:
1095 make-parallel-jobs: '{make-parallel-jobs}'
1098 - gerrit-trigger-scm:
1099 credentials-id: 'jenkins-gerrit-credentials'
1100 refspec: '$GERRIT_REFSPEC'
1101 choosing-strategy: 'gerrit'
1104 - fdio-infra-wrappers-non-activity-timeout:
1108 - gerrit-trigger-csit-perftest:
1109 project: '{project}'
1111 trigger-word: 'perftest-{node-arch}'
1116 !include-raw-escape:
1117 - ../scripts/setup_executor_env.sh
1119 !include-raw-escape:
1120 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1122 !include-raw-escape:
1123 - ../scripts/setup_vpp_dpdk_dev_env.sh
1125 !include-raw-escape:
1126 - ../scripts/vpp/csit-perf.sh
1130 output-path: 'csit_current/0/'
1133 # [end] VPP-CSIT-VERIFY-PERF JOB TEMPLATE
1135 # VPP-CSIT-VERIFY-API-CRC JOB TEMPLATE
1137 name: 'vpp-csit-verify-api-crc-{stream}'
1139 project-type: freestyle
1142 archive-artifacts: ''
1146 daysToKeep: '{build-days-to-keep}'
1148 artifactDaysToKeep: '{build-artifact-days-to-keep}'
1149 artifactNumToKeep: '{build-artifact-num-to-keep}'
1152 - project-parameter:
1153 project: '{project}'
1156 - gerrit-refspec-parameter
1157 - gerrit-csit-refspec-parameter
1161 name: ARCHIVE_ARTIFACTS
1162 default: '{archive-artifacts}'
1163 description: Artifacts to archive to the logs server.
1164 # Not sure whether not failing has any useful usage,
1165 # but it does not hurt to have some flexibility for future.
1166 - csit-fail-on-crc-mismatch-parameter:
1167 fail-on-crc-mismatch: 'True'
1170 - gerrit-trigger-scm:
1171 credentials-id: 'jenkins-gerrit-credentials'
1172 refspec: '$GERRIT_REFSPEC'
1173 choosing-strategy: 'gerrit'
1176 - fdio-infra-wrappers-non-activity-timeout:
1180 # TODO: Make other verify jobs trigger on success of this one,
1181 # without breaking verification for VPP branches before stable/1908.
1182 - gerrit-trigger-checkstyle:
1188 !include-raw-escape:
1189 - ../scripts/setup_executor_env.sh
1191 !include-raw-escape:
1192 - ../scripts/setup_vpp_ubuntu_docker_test.sh
1194 !include-raw-escape:
1195 - ../scripts/vpp/check_crc.sh
1196 # TODO: Add sending e-mail notifications to vpp-api-dev@lists.fd.io
1199 - fdio-infra-shiplogs:
1200 maven-version: 'mvn36'
1201 # [end] VPP-CSIT-VERIFY-API-CRC JOB TEMPLATE
1202 # [end] JOB TEMPLATE DEFINITIONS