vpp.yaml revision 0562585d
1---
2- project:
3    name: vpp
4    jobs:
5        - 'vpp-verify-{stream}-{os}'
6        - 'vpp-merge-{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
12    project: 'vpp'
13    os:
14      - ubuntu1604:
15          repo-os-part: 'ubuntu.xenial.main'
16      - centos7:
17          repo-os-part: 'centos7'
18
19    stream:
20        - master:
21            branch: 'master'
22            repo-stream-part: 'master'
23        - '1801':
24            branch: 'stable/1801'
25            repo-stream-part: 'stable.1801'
26        - '1804':
27            branch: 'stable/1804'
28            repo-stream-part: 'stable.1804'
29        - '1807':
30            branch: 'stable/1807'
31            repo-stream-part: 'stable.1807'
32    type:
33        - short
34        - long
35
36- project:
37    name: vpp-clang
38    jobs:
39        - 'vpp-verify-{stream}-clang'
40
41    project: 'vpp'
42    os:
43      - ubuntu1604:
44          repo-os-part: 'ubuntu.xenial.main'
45      - centos7:
46          repo-os-part: 'centos7'
47      - opensuse:
48          repo-os-part: 'opensuse'
49
50    stream:
51        - master:
52            branch: 'master'
53            repo-stream-part: 'master'
54
55- project:
56    name: vpp-misc
57    jobs:
58        - 'vpp-csit-verify-virl-{stream}'
59        - 'vpp-csit-verify-hw-perf-{stream}'
60        - 'vpp-checkstyle-verify-{stream}'
61    project: 'vpp'
62    stream:
63        - master:
64            branch: 'master'
65            repo-stream-part: 'master'
66        - '1801':
67            branch: 'stable/1801'
68            repo-stream-part: 'stable.1801'
69        - '1804':
70            branch: 'stable/1804'
71            repo-stream-part: 'stable.1804'
72        - '1807':
73            branch: 'stable/1807'
74            repo-stream-part: 'stable.1807'
75    os: ubuntu1604
76
77- project:
78    name: vpp-master-only
79    jobs:
80        - 'vpp-beta-verify-{stream}-{os}'
81        - 'vpp-beta-merge-{stream}-{os}'
82    project: 'vpp'
83    stream:
84        - master:
85            branch: 'master'
86            repo-stream-part: 'master'
87        - '1807':
88            branch: 'stable/1807'
89            repo-stream-part: 'stable.1807'
90    os:
91      - ubuntu1804:
92          repo-os-part: 'ubuntu.bionic.main'
93
94- project:
95    name: vpp-arm
96    jobs:
97        - 'vpp-arm-verify-{stream}-{os}'
98        - 'vpp-arm-merge-{stream}-{os}'
99    project: 'vpp'
100    stream:
101        - master:
102            branch: 'master'
103            repo-stream-part: 'master'
104        - '1804':
105            branch: 'stable/1804'
106            repo-stream-part: 'stable.1804'
107        - '1807':
108            branch: 'stable/1807'
109            repo-stream-part: 'stable.1807'
110    os:
111      - ubuntu1604:
112          repo-os-part: 'ubuntu-arm.xenial.main'
113
114- job-template:
115    name: 'vpp-beta-verify-{stream}-{os}'
116
117    project-type: freestyle
118    node: '{os}-us'
119    concurrent: true
120    triggers:
121        - gerrit-trigger-checkstyle:
122            name: '{project}'
123            branch: '{branch}'
124
125    logrotate:
126        daysToKeep: '{build-days-to-keep}'
127        numToKeep: 100
128        artifactDaysToKeep: '{build-artifact-days-to-keep}'
129        artifactNumToKeep: '{build-artifact-num-to-keep}'
130
131    parameters:
132        - project-parameter:
133            project: '{project}'
134        - gerrit-parameter:
135            branch: '{branch}'
136        - os-parameter:
137            os: '{os}'
138        - repo-name-parameter:
139            repo-name: '{repo-stream-part}.{repo-os-part}'
140
141    scm:
142        - gerrit-trigger-scm:
143            credentials-id: 'jenkins-gerrit-credentials'
144            refspec: '$GERRIT_REFSPEC'
145            choosing-strategy: 'gerrit'
146
147    wrappers:
148        - fdio-infra-wrappers:
149            build-timeout: '{build-timeout}'
150
151    builders:
152        - shell:
153            !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
154        - shell:
155            !include-raw-escape:
156                - ../scripts/setup_vpp_dpdk_dev_env.sh
157                - include-raw-vpp-build.sh
158    publishers:
159        - archive:
160            artifacts: 'build-root/*.rpm,build-root/*.deb,dpdk/*.rpm,dpdk/*.deb'
161            allow-empty: 'true'
162            fingerprint: false
163            only-if-success: true
164            default-excludes: false
165        - fdio-infra-shiplogs:
166            maven-version: 'mvn33-new'
167            archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
168        - naginator:
169            rerun-unstable-builds: false
170            max-failed-builds: 1
171            fixed-delay: 90
172
173- job-template:
174    name: 'vpp-beta-merge-{stream}-{os}'
175
176    project-type: freestyle
177    node: '{os}-us'
178
179    logrotate:
180        daysToKeep: '{build-days-to-keep}'
181        numToKeep: 100
182        artifactDaysToKeep: '{build-artifact-days-to-keep}'
183        artifactNumToKeep: '{build-artifact-num-to-keep}'
184
185    parameters:
186        - project-parameter:
187            project: '{project}'
188        - gerrit-parameter:
189            branch: '{branch}'
190        - os-parameter:
191            os: '{os}'
192        - maven-project-parameter:
193            maven: 'mvn33-new'
194        - maven-exec:
195            maven-version: 'mvn33-new'
196        - stream-parameter:
197            stream: '{stream}'
198        - repo-name-parameter:
199            repo-name: '{repo-stream-part}.{repo-os-part}'
200
201    scm:
202        - gerrit-trigger-scm:
203            credentials-id: 'jenkins-gerrit-credentials'
204            refspec: ''
205            choosing-strategy: 'default'
206
207    wrappers:
208        - fdio-infra-wrappers:
209            build-timeout: '{build-timeout}'
210
211    triggers:
212        - gerrit-trigger-patch-merged:
213            name: '{project}'
214            branch: '{branch}'
215
216    builders:
217        - config-file-provider:
218            files:
219              - file-id: '.packagecloud'
220                target: '/root'
221        - config-file-provider:
222            files:
223              - file-id: 'packagecloud_api'
224                target: '/root'
225        - maven-target:
226            maven-version: 'mvn33-new'
227            goals: '--version'
228            settings: 'vpp-settings'
229            settings-type: cfp
230            global-settings: 'global-settings'
231            global-settings-type: cfp
232        - shell:
233            !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
234        - shell:
235            !include-raw-escape:
236                - ../scripts/setup_vpp_dpdk_dev_env.sh
237                - include-raw-vpp-build.sh
238        - provide-maven-settings:
239            settings-file: 'vpp-settings'
240            global-settings-file: 'global-settings'
241        - shell:
242            !include-raw-escape:
243                - ../scripts/packagecloud_push.sh
244        - shell:
245            !include-raw-escape:
246                - ../scripts/maven_push_functions.sh
247                - include-raw-vpp-maven-push.sh
248
249
250    publishers:
251        - archive:
252            artifacts: 'build-root/*.rpm,build-root/*.deb,dpdk/*.rpm,dpdk/*.deb'
253            allow-empty: 'true'
254            fingerprint: false
255            only-if-success: true
256            default-excludes: false
257        - fdio-infra-shiplogs:
258            maven-version: 'mvn33-new'
259
260- job-template:
261    name: 'vpp-arm-verify-{stream}-{os}'
262
263    project-type: freestyle
264    node: '{os}arm-us'
265    concurrent: true
266
267    logrotate:
268        daysToKeep: '{build-days-to-keep}'
269        numToKeep: 100
270        artifactDaysToKeep: '{build-artifact-days-to-keep}'
271        artifactNumToKeep: '{build-artifact-num-to-keep}'
272
273    parameters:
274        - project-parameter:
275            project: '{project}'
276        - gerrit-parameter:
277            branch: '{branch}'
278        - os-parameter:
279            os: '{os}'
280        - repo-name-parameter:
281            repo-name: '{repo-stream-part}.{repo-os-part}'
282
283    scm:
284        - gerrit-trigger-scm:
285            credentials-id: 'jenkins-gerrit-credentials'
286            refspec: '$GERRIT_REFSPEC'
287            choosing-strategy: 'gerrit'
288
289    wrappers:
290        - fdio-infra-wrappers:
291            build-timeout: '{build-timeout}'
292
293    triggers:
294        - gerrit-trigger-checkstyle:
295            name: '{project}'
296            branch: '{branch}'
297
298    builders:
299        - shell:
300            !include-raw-escape: ../scripts/setup_vpp_ubuntu_arm_test.sh
301        - shell:
302            !include-raw-escape:
303                - ../scripts/setup_vpp_dpdk_dev_env.sh
304                - include-raw-vpp-arm-build.sh
305    publishers:
306        - archive:
307            artifacts: 'build-root/*.rpm,build-root/*.deb,dpdk/*.rpm,dpdk/*.deb'
308            allow-empty: 'true'
309            fingerprint: false
310            only-if-success: true
311            default-excludes: false
312        - fdio-infra-shiplogs:
313            maven-version: 'mvn33-new'
314            archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
315
316- job-template:
317    name: 'vpp-arm-merge-{stream}-{os}'
318
319    project-type: freestyle
320    node: '{os}arm-us'
321
322    logrotate:
323        daysToKeep: '{build-days-to-keep}'
324        numToKeep: 100
325        artifactDaysToKeep: '{build-artifact-days-to-keep}'
326        artifactNumToKeep: '{build-artifact-num-to-keep}'
327
328    parameters:
329        - project-parameter:
330            project: '{project}'
331        - gerrit-parameter:
332            branch: '{branch}'
333        - os-parameter:
334            os: '{os}'
335        - maven-project-parameter:
336            maven: 'mvn33-new'
337        - maven-exec:
338            maven-version: 'mvn33-new'
339        - stream-parameter:
340            stream: '{stream}'
341        - repo-name-parameter:
342            repo-name: '{repo-stream-part}.{repo-os-part}'
343
344    scm:
345        - gerrit-trigger-scm:
346            credentials-id: 'jenkins-gerrit-credentials'
347            refspec: ''
348            choosing-strategy: 'default'
349
350    wrappers:
351        - fdio-infra-wrappers:
352            build-timeout: '{build-timeout}'
353
354    triggers:
355        - gerrit-trigger-patch-merged:
356            name: '{project}'
357            branch: '{branch}'
358
359    builders:
360        - config-file-provider:
361            files:
362              - file-id: '.packagecloud'
363                target: '/root'
364        - config-file-provider:
365            files:
366              - file-id: 'packagecloud_api'
367                target: '/root'
368        - maven-target:
369            maven-version: 'mvn33-new'
370            goals: '--version'
371            settings: 'vpp-settings'
372            settings-type: cfp
373            global-settings: 'global-settings'
374            global-settings-type: cfp
375        - shell:
376            !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
377        - shell:
378            !include-raw-escape:
379                - ../scripts/setup_vpp_dpdk_dev_env.sh
380                - include-raw-vpp-arm-build.sh
381        - provide-maven-settings:
382            settings-file: 'vpp-settings'
383            global-settings-file: 'global-settings'
384        - shell:
385            !include-raw-escape:
386                - ../scripts/maven_push_functions.sh
387                - include-raw-vpp-maven-push.sh
388        - shell:
389            !include-raw-escape:
390                - ../scripts/packagecloud_push.sh
391
392    publishers:
393        - archive:
394            artifacts: 'build-root/*.rpm,build-root/*.deb,dpdk/*.rpm,dpdk/*.deb'
395            allow-empty: 'true'
396            fingerprint: false
397            only-if-success: true
398            default-excludes: false
399        - fdio-infra-shiplogs:
400            maven-version: 'mvn33-new'
401
402- job-template:
403    name: 'vpp-checkstyle-verify-{stream}'
404
405    project-type: freestyle
406    node: '{os}-us'
407    concurrent: true
408
409    logrotate:
410        daysToKeep: '{build-days-to-keep}'
411        numToKeep: '{build-num-to-keep}'
412        artifactDaysToKeep: '{build-artifact-days-to-keep}'
413        artifactNumToKeep: '{build-artifact-num-to-keep}'
414
415    parameters:
416        - project-parameter:
417            project: '{project}'
418        - gerrit-parameter:
419            branch: '{branch}'
420        - os-parameter:
421            os: '{os}'
422        - repo-name-parameter:
423            repo-name: '{repo-stream-part}.ubuntu.xenial.main'
424
425    scm:
426        - gerrit-trigger-scm:
427            credentials-id: 'jenkins-gerrit-credentials'
428            refspec: '$GERRIT_REFSPEC'
429            choosing-strategy: 'gerrit'
430
431    wrappers:
432        - fdio-infra-wrappers:
433            build-timeout: '{build-timeout}'
434
435    triggers:
436        - gerrit:
437            server-name: 'Primary'
438            trigger-on:
439                - patchset-created-event:
440                    exclude-drafts: 'true'
441                    exclude-trivial-rebase: 'false'
442                    exclude-no-code-change: 'true'
443                - draft-published-event
444                - comment-added-contains-event:
445                    comment-contains-value: 'checkstylecheck'
446                - comment-added-contains-event:
447                    comment-contains-value: 'docsonly'
448                - comment-added-contains-event:
449                    comment-contains-value: 'recheck'
450                - comment-added-contains-event:
451                    comment-contains-value: 'reverify'
452            projects:
453                - project-compare-type: 'ANT'
454                  project-pattern: '{project}'
455                  branches:
456                    - branch-compare-type: 'ANT'
457                      branch-pattern: '**/{branch}'
458                  file-paths:
459                    - compare-type: REG_EXP
460                      pattern: ^((?!\/COMMIT_MSG|docs|_abc|_def[\/\.]).)*$
461                  forbidden-file-paths:
462                    - compare-type: REG_EXP
463                      pattern: .*docs\/.*
464                    - compare-type: REG_EXP
465                      pattern: .*extras\/emacs\/.*
466                  disable-strict-forbidden-file-verification: 'true'
467            override-votes: true
468            gerrit-build-notbuilt-verified-value: 0
469            gerrit-build-successful-verified-value: 1
470            notbuilt-message: 'Automatic retry of failed jobs may be in process. A proper vote should be set when retry completes.'
471            failed-message: 'Checkstyle failed. No further verify jobs will be started.'
472            successful-message: 'checkstyle_success'
473            skip-vote:
474                successful: true
475                failed: false
476                unstable: false
477                notbuilt: false
478
479    builders:
480        - shell:
481            !include-raw-escape: include-raw-vpp-checkstyle.sh
482        - shell:
483            !include-raw-escape: include-raw-vpp-test-checkstyle.sh
484
485    publishers:
486        - fdio-infra-shiplogs:
487            maven-version: 'mvn33-new'
488            archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
489        - naginator:
490            rerun-unstable-builds: true
491            max-failed-builds: 1
492            fixed-delay: 90
493
494
495
496- job-template:
497    name: 'vpp-verify-{stream}-{os}'
498
499    project-type: freestyle
500    node: '{os}-us'
501    concurrent: true
502
503    logrotate:
504        daysToKeep: '{build-days-to-keep}'
505        numToKeep: 100
506        artifactDaysToKeep: '{build-artifact-days-to-keep}'
507        artifactNumToKeep: '{build-artifact-num-to-keep}'
508
509    parameters:
510        - project-parameter:
511            project: '{project}'
512        - gerrit-parameter:
513            branch: '{branch}'
514        - os-parameter:
515            os: '{os}'
516        - repo-name-parameter:
517            repo-name: '{repo-stream-part}.{repo-os-part}'
518
519    scm:
520        - gerrit-trigger-scm:
521            credentials-id: 'jenkins-gerrit-credentials'
522            refspec: '$GERRIT_REFSPEC'
523            choosing-strategy: 'gerrit'
524
525    wrappers:
526        - fdio-infra-wrappers:
527            build-timeout: '{build-timeout}'
528
529    triggers:
530        - gerrit-trigger-checkstyle:
531            name: '{project}'
532            branch: '{branch}'
533
534    builders:
535        - shell:
536            !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
537        - shell:
538            !include-raw-escape:
539                - ../scripts/setup_vpp_dpdk_dev_env.sh
540                - include-raw-vpp-build.sh
541    publishers:
542        - archive:
543            artifacts: 'build-root/*.rpm,build-root/*.deb,dpdk/*.rpm,dpdk/*.deb'
544            allow-empty: 'true'
545            fingerprint: false
546            only-if-success: true
547            default-excludes: false
548        - fdio-infra-shiplogs:
549            maven-version: 'mvn33-new'
550            archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
551        - naginator:
552            rerun-unstable-builds: false
553            max-failed-builds: 2
554            fixed-delay: 90
555
556- job-template:
557    name: 'vpp-verify-{stream}-clang'
558
559    project-type: freestyle
560    node: 'ubuntu1604-us'
561    concurrent: true
562
563    logrotate:
564        daysToKeep: '{build-days-to-keep}'
565        numToKeep: '{build-num-to-keep}'
566        artifactDaysToKeep: '{build-artifact-days-to-keep}'
567        artifactNumToKeep: '{build-artifact-num-to-keep}'
568
569    parameters:
570        - project-parameter:
571            project: '{project}'
572        - gerrit-parameter:
573            branch: '{branch}'
574        - os-parameter:
575            os: 'ubuntu1604'
576        - repo-name-parameter:
577            repo-name: '{repo-stream-part}.ubuntu.xenial.main'
578
579    scm:
580        - gerrit-trigger-scm:
581            credentials-id: 'jenkins-gerrit-credentials'
582            refspec: '$GERRIT_REFSPEC'
583            choosing-strategy: 'gerrit'
584
585    wrappers:
586        - fdio-infra-wrappers:
587            build-timeout: '{build-timeout}'
588
589    triggers:
590        - gerrit-trigger-checkstyle:
591            name: '{project}'
592            branch: '{branch}'
593
594    builders:
595        - shell:
596            !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
597        - shell:
598            !include-raw-escape:
599                - ../scripts/setup_vpp_dpdk_dev_env.sh
600                - include-raw-vpp-clang-build.sh
601    publishers:
602        - fdio-infra-shiplogs:
603            maven-version: 'mvn33-new'
604            archive-artifacts: '/tmp/vpp-failed-unittests/*/* **/core'
605        - naginator:
606            rerun-unstable-builds: false
607            max-failed-builds: 1
608            fixed-delay: 90
609
610- job-template:
611    name: 'vpp-merge-{stream}-{os}'
612
613    project-type: freestyle
614    node: '{os}-us'
615
616    logrotate:
617        daysToKeep: '{build-days-to-keep}'
618        numToKeep: 100
619        artifactDaysToKeep: '{build-artifact-days-to-keep}'
620        artifactNumToKeep: '{build-artifact-num-to-keep}'
621
622    parameters:
623        - project-parameter:
624            project: '{project}'
625        - gerrit-parameter:
626            branch: '{branch}'
627        - os-parameter:
628            os: '{os}'
629        - maven-project-parameter:
630            maven: 'mvn33-new'
631        - maven-exec:
632            maven-version: 'mvn33-new'
633        - stream-parameter:
634            stream: '{stream}'
635        - repo-name-parameter:
636            repo-name: '{repo-stream-part}.{repo-os-part}'
637
638    scm:
639        - gerrit-trigger-scm:
640            credentials-id: 'jenkins-gerrit-credentials'
641            refspec: ''
642            choosing-strategy: 'default'
643
644    wrappers:
645        - fdio-infra-wrappers:
646            build-timeout: '{build-timeout}'
647
648    triggers:
649        - gerrit-trigger-patch-merged:
650            name: '{project}'
651            branch: '{branch}'
652
653    builders:
654        - config-file-provider:
655            files:
656              - file-id: '.packagecloud'
657                target: '/root'
658        - config-file-provider:
659            files:
660              - file-id: 'packagecloud_api'
661                target: '/root'
662        - maven-target:
663            maven-version: 'mvn33-new'
664            goals: '--version'
665            settings: 'vpp-settings'
666            settings-type: cfp
667            global-settings: 'global-settings'
668            global-settings-type: cfp
669        - shell:
670            !include-raw-escape: include-raw-vpp-checkstyle.sh
671        - shell:
672            !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
673        - shell:
674            !include-raw-escape:
675                - ../scripts/setup_vpp_dpdk_dev_env.sh
676                - include-raw-vpp-build.sh
677        - provide-maven-settings:
678            settings-file: 'vpp-settings'
679            global-settings-file: 'global-settings'
680        - shell:
681            !include-raw-escape:
682                - ../scripts/maven_push_functions.sh
683                - include-raw-vpp-maven-push.sh
684        - shell:
685            !include-raw-escape:
686                - ../scripts/packagecloud_push.sh
687
688    publishers:
689        - archive:
690            artifacts: 'build-root/*.rpm,build-root/*.deb,dpdk/*.rpm,dpdk/*.deb'
691            allow-empty: 'true'
692            fingerprint: false
693            only-if-success: true
694            default-excludes: false
695        - fdio-infra-shiplogs:
696            maven-version: 'mvn33-new'
697        - naginator:
698            rerun-unstable-builds: false
699            max-failed-builds: 1
700            fixed-delay: 90
701
702- job-template:
703    name: 'vpp-csit-verify-virl-{stream}'
704
705    project-type: freestyle
706    node: '{os}-us'
707    concurrent: true
708
709    logrotate:
710        daysToKeep: '{build-days-to-keep}'
711        numToKeep: 100
712        artifactDaysToKeep: '{build-artifact-days-to-keep}'
713        artifactNumToKeep: '{build-artifact-num-to-keep}'
714
715    parameters:
716        - project-parameter:
717            project: '{project}'
718        - gerrit-parameter:
719            branch: '{branch}'
720        - os-parameter:
721            os: '{os}'
722        - repo-name-parameter:
723            repo-name: '{repo-stream-part}.ubuntu.xenial.main'
724        - is-csit-vpp-job-parameter:
725            is-csit-vpp-job: 'True'
726        - string:
727            name: CSIT_REF
728            description: "Also testing CSIT_REF"
729
730    scm:
731        - gerrit-trigger-scm:
732            credentials-id: 'jenkins-gerrit-credentials'
733            refspec: '$GERRIT_REFSPEC'
734            choosing-strategy: 'gerrit'
735
736    wrappers:
737        - fdio-infra-wrappers:
738            build-timeout: '{build-timeout}'
739
740    triggers:
741        - gerrit-trigger-checkstyle-nonvoting:
742            name: '{project}'
743            branch: '{branch}'
744
745    builders:
746        - shell: 'echo "VPP_BRANCH={branch}" > $WORKSPACE/variables.prop'
747        - inject:
748            properties-file: variables.prop
749        - shell:
750            !include-raw-escape:
751                - ../scripts/setup_vpp_ubuntu_docker_test.sh
752                - ../scripts/setup_vpp_dpdk_dev_env.sh
753                - include-raw-vpp-build.sh
754        - shell:
755            !include-raw-escape:
756                - include-raw-vpp-csit-functional.sh
757
758    publishers:
759        - archive-artifacts:
760            artifacts: 'csit/report.html, csit/log.html, csit/output.xml'
761            latest-only: false
762
763        - robot-report:
764            output-path: 'csit'
765
766        - fdio-infra-shiplogs:
767            maven-version: 'mvn33-new'
768
769        - naginator:
770            rerun-unstable-builds: false
771            max-failed-builds: 1
772            fixed-delay: 90
773
774- job-template:
775    name: 'vpp-csit-verify-hw-perf-{stream}'
776
777    project-type: freestyle
778    node: '{os}-basebuild-8c-32g'
779    concurrent: false
780
781    logrotate:
782        daysToKeep: '{build-days-to-keep}'
783        numToKeep: 100
784        artifactDaysToKeep: '{build-artifact-days-to-keep}'
785        artifactNumToKeep: '{build-artifact-num-to-keep}'
786
787    parameters:
788        - project-parameter:
789            project: '{project}'
790        - gerrit-parameter:
791            branch: '{branch}'
792        - os-parameter:
793            os: '{os}'
794        - repo-name-parameter:
795            repo-name: '{repo-stream-part}.ubuntu.xenial.main'
796        - is-csit-vpp-job-parameter:
797            is-csit-vpp-job: 'True'
798
799    scm:
800        - gerrit-trigger-scm:
801            credentials-id: 'jenkins-gerrit-credentials'
802            refspec: '$GERRIT_REFSPEC'
803            choosing-strategy: 'gerrit'
804
805    wrappers:
806        - fdio-infra-wrappers-non-activity-timeout:
807            build-timeout: 30
808
809    triggers:
810        - gerrit:
811            server-name: 'Primary'
812            trigger-on:
813                - comment-added-contains-event:
814                    comment-contains-value: 'perftest'
815            projects:
816              - project-compare-type: 'ANT'
817                project-pattern: '{project}'
818                branches:
819                  - branch-compare-type: 'ANT'
820                    branch-pattern: '**/{branch}'
821            skip-vote:
822                successful: false
823                failed: false
824                unstable: false
825                notbuilt: false
826
827    builders:
828        - shell: 'echo "VPP_BRANCH={branch}" > $WORKSPACE/variables.prop'
829        - inject:
830            properties-file: variables.prop
831        - shell:
832            !include-raw-escape:
833                - ../scripts/setup_vpp_dpdk_dev_env.sh
834                - include-raw-vpp-build.sh
835        - shell:
836            !include-raw-escape:
837                - include-raw-vpp-csit-verify-perf.sh
838
839    publishers:
840        - archive-artifacts:
841            artifacts: 'csit/archive/*.*'
842            latest-only: false
843
844        - robot-report:
845            output-path: 'csit/archive/*.*'
846
847        - fdio-infra-shiplogs:
848            maven-version: 'mvn33-new'
849
850- parameter:
851    name: type-parameter
852
853    parameters:
854        - string:
855            name: TYPE
856            default: '{type}'
857            description: "TYPE parameter if not given by trigger"
858
859- job-template:
860    name: 'vpp-docs-verify-{stream}'
861
862    project-type: freestyle
863    node: ubuntu1604-us
864    concurrent: false
865
866    logrotate:
867        daysToKeep: '{build-days-to-keep}'
868        numToKeep: '{build-num-to-keep}'
869        artifactDaysToKeep: '{build-artifact-days-to-keep}'
870        artifactNumToKeep: '{build-artifact-num-to-keep}'
871
872    parameters:
873        - project-parameter:
874            project: '{project}'
875        - gerrit-parameter:
876            branch: '{branch}'
877        - os-parameter:
878            os: 'ubuntu1604'
879        - maven-exec:
880            maven-version: 'mvn33-new'
881
882    scm:
883        - gerrit-trigger-scm:
884            credentials-id: 'jenkins-gerrit-credentials'
885            refspec: '$GERRIT_REFSPEC'
886            choosing-strategy: 'gerrit'
887
888    wrappers:
889        - fdio-infra-wrappers:
890            build-timeout: '{build-timeout}'
891
892    triggers:
893        - gerrit-trigger-checkstyle:
894            name: '{project}'
895            branch: '{branch}'
896
897    builders:
898        - maven-target:
899            maven-version: 'mvn33-new'
900            goals: '--version'
901            settings: 'vpp-settings'
902            settings-type: cfp
903            global-settings: 'global-settings'
904            global-settings-type: cfp
905        - provide-maven-settings:
906            settings-file: 'vpp-settings'
907            global-settings-file: 'global-settings'
908        - shell:
909            !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
910        - shell:
911            !include-raw-escape: include-raw-vpp-docs.sh
912    publishers:
913        - archive:
914            artifacts: 'build-root/docs/html/*'
915            allow-empty: 'true'
916            fingerprint: false
917            only-if-success: true
918            default-excludes: false
919        - fdio-infra-shiplogs:
920            maven-version: 'mvn33-new'
921        - naginator:
922            rerun-unstable-builds: false
923            max-failed-builds: 1
924            fixed-delay: 90
925
926- job-template:
927    name: 'vpp-docs-merge-{stream}'
928
929    project-type: freestyle
930    node: ubuntu1604-us
931    concurrent: true
932
933    logrotate:
934        daysToKeep: '{build-days-to-keep}'
935        numToKeep: '{build-num-to-keep}'
936        artifactDaysToKeep: '{build-artifact-days-to-keep}'
937        artifactNumToKeep: '{build-artifact-num-to-keep}'
938
939    parameters:
940        - project-parameter:
941            project: '{project}'
942        - gerrit-parameter:
943            branch: '{branch}'
944        - os-parameter:
945            os: 'ubuntu1604'
946        - maven-exec:
947            maven-version: 'mvn33-new'
948
949    scm:
950        - gerrit-trigger-scm:
951            credentials-id: 'jenkins-gerrit-credentials'
952            refspec: ''
953            choosing-strategy: 'default'
954
955    wrappers:
956        - fdio-infra-wrappers:
957            build-timeout: '{build-timeout}'
958
959    triggers:
960        - reverse:
961            jobs: 'vpp-merge-{stream}-ubuntu1604'
962            result: 'success'
963        - gerrit:
964            server-name: 'Primary'
965            trigger-on:
966                - comment-added-contains-event:
967                    comment-contains-value: 'run-docs'
968            projects:
969              - project-compare-type: 'ANT'
970                project-pattern: '{project}'
971                branches:
972                  - branch-compare-type: 'ANT'
973                    branch-pattern: '**/{branch}'
974            skip-vote:
975                successful: true
976                failed: true
977                unstable: true
978                notbuilt: true
979
980    builders:
981        - maven-target:
982            maven-version: 'mvn33-new'
983            goals: '--version'
984            settings: 'vpp-settings'
985            settings-type: cfp
986            global-settings: 'global-settings'
987            global-settings-type: cfp
988        - provide-maven-settings:
989            settings-file: 'vpp-settings'
990            global-settings-file: 'global-settings'
991        - shell:
992            !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
993        - shell:
994            !include-raw-escape: include-raw-vpp-docs.sh
995    publishers:
996        - archive:
997            artifacts: 'build-root/docs/html/*'
998            allow-empty: 'true'
999            fingerprint: false
1000            only-if-success: true
1001            default-excludes: false
1002        - fdio-infra-shiplogs:
1003            maven-version: 'mvn33-new'
1004        - naginator:
1005            rerun-unstable-builds: false
1006            max-failed-builds: 1
1007            fixed-delay: 90
1008
1009
1010- job-template:
1011    name: 'vpp-make-test-docs-verify-{stream}'
1012
1013    project-type: freestyle
1014    node: ubuntu1604-us
1015    concurrent: true
1016
1017    logrotate:
1018        daysToKeep: '{build-days-to-keep}'
1019        numToKeep: '{build-num-to-keep}'
1020        artifactDaysToKeep: '{build-artifact-days-to-keep}'
1021        artifactNumToKeep: '{build-artifact-num-to-keep}'
1022
1023    parameters:
1024        - project-parameter:
1025            project: '{project}'
1026        - gerrit-parameter:
1027            branch: '{branch}'
1028        - os-parameter:
1029            os: 'ubuntu1604'
1030        - maven-exec:
1031            maven-version: 'mvn33-new'
1032
1033    scm:
1034        - gerrit-trigger-scm:
1035            credentials-id: 'jenkins-gerrit-credentials'
1036            refspec: '$GERRIT_REFSPEC'
1037            choosing-strategy: 'gerrit'
1038
1039    wrappers:
1040        - fdio-infra-wrappers:
1041            build-timeout: '{build-timeout}'
1042
1043    triggers:
1044        - gerrit-trigger-checkstyle:
1045            name: '{project}'
1046            branch: '{branch}'
1047
1048    builders:
1049        - maven-target:
1050            maven-version: 'mvn33-new'
1051            goals: '--version'
1052            settings: 'vpp-settings'
1053            settings-type: cfp
1054            global-settings: 'global-settings'
1055            global-settings-type: cfp
1056        - provide-maven-settings:
1057            settings-file: 'vpp-settings'
1058            global-settings-file: 'global-settings'
1059        - shell:
1060            !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
1061        - shell:
1062            !include-raw-escape: include-raw-vpp-make-test-docs.sh
1063    publishers:
1064        - archive:
1065            artifacts: 'build-root/test-doc/build/html/*'
1066            allow-empty: 'true'
1067            fingerprint: false
1068            only-if-success: true
1069            default-excludes: false
1070        - fdio-infra-shiplogs:
1071            maven-version: 'mvn33-new'
1072        - naginator:
1073            rerun-unstable-builds: false
1074            max-failed-builds: 1
1075            fixed-delay: 90
1076
1077- job-template:
1078    name: 'vpp-make-test-docs-merge-{stream}'
1079
1080    project-type: freestyle
1081    node: ubuntu1604-us
1082    concurrent: true
1083
1084    logrotate:
1085        daysToKeep: '{build-days-to-keep}'
1086        numToKeep: '{build-num-to-keep}'
1087        artifactDaysToKeep: '{build-artifact-days-to-keep}'
1088        artifactNumToKeep: '{build-artifact-num-to-keep}'
1089
1090    parameters:
1091        - project-parameter:
1092            project: '{project}'
1093        - gerrit-parameter:
1094            branch: '{branch}'
1095        - os-parameter:
1096            os: 'ubuntu1604'
1097        - maven-exec:
1098            maven-version: 'mvn33-new'
1099
1100    scm:
1101        - gerrit-trigger-scm:
1102            credentials-id: 'jenkins-gerrit-credentials'
1103            refspec: ''
1104            choosing-strategy: 'default'
1105
1106    wrappers:
1107        - fdio-infra-wrappers:
1108            build-timeout: '{build-timeout}'
1109
1110    triggers:
1111        - reverse:
1112            jobs: 'vpp-merge-{stream}-ubuntu1604'
1113            result: 'success'
1114        - gerrit:
1115            server-name: 'Primary'
1116            trigger-on:
1117                - comment-added-contains-event:
1118                    comment-contains-value: 'run-docs'
1119            projects:
1120              - project-compare-type: 'ANT'
1121                project-pattern: '{project}'
1122                branches:
1123                  - branch-compare-type: 'ANT'
1124                    branch-pattern: '**/{branch}'
1125            skip-vote:
1126                successful: true
1127                failed: true
1128                unstable: true
1129                notbuilt: true
1130
1131    builders:
1132        - maven-target:
1133            maven-version: 'mvn33-new'
1134            goals: '--version'
1135            settings: 'vpp-settings'
1136            settings-type: cfp
1137            global-settings: 'global-settings'
1138            global-settings-type: cfp
1139        - provide-maven-settings:
1140            settings-file: 'vpp-settings'
1141            global-settings-file: 'global-settings'
1142        - shell:
1143            !include-raw-escape: ../scripts/setup_vpp_ubuntu_docker_test.sh
1144        - shell:
1145            !include-raw-escape: include-raw-vpp-make-test-docs.sh
1146    publishers:
1147        - archive:
1148            artifacts: 'build-root/test-doc/build/html/*'
1149            allow-empty: 'true'
1150            fingerprint: false
1151            only-if-success: true
1152            default-excludes: false
1153        - fdio-infra-shiplogs:
1154            maven-version: 'mvn33-new'
1155        - naginator:
1156            rerun-unstable-builds: false
1157            max-failed-builds: 1
1158            fixed-delay: 90
1159