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