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