vpp.yaml revision 480602ad
1---
2- project:
3    name: vpp
4    jobs:
5        - 'vpp-verify-{stream}-{os}'
6        - 'vpp-merge-{stream}-{os}'
7
8    project: 'vpp'
9    os:
10      - ubuntu1604:
11          repo-os-part: 'ubuntu.xenial.main'
12      - centos7:
13          repo-os-part: 'centos7'
14
15    stream:
16        - master:
17            branch: 'master'
18            repo-stream-part: 'master'
19        - '1801':
20            branch: 'stable/1801'
21            repo-stream-part: 'stable.1801'
22        - '1804':
23            branch: 'stable/1804'
24            repo-stream-part: 'stable.1804'
25        - '1807':
26            branch: 'stable/1807'
27            repo-stream-part: 'stable.1807'
28    type:
29        - short
30        - long
31
32- project:
33    name: vpp-clang
34    jobs:
35        - 'vpp-verify-{stream}-clang'
36
37    project: 'vpp'
38    os:
39      - ubuntu1604:
40          repo-os-part: 'ubuntu.xenial.main'
41      - centos7:
42          repo-os-part: 'centos7'
43      - opensuse:
44          repo-os-part: 'opensuse'
45
46    stream:
47        - master:
48            branch: 'master'
49            repo-stream-part: 'master'
50
51- project:
52    name: vpp-misc
53    jobs:
54        - 'vpp-csit-verify-virl-{stream}'
55        - 'vpp-checkstyle-verify-{stream}'
56    project: 'vpp'
57    stream:
58        - master:
59            branch: 'master'
60            repo-stream-part: 'master'
61        - '1801':
62            branch: 'stable/1801'
63            repo-stream-part: 'stable.1801'
64        - '1804':
65            branch: 'stable/1804'
66            repo-stream-part: 'stable.1804'
67        - '1807':
68            branch: 'stable/1807'
69            repo-stream-part: 'stable.1807'
70    os: ubuntu1604
71
72- project:
73    name: vpp-perpatch
74    jobs:
75        - 'vpp-csit-verify-perf-{stream}-2n-skx'
76    project: 'vpp'
77    stream:
78        - master:
79            branch: 'master'
80            repo-stream-part: 'master'
81    os: ubuntu1604
82
83- project:
84    name: vpp-master-only
85    jobs:
86        - 'vpp-beta-verify-{stream}-{os}'
87        - 'vpp-beta-merge-{stream}-{os}'
88    project: 'vpp'
89    stream:
90        - master:
91            branch: 'master'
92            repo-stream-part: 'master'
93        - '1807':
94            branch: 'stable/1807'
95            repo-stream-part: 'stable.1807'
96    os:
97      - ubuntu1804:
98          repo-os-part: 'ubuntu.bionic.main'
99
100- project:
101    name: vpp-arm
102    jobs:
103        - 'vpp-arm-verify-{stream}-{os}'
104        - 'vpp-arm-merge-{stream}-{os}'
105    project: 'vpp'
106    stream:
107        - master:
108            branch: 'master'
109            repo-stream-part: 'master'
110        - '1804':
111            branch: 'stable/1804'
112            repo-stream-part: 'stable.1804'
113        - '1807':
114            branch: 'stable/1807'
115            repo-stream-part: 'stable.1807'
116    os:
117      - ubuntu1604:
118          repo-os-part: 'ubuntu-arm.xenial.main'
119
120- job-template:
121    name: 'vpp-beta-verify-{stream}-{os}'
122
123    project-type: freestyle
124    node: '{os}-us'
125    concurrent: true
126    triggers:
127        - gerrit-trigger-checkstyle:
128            name: '{project}'
129            branch: '{branch}'
130
131    logrotate:
132        daysToKeep: '{build-days-to-keep}'
133        numToKeep: 100
134        artifactDaysToKeep: '{build-artifact-days-to-keep}'
135        artifactNumToKeep: '{build-artifact-num-to-keep}'
136
137    parameters:
138        - project-parameter:
139            project: '{project}'
140        - gerrit-parameter:
141            branch: '{branch}'
142        - os-parameter:
143            os: '{os}'
144        - repo-name-parameter:
145            repo-name: '{repo-stream-part}.{repo-os-part}'
146        - stream-parameter:
147            stream: '{stream}'
148
149    scm:
150        - gerrit-trigger-scm:
151            credentials-id: 'jenkins-gerrit-credentials'
152            refspec: '$GERRIT_REFSPEC'
153            choosing-strategy: 'gerrit'
154
155    wrappers:
156        - fdio-infra-wrappers:
157            build-timeout: '{build-timeout}'
158
159    builders:
160        - shell:
161            !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
162        - shell:
163            !include-raw-escape:
164                - ../scripts/setup_vpp_dpdk_dev_env.sh
165                - include-raw-vpp-build.sh
166    publishers:
167        - archive:
168            artifacts: 'build-root/*.rpm,build-root/*.deb,dpdk/*.rpm,dpdk/*.deb'
169            allow-empty: 'true'
170            fingerprint: false
171            only-if-success: true
172            default-excludes: false
173        - fdio-infra-shiplogs:
174            maven-version: 'mvn33-new'
175            archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
176        - naginator:
177            rerun-unstable-builds: false
178            max-failed-builds: 1
179            fixed-delay: 90
180
181- job-template:
182    name: 'vpp-beta-merge-{stream}-{os}'
183
184    project-type: freestyle
185    node: '{os}-us'
186
187    logrotate:
188        daysToKeep: '{build-days-to-keep}'
189        numToKeep: 100
190        artifactDaysToKeep: '{build-artifact-days-to-keep}'
191        artifactNumToKeep: '{build-artifact-num-to-keep}'
192
193    parameters:
194        - project-parameter:
195            project: '{project}'
196        - gerrit-parameter:
197            branch: '{branch}'
198        - os-parameter:
199            os: '{os}'
200        - maven-project-parameter:
201            maven: 'mvn33-new'
202        - maven-exec:
203            maven-version: 'mvn33-new'
204        - stream-parameter:
205            stream: '{stream}'
206        - repo-name-parameter:
207            repo-name: '{repo-stream-part}.{repo-os-part}'
208
209    scm:
210        - gerrit-trigger-scm:
211            credentials-id: 'jenkins-gerrit-credentials'
212            refspec: ''
213            choosing-strategy: 'default'
214
215    wrappers:
216        - fdio-infra-wrappers:
217            build-timeout: 120
218
219    triggers:
220        - gerrit-trigger-patch-merged:
221            name: '{project}'
222            branch: '{branch}'
223
224    builders:
225        - config-file-provider:
226            files:
227              - file-id: '.packagecloud'
228                target: '/root'
229        - config-file-provider:
230            files:
231              - file-id: 'packagecloud_api'
232                target: '/root'
233        - maven-target:
234            maven-version: 'mvn33-new'
235            goals: '--version'
236            settings: 'vpp-settings'
237            settings-type: cfp
238            global-settings: 'global-settings'
239            global-settings-type: cfp
240        - shell:
241            !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
242        - shell:
243            !include-raw-escape:
244                - ../scripts/setup_vpp_dpdk_dev_env.sh
245                - include-raw-vpp-build.sh
246        - provide-maven-settings:
247            settings-file: 'vpp-settings'
248            global-settings-file: 'global-settings'
249        - shell:
250            !include-raw-escape:
251                - ../scripts/packagecloud_push.sh
252        - shell:
253            !include-raw-escape:
254                - ../scripts/maven_push_functions.sh
255                - include-raw-vpp-maven-push.sh
256
257
258    publishers:
259        - archive:
260            artifacts: 'build-root/*.rpm,build-root/*.deb,dpdk/*.rpm,dpdk/*.deb'
261            allow-empty: 'true'
262            fingerprint: false
263            only-if-success: true
264            default-excludes: false
265        - fdio-infra-shiplogs:
266            maven-version: 'mvn33-new'
267
268- job-template:
269    name: 'vpp-arm-verify-{stream}-{os}'
270
271    project-type: freestyle
272    node: '{os}arm-us'
273    concurrent: true
274
275    logrotate:
276        daysToKeep: '{build-days-to-keep}'
277        numToKeep: 100
278        artifactDaysToKeep: '{build-artifact-days-to-keep}'
279        artifactNumToKeep: '{build-artifact-num-to-keep}'
280
281    parameters:
282        - project-parameter:
283            project: '{project}'
284        - gerrit-parameter:
285            branch: '{branch}'
286        - os-parameter:
287            os: '{os}'
288        - repo-name-parameter:
289            repo-name: '{repo-stream-part}.{repo-os-part}'
290        - stream-parameter:
291            stream: '{stream}'
292
293    scm:
294        - gerrit-trigger-scm:
295            credentials-id: 'jenkins-gerrit-credentials'
296            refspec: '$GERRIT_REFSPEC'
297            choosing-strategy: 'gerrit'
298
299    wrappers:
300        - fdio-infra-wrappers:
301            build-timeout: 120
302
303    triggers:
304        - gerrit-trigger-checkstyle:
305            name: '{project}'
306            branch: '{branch}'
307
308    builders:
309        - shell:
310            !include-raw-escape: ../scripts/setup_vpp_ubuntu_arm_test.sh
311        - shell:
312            !include-raw-escape:
313                - ../scripts/setup_vpp_dpdk_dev_env.sh
314                - include-raw-vpp-parallel-vars.sh
315                - include-raw-vpp-arm-build.sh
316    publishers:
317        - archive:
318            artifacts: 'build-root/*.rpm,build-root/*.deb,dpdk/*.rpm,dpdk/*.deb'
319            allow-empty: 'true'
320            fingerprint: false
321            only-if-success: true
322            default-excludes: false
323        - fdio-infra-shiplogs:
324            maven-version: 'mvn33-new'
325            archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
326
327- job-template:
328    name: 'vpp-arm-merge-{stream}-{os}'
329
330    project-type: freestyle
331    node: '{os}arm-us'
332
333    logrotate:
334        daysToKeep: '{build-days-to-keep}'
335        numToKeep: 100
336        artifactDaysToKeep: '{build-artifact-days-to-keep}'
337        artifactNumToKeep: '{build-artifact-num-to-keep}'
338
339    parameters:
340        - project-parameter:
341            project: '{project}'
342        - gerrit-parameter:
343            branch: '{branch}'
344        - os-parameter:
345            os: '{os}'
346        - maven-project-parameter:
347            maven: 'mvn33-new'
348        - maven-exec:
349            maven-version: 'mvn33-new'
350        - stream-parameter:
351            stream: '{stream}'
352        - repo-name-parameter:
353            repo-name: '{repo-stream-part}.{repo-os-part}'
354
355    scm:
356        - gerrit-trigger-scm:
357            credentials-id: 'jenkins-gerrit-credentials'
358            refspec: ''
359            choosing-strategy: 'default'
360
361    wrappers:
362        - fdio-infra-wrappers:
363            build-timeout: 120
364
365    triggers:
366        - gerrit-trigger-patch-merged:
367            name: '{project}'
368            branch: '{branch}'
369
370    builders:
371        - config-file-provider:
372            files:
373              - file-id: '.packagecloud'
374                target: '/root'
375        - config-file-provider:
376            files:
377              - file-id: 'packagecloud_api'
378                target: '/root'
379        - maven-target:
380            maven-version: 'mvn33-new'
381            goals: '--version'
382            settings: 'vpp-settings'
383            settings-type: cfp
384            global-settings: 'global-settings'
385            global-settings-type: cfp
386        - shell:
387            !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
388        - shell:
389            !include-raw-escape:
390                - ../scripts/setup_vpp_dpdk_dev_env.sh
391                - include-raw-vpp-arm-build.sh
392        - provide-maven-settings:
393            settings-file: 'vpp-settings'
394            global-settings-file: 'global-settings'
395        - shell:
396            !include-raw-escape:
397                - ../scripts/packagecloud_push.sh
398        - shell:
399            !include-raw-escape:
400                - ../scripts/maven_push_functions.sh
401                - include-raw-vpp-maven-push.sh
402
403    publishers:
404        - archive:
405            artifacts: 'build-root/*.rpm,build-root/*.deb,dpdk/*.rpm,dpdk/*.deb'
406            allow-empty: 'true'
407            fingerprint: false
408            only-if-success: true
409            default-excludes: false
410        - fdio-infra-shiplogs:
411            maven-version: 'mvn33-new'
412
413- job-template:
414    name: 'vpp-checkstyle-verify-{stream}'
415
416    project-type: freestyle
417    node: '{os}-us'
418    concurrent: true
419
420    logrotate:
421        daysToKeep: '{build-days-to-keep}'
422        numToKeep: '{build-num-to-keep}'
423        artifactDaysToKeep: '{build-artifact-days-to-keep}'
424        artifactNumToKeep: '{build-artifact-num-to-keep}'
425
426    parameters:
427        - project-parameter:
428            project: '{project}'
429        - gerrit-parameter:
430            branch: '{branch}'
431        - os-parameter:
432            os: '{os}'
433        - repo-name-parameter:
434            repo-name: '{repo-stream-part}.ubuntu.xenial.main'
435
436    scm:
437        - gerrit-trigger-scm:
438            credentials-id: 'jenkins-gerrit-credentials'
439            refspec: '$GERRIT_REFSPEC'
440            choosing-strategy: 'gerrit'
441
442    wrappers:
443        - fdio-infra-wrappers:
444            build-timeout: '{build-timeout}'
445
446    triggers:
447        - gerrit:
448            server-name: 'Primary'
449            trigger-on:
450                - patchset-created-event:
451                    exclude-drafts: 'true'
452                    exclude-trivial-rebase: 'false'
453                    exclude-no-code-change: 'true'
454                - draft-published-event
455                - comment-added-contains-event:
456                    comment-contains-value: 'checkstylecheck'
457                - comment-added-contains-event:
458                    comment-contains-value: 'docsonly'
459                - comment-added-contains-event:
460                    comment-contains-value: 'recheck'
461                - comment-added-contains-event:
462                    comment-contains-value: 'reverify'
463            projects:
464                - project-compare-type: 'ANT'
465                  project-pattern: '{project}'
466                  branches:
467                    - branch-compare-type: 'ANT'
468                      branch-pattern: '**/{branch}'
469                  file-paths:
470                    - compare-type: REG_EXP
471                      pattern: ^((?!\/COMMIT_MSG|docs|_abc|_def[\/\.]).)*$
472                  forbidden-file-paths:
473                    - compare-type: REG_EXP
474                      pattern: .*docs\/.*
475                    - compare-type: REG_EXP
476                      pattern: .*extras\/emacs\/.*
477                  disable-strict-forbidden-file-verification: 'true'
478            override-votes: true
479            gerrit-build-notbuilt-verified-value: 0
480            gerrit-build-successful-verified-value: 1
481            notbuilt-message: 'Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes.'
482            failed-message: 'Checkstyle failed. No further verify jobs will be started.'
483            successful-message: 'checkstyle_success'
484            skip-vote:
485                successful: true
486                failed: false
487                unstable: false
488                notbuilt: false
489
490    builders:
491        - shell:
492            !include-raw-escape: include-raw-vpp-checkstyle.sh
493        - shell:
494            !include-raw-escape: include-raw-vpp-test-checkstyle.sh
495
496    publishers:
497        - fdio-infra-shiplogs:
498            maven-version: 'mvn33-new'
499            archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
500        - naginator:
501            rerun-unstable-builds: true
502            max-failed-builds: 1
503            fixed-delay: 90
504
505- job-template:
506    name: 'vpp-verify-{stream}-{os}'
507
508    project-type: freestyle
509    node: '{os}-us'
510    concurrent: true
511
512    logrotate:
513        daysToKeep: '{build-days-to-keep}'
514        numToKeep: 100
515        artifactDaysToKeep: '{build-artifact-days-to-keep}'
516        artifactNumToKeep: '{build-artifact-num-to-keep}'
517
518    parameters:
519        - project-parameter:
520            project: '{project}'
521        - gerrit-parameter:
522            branch: '{branch}'
523        - os-parameter:
524            os: '{os}'
525        - repo-name-parameter:
526            repo-name: '{repo-stream-part}.{repo-os-part}'
527        - stream-parameter:
528            stream: '{stream}'
529
530    scm:
531        - gerrit-trigger-scm:
532            credentials-id: 'jenkins-gerrit-credentials'
533            refspec: '$GERRIT_REFSPEC'
534            choosing-strategy: 'gerrit'
535
536    wrappers:
537        - fdio-infra-wrappers:
538            build-timeout: 120
539
540    triggers:
541        - gerrit-trigger-checkstyle:
542            name: '{project}'
543            branch: '{branch}'
544
545    builders:
546        - shell:
547            !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
548        - shell:
549            !include-raw-escape:
550                - ../scripts/setup_vpp_dpdk_dev_env.sh
551                - include-raw-vpp-build.sh
552    publishers:
553        - archive:
554            artifacts: 'build-root/*.rpm,build-root/*.deb,dpdk/*.rpm,dpdk/*.deb'
555            allow-empty: 'true'
556            fingerprint: false
557            only-if-success: true
558            default-excludes: false
559        - fdio-infra-shiplogs:
560            maven-version: 'mvn33-new'
561            archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
562        - naginator:
563            rerun-unstable-builds: false
564            max-failed-builds: 2
565            fixed-delay: 90
566
567- job-template:
568    name: 'vpp-verify-{stream}-clang'
569
570    project-type: freestyle
571    node: 'ubuntu1604-us'
572    concurrent: true
573
574    logrotate:
575        daysToKeep: '{build-days-to-keep}'
576        numToKeep: '{build-num-to-keep}'
577        artifactDaysToKeep: '{build-artifact-days-to-keep}'
578        artifactNumToKeep: '{build-artifact-num-to-keep}'
579
580    parameters:
581        - project-parameter:
582            project: '{project}'
583        - gerrit-parameter:
584            branch: '{branch}'
585        - os-parameter:
586            os: 'ubuntu1604'
587        - repo-name-parameter:
588            repo-name: '{repo-stream-part}.ubuntu.xenial.main'
589        - stream-parameter:
590            stream: '{stream}'
591
592    scm:
593        - gerrit-trigger-scm:
594            credentials-id: 'jenkins-gerrit-credentials'
595            refspec: '$GERRIT_REFSPEC'
596            choosing-strategy: 'gerrit'
597
598    wrappers:
599        - fdio-infra-wrappers:
600            build-timeout: '{build-timeout}'
601
602    triggers:
603        - gerrit-trigger-checkstyle:
604            name: '{project}'
605            branch: '{branch}'
606
607    builders:
608        - shell:
609            !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
610        - shell:
611            !include-raw-escape:
612                - ../scripts/setup_vpp_dpdk_dev_env.sh
613                - include-raw-vpp-clang-build.sh
614    publishers:
615        - fdio-infra-shiplogs:
616            maven-version: 'mvn33-new'
617            archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
618        - naginator:
619            rerun-unstable-builds: false
620            max-failed-builds: 1
621            fixed-delay: 90
622
623- job-template:
624    name: 'vpp-merge-{stream}-{os}'
625
626    project-type: freestyle
627    node: '{os}-us'
628
629    logrotate:
630        daysToKeep: '{build-days-to-keep}'
631        numToKeep: 100
632        artifactDaysToKeep: '{build-artifact-days-to-keep}'
633        artifactNumToKeep: '{build-artifact-num-to-keep}'
634
635    parameters:
636        - project-parameter:
637            project: '{project}'
638        - gerrit-parameter:
639            branch: '{branch}'
640        - os-parameter:
641            os: '{os}'
642        - maven-project-parameter:
643            maven: 'mvn33-new'
644        - maven-exec:
645            maven-version: 'mvn33-new'
646        - stream-parameter:
647            stream: '{stream}'
648        - repo-name-parameter:
649            repo-name: '{repo-stream-part}.{repo-os-part}'
650
651    scm:
652        - gerrit-trigger-scm:
653            credentials-id: 'jenkins-gerrit-credentials'
654            refspec: ''
655            choosing-strategy: 'default'
656
657    wrappers:
658        - fdio-infra-wrappers:
659            build-timeout: '{build-timeout}'
660
661    triggers:
662        - gerrit-trigger-patch-merged:
663            name: '{project}'
664            branch: '{branch}'
665
666    builders:
667        - config-file-provider:
668            files:
669              - file-id: '.packagecloud'
670                target: '/root'
671        - config-file-provider:
672            files:
673              - file-id: 'packagecloud_api'
674                target: '/root'
675        - maven-target:
676            maven-version: 'mvn33-new'
677            goals: '--version'
678            settings: 'vpp-settings'
679            settings-type: cfp
680            global-settings: 'global-settings'
681            global-settings-type: cfp
682        - shell:
683            !include-raw-escape: include-raw-vpp-checkstyle.sh
684        - shell:
685            !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
686        - shell:
687            !include-raw-escape:
688                - ../scripts/setup_vpp_dpdk_dev_env.sh
689                - include-raw-vpp-build.sh
690        - provide-maven-settings:
691            settings-file: 'vpp-settings'
692            global-settings-file: 'global-settings'
693        - shell:
694            !include-raw-escape:
695                - ../scripts/packagecloud_push.sh
696        - shell:
697            !include-raw-escape:
698                - ../scripts/maven_push_functions.sh
699                - include-raw-vpp-maven-push.sh
700
701    publishers:
702        - archive:
703            artifacts: 'build-root/*.rpm,build-root/*.deb,dpdk/*.rpm,dpdk/*.deb'
704            allow-empty: 'true'
705            fingerprint: false
706            only-if-success: true
707            default-excludes: false
708        - fdio-infra-shiplogs:
709            maven-version: 'mvn33-new'
710        - naginator:
711            rerun-unstable-builds: false
712            max-failed-builds: 1
713            fixed-delay: 90
714
715- job-template:
716    name: 'vpp-csit-verify-virl-{stream}'
717
718    project-type: freestyle
719    node: '{os}-us'
720    concurrent: true
721
722    logrotate:
723        daysToKeep: '{build-days-to-keep}'
724        numToKeep: 100
725        artifactDaysToKeep: '{build-artifact-days-to-keep}'
726        artifactNumToKeep: '{build-artifact-num-to-keep}'
727
728    parameters:
729        - project-parameter:
730            project: '{project}'
731        - gerrit-parameter:
732            branch: '{branch}'
733        - os-parameter:
734            os: '{os}'
735        - repo-name-parameter:
736            repo-name: '{repo-stream-part}.ubuntu.xenial.main'
737        - is-csit-vpp-job-parameter:
738            is-csit-vpp-job: 'True'
739        - string:
740            name: CSIT_REF
741            description: "Also testing CSIT_REF"
742        - stream-parameter:
743            stream: '{stream}'
744
745    scm:
746        - gerrit-trigger-scm:
747            credentials-id: 'jenkins-gerrit-credentials'
748            refspec: '$GERRIT_REFSPEC'
749            choosing-strategy: 'gerrit'
750
751    wrappers:
752        - fdio-infra-wrappers:
753            build-timeout: '90'
754
755    triggers:
756        - gerrit-trigger-checkstyle-nonvoting:
757            name: '{project}'
758            branch: '{branch}'
759
760    builders:
761        - shell: 'echo "VPP_BRANCH={branch}" > $WORKSPACE/variables.prop'
762        - inject:
763            properties-file: variables.prop
764        - shell:
765            !include-raw-escape:
766                - ../scripts/setup_vpp_ubuntu_docker_test.sh
767                - ../scripts/setup_vpp_dpdk_dev_env.sh
768                - include-raw-vpp-build.sh
769        - shell:
770            !include-raw-escape:
771                - include-raw-vpp-csit-functional.sh
772
773    publishers:
774        - archive-artifacts:
775            artifacts: 'csit/report.html, csit/log.html, csit/output.xml'
776            latest-only: false
777
778        - robot-report:
779            output-path: 'csit'
780
781        - fdio-infra-shiplogs:
782            maven-version: 'mvn33-new'
783
784- job-template:
785    name: 'vpp-csit-verify-perf-{stream}-2n-skx'
786
787    project-type: freestyle
788    node: '{os}-basebuild-8c-32g'
789    concurrent: true
790
791    logrotate:
792        daysToKeep: '{build-days-to-keep}'
793        numToKeep: 100
794        artifactDaysToKeep: '{build-artifact-days-to-keep}'
795        artifactNumToKeep: '{build-artifact-num-to-keep}'
796
797    parameters:
798        - project-parameter:
799            project: '{project}'
800        - gerrit-parameter:
801            branch: '{branch}'
802        - os-parameter:
803            os: '{os}'
804        - repo-name-parameter:
805            repo-name: '{repo-stream-part}.ubuntu.bionic.main'
806        - gerrit-refspec-parameter
807        - gerrit-event-type-parameter
808        - gerrit-event-comment-text-parameter
809        - gerrit-csit-refspec-parameter
810        - string:
811            name: CSIT_PERF_TRIAL_DURATION
812            default: "1.0"
813            description: "Duration of a trial measurement in BMRR tests."
814        - string:
815            name: CSIT_PERF_TRIAL_MULTIPLICITY
816            default: "30"
817            description: "Number of subsamples for BMRR tests."
818        - stream-parameter:
819            stream: '{stream}'
820
821    scm:
822        - gerrit-trigger-scm:
823            credentials-id: 'jenkins-gerrit-credentials'
824            refspec: '$GERRIT_REFSPEC'
825            choosing-strategy: 'gerrit'
826
827    wrappers:
828        - fdio-infra-wrappers-non-activity-timeout:
829            build-timeout: 300
830
831    triggers:
832        - gerrit:
833            server-name: 'Primary'
834            trigger-on:
835                - comment-added-contains-event:
836                    comment-contains-value: 'perftest'
837            projects:
838              - project-compare-type: 'ANT'
839                project-pattern: '{project}'
840                branches:
841                  - branch-compare-type: 'ANT'
842                    branch-pattern: '**/{branch}'
843            skip-vote:
844                successful: true
845                failed: true
846                unstable: true
847                notbuilt: true
848
849    builders:
850        - shell:
851            !include-raw-escape:
852                - clone-csit-run-main.sh
853
854    publishers:
855        - archive-artifacts:
856            artifacts: 'csit_new/*.*, csit_parent/*.*'
857            latest-only: false
858
859        - robot-report:
860            output-path: 'csit_new/'
861
862        - fdio-infra-shiplogs:
863            maven-version: 'mvn33-new'
864
865- parameter:
866    name: type-parameter
867
868    parameters:
869        - string:
870            name: TYPE
871            default: '{type}'
872            description: "TYPE parameter if not given by trigger"
873
874