cicn.yaml revision 431f673c
1- project:
2    name: cicn-longbow
3    jobs:
4        - 'cicn-longbow-verify-{stream}-{os}'
5        - 'cicn-longbow-merge-{stream}-{os}'
6    project: 'cicn'
7    os:
8        - ubuntu1604:
9            repo-os-part: 'ubuntu.xenial.main'
10        - centos7:
11            repo-os-part: 'centos7'
12    stream:
13        - master:
14            branch: 'cframework/master'
15            repo-stream-part: 'master'
16    type:
17        - short
18        - long
19
20- project:
21    name: cicn-libparc
22    jobs:
23        - 'cicn-libparc-verify-{stream}-{os}'
24        - 'cicn-libparc-merge-{stream}-{os}'
25    project: 'cicn'
26    os:
27        - ubuntu1604:
28            repo-os-part: 'ubuntu.xenial.main'
29        - centos7:
30            repo-os-part: 'centos7'
31    stream:
32        - master:
33            branch: 'cframework/master'
34            repo-stream-part: 'master'
35    type:
36        - short
37        - long
38
39- project:
40    name: cicn-libccnx-common
41    jobs:
42        - 'cicn-libccnx-common-verify-{stream}-{os}'
43        - 'cicn-libccnx-common-merge-{stream}-{os}'
44    project: 'cicn'
45    os:
46        - ubuntu1604:
47            repo-os-part: 'ubuntu.xenial.main'
48        - centos7:
49            repo-os-part: 'centos7'
50    stream:
51        - master:
52            branch: 'ccnxlibs/master'
53            repo-stream-part: 'master'
54    type:
55        - short
56        - long
57
58- project:
59    name: cicn-libccnx-transport-rta
60    jobs:
61        - 'cicn-libccnx-transport-rta-verify-{stream}-{os}'
62        - 'cicn-libccnx-transport-rta-merge-{stream}-{os}'
63    project: 'cicn'
64    os:
65        - ubuntu1604:
66            repo-os-part: 'ubuntu.xenial.main'
67        - centos7:
68            repo-os-part: 'centos7'
69    stream:
70        - master:
71            branch: 'ccnxlibs/master'
72            repo-stream-part: 'master'
73    type:
74        - short
75        - long
76
77- project:
78    name: cicn-libccnx-portal
79    jobs:
80        - 'cicn-libccnx-portal-verify-{stream}-{os}'
81        - 'cicn-libccnx-portal-merge-{stream}-{os}'
82    project: 'cicn'
83    os:
84        - ubuntu1604:
85            repo-os-part: 'ubuntu.xenial.main'
86        - centos7:
87            repo-os-part: 'centos7'
88    stream:
89        - master:
90            branch: 'ccnxlibs/master'
91            repo-stream-part: 'master'
92    type:
93        - short
94        - long
95
96- project:
97    name: cicn-libicnet
98    jobs:
99        - 'cicn-libicnet-verify-{stream}-{os}'
100        - 'cicn-libicnet-merge-{stream}-{os}'
101    project: 'cicn'
102    os:
103        - ubuntu1604:
104            repo-os-part: 'ubuntu.xenial.main'
105        - centos7:
106            repo-os-part: 'centos7'
107    stream:
108        - master:
109            branch: 'libicnet/master'
110            repo-stream-part: 'master'
111    type:
112        - short
113        - long
114
115- project:
116    name: cicn-metis
117    jobs:
118        - 'cicn-metis-verify-{stream}-{os}'
119        - 'cicn-metis-merge-{stream}-{os}'
120    project: 'cicn'
121    os:
122        - ubuntu1604:
123            repo-os-part: 'ubuntu.xenial.main'
124        - centos7:
125            repo-os-part: 'centos7'
126    stream:
127        - master:
128            branch: 'sb-forwarder/master'
129            repo-stream-part: 'master'
130    type:
131        - short
132        - long
133
134- project:
135    name: cicn-http-server
136    jobs:
137        - 'cicn-http-server-verify-{stream}-{os}'
138        - 'cicn-http-server-merge-{stream}-{os}'
139    project: 'cicn'
140    os:
141        - ubuntu1604:
142            repo-os-part: 'ubuntu.xenial.main'
143        - centos7:
144            repo-os-part: 'centos7'
145    stream:
146        - master:
147            branch: 'http-server/master'
148            repo-stream-part: 'master'
149    type:
150        - short
151        - long
152
153- project:
154    name: cicn-vpp-plugin
155    jobs:
156        - 'cicn-vpp-plugin-verify-{stream}-{os}'
157        - 'cicn-vpp-plugin-merge-{stream}-{os}'
158    project: 'cicn'
159    os:
160        - ubuntu1604:
161            repo-os-part: 'ubuntu.xenial.main'
162        - centos7:
163            repo-os-part: 'centos7'
164    stream:
165        - master:
166            branch: 'cicn-plugin/master'
167            repo-stream-part: 'master'
168    type:
169        - short
170        - long
171
172- project:
173    name: cicn-viper
174    jobs:
175        - 'cicn-viper-verify-{stream}-{os}'
176        - 'cicn-viper-merge-{stream}-{os}'
177    project: 'cicn'
178    os:
179        - ubuntu1604:
180            repo-os-part: 'ubuntu.xenial.main'
181    stream:
182        - master:
183            branch: 'viper/master'
184            repo-stream-part: 'master'
185    type:
186        - short
187        - long
188
189- project:
190    name: cicn-radio-emulators
191    jobs:
192        - 'cicn-radio-emulators-verify-{stream}-{os}'
193        - 'cicn-radio-emulators-merge-{stream}-{os}'
194    project: 'cicn'
195    os:
196        - ubuntu1604:
197            repo-os-part: 'ubuntu.xenial.main'
198    stream:
199        - master:
200            branch: 'vicn/master'
201            repo-stream-part: 'master'
202    type:
203        - short
204        - long
205
206- project:
207    name: cicn-android-sdk
208    jobs:
209        - 'cicn-android-sdk-verify-{stream}-{os}'
210        - 'cicn-android-sdk-merge-{stream}-{os}'
211    project: 'cicn'
212    os:
213        - ubuntu1604:
214            repo-os-part: 'ubuntu.xenial.main'
215    stream:
216        - master:
217            branch: 'android-sdk/master'
218            repo-stream-part: 'master'
219    type:
220        - short
221        - long
222
223- project:
224    name: cicn-vicn
225    jobs:
226        - 'cicn-vicn-verify-{stream}-{os}'
227        - 'cicn-vicn-merge-{stream}-{os}'
228    project: 'cicn'
229    os:
230        - ubuntu1604:
231            repo-os-part: 'ubuntu.xenial.main'
232    stream:
233        - master:
234            branch: 'vicn/master'
235            repo-stream-part: 'master'
236    type:
237        - short
238        - long
239
240- job-template:
241    name: 'cicn-longbow-merge-{stream}-{os}'
242
243    project-type: freestyle
244    node: '{os}-basebuild-4c-4g'
245
246    logrotate:
247        daysToKeep: '{build-days-to-keep}'
248        numToKeep: '{build-num-to-keep}'
249        artifactDaysToKeep: '{build-artifact-days-to-keep}'
250        artifactNumToKeep: '{build-artifact-num-to-keep}'
251
252    parameters:
253        - project-parameter:
254            project: '{project}'
255        - gerrit-parameter:
256            branch: '{branch}'
257        - os-parameter:
258            os: '{os}'
259        - maven-project-parameter:
260            maven: 'mvn33-new'
261        - maven-exec:
262            maven-version: 'mvn33-new'
263        - repo-name-parameter:
264            repo-name: '{repo-stream-part}.{repo-os-part}'
265
266    scm:
267        - gerrit-trigger-scm:
268            credentials-id: 'jenkins-gerrit-credentials'
269            refspec: ''
270            choosing-strategy: 'default'
271
272    wrappers:
273        - fdio-infra-wrappers:
274            build-timeout: '{build-timeout}'
275
276    triggers:
277        - gerrit-trigger-patch-merged:
278            name: '{project}'
279            branch: '{branch}'
280        - timed: '@daily'
281
282    builders:
283        - maven-target:
284            maven-version: 'mvn33-new'
285            goals: '--version'
286            settings: 'cicn-settings'
287            settings-type: cfp
288            global-settings: 'global-settings'
289            global-settings-type: cfp
290        - shell:
291            !include-raw-escape:
292                - include-raw-cicn-longbow-build.sh
293        - provide-maven-settings:
294            settings-file: 'cicn-settings'
295            global-settings-file: 'global-settings'
296        - shell:
297            !include-raw-escape:
298                - ../scripts/maven_push_functions.sh
299                - include-raw-cicn-maven-push.sh
300    publishers:
301        - archive:
302            artifacts: 'longbow/build/*.rpm,longbow/build/*.deb'
303            allow-empty: 'true'
304            fingerprint: false
305            only-if-success: true
306            default-excludes: false
307        - fdio-infra-shiplogs:
308            maven-version: 'mvn33-new'
309
310- job-template:
311    name: 'cicn-longbow-verify-{stream}-{os}'
312
313    project-type: freestyle
314    node: '{os}-basebuild-4c-4g'
315    concurrent: true
316
317    logrotate:
318        daysToKeep: '{build-days-to-keep}'
319        numToKeep: '{build-num-to-keep}'
320        artifactDaysToKeep: '{build-artifact-days-to-keep}'
321        artifactNumToKeep: '{build-artifact-num-to-keep}'
322
323    parameters:
324        - project-parameter:
325            project: '{project}'
326        - gerrit-parameter:
327            branch: '{branch}'
328        - os-parameter:
329            os: '{os}'
330
331    scm:
332        - gerrit-trigger-scm:
333            credentials-id: 'jenkins-gerrit-credentials'
334            refspec: '$GERRIT_REFSPEC'
335            choosing-strategy: 'gerrit'
336
337    wrappers:
338        - fdio-infra-wrappers:
339            build-timeout: '{build-timeout}'
340
341    triggers:
342        - gerrit-trigger-patch-submitted:
343            name: '{project}'
344            branch: '{branch}'
345
346    builders:
347        - shell:
348            !include-raw-escape:
349                - include-raw-cicn-longbow-build.sh
350
351    publishers:
352        - fdio-infra-shiplogs:
353            maven-version: 'mvn33-new'
354
355- job-template:
356    name: 'cicn-libparc-merge-{stream}-{os}'
357
358    project-type: freestyle
359    node: '{os}-basebuild-4c-4g'
360
361    logrotate:
362        daysToKeep: '{build-days-to-keep}'
363        numToKeep: '{build-num-to-keep}'
364        artifactDaysToKeep: '{build-artifact-days-to-keep}'
365        artifactNumToKeep: '{build-artifact-num-to-keep}'
366
367    parameters:
368        - project-parameter:
369            project: '{project}'
370        - gerrit-parameter:
371            branch: '{branch}'
372        - os-parameter:
373            os: '{os}'
374        - maven-project-parameter:
375            maven: 'mvn33-new'
376        - maven-exec:
377            maven-version: 'mvn33-new'
378        - repo-name-parameter:
379            repo-name: '{repo-stream-part}.{repo-os-part}'
380
381    scm:
382        - gerrit-trigger-scm:
383            credentials-id: 'jenkins-gerrit-credentials'
384            refspec: ''
385            choosing-strategy: 'default'
386
387    wrappers:
388        - fdio-infra-wrappers:
389            build-timeout: '{build-timeout}'
390
391    triggers:
392        - gerrit-trigger-patch-merged:
393            name: '{project}'
394            branch: '{branch}'
395        - reverse:
396            jobs: 'cicn-longbow-merge-{stream}-{os}'
397            result: 'failure'
398
399    builders:
400        - maven-target:
401            maven-version: 'mvn33-new'
402            goals: '--version'
403            settings: 'cicn-settings'
404            settings-type: cfp
405            global-settings: 'global-settings'
406            global-settings-type: cfp
407        - shell:
408            !include-raw-escape:
409                - include-raw-cicn-libparc-build.sh
410        - provide-maven-settings:
411            settings-file: 'cicn-settings'
412            global-settings-file: 'global-settings'
413        - shell:
414            !include-raw-escape:
415                - ../scripts/maven_push_functions.sh
416                - include-raw-cicn-maven-push.sh
417    publishers:
418        - archive:
419            artifacts: 'libparc/build/*.rpm,libparc/build/*.deb'
420            allow-empty: 'true'
421            fingerprint: false
422            only-if-success: true
423            default-excludes: false
424        - fdio-infra-shiplogs:
425            maven-version: 'mvn33-new'
426
427- job-template:
428    name: 'cicn-libparc-verify-{stream}-{os}'
429
430    project-type: freestyle
431    node: '{os}-basebuild-4c-4g'
432    concurrent: true
433
434    logrotate:
435        daysToKeep: '{build-days-to-keep}'
436        numToKeep: '{build-num-to-keep}'
437        artifactDaysToKeep: '{build-artifact-days-to-keep}'
438        artifactNumToKeep: '{build-artifact-num-to-keep}'
439
440    parameters:
441        - project-parameter:
442            project: '{project}'
443        - gerrit-parameter:
444            branch: '{branch}'
445        - os-parameter:
446            os: '{os}'
447
448    scm:
449        - gerrit-trigger-scm:
450            credentials-id: 'jenkins-gerrit-credentials'
451            refspec: '$GERRIT_REFSPEC'
452            choosing-strategy: 'gerrit'
453
454    wrappers:
455        - fdio-infra-wrappers:
456            build-timeout: '{build-timeout}'
457
458    triggers:
459        - gerrit-trigger-patch-submitted:
460            name: '{project}'
461            branch: '{branch}'
462
463    builders:
464        - shell:
465            !include-raw-escape:
466                - include-raw-cicn-libparc-build.sh
467
468    publishers:
469        - fdio-infra-shiplogs:
470            maven-version: 'mvn33-new'
471
472- job-template:
473    name: 'cicn-libccnx-common-merge-{stream}-{os}'
474
475    project-type: freestyle
476    node: '{os}-basebuild-4c-4g'
477
478    logrotate:
479        daysToKeep: '{build-days-to-keep}'
480        numToKeep: '{build-num-to-keep}'
481        artifactDaysToKeep: '{build-artifact-days-to-keep}'
482        artifactNumToKeep: '{build-artifact-num-to-keep}'
483
484    parameters:
485        - project-parameter:
486            project: '{project}'
487        - gerrit-parameter:
488            branch: '{branch}'
489        - os-parameter:
490            os: '{os}'
491        - maven-project-parameter:
492            maven: 'mvn33-new'
493        - maven-exec:
494            maven-version: 'mvn33-new'
495        - repo-name-parameter:
496            repo-name: '{repo-stream-part}.{repo-os-part}'
497
498    scm:
499        - gerrit-trigger-scm:
500            credentials-id: 'jenkins-gerrit-credentials'
501            refspec: ''
502            choosing-strategy: 'default'
503
504    wrappers:
505        - fdio-infra-wrappers:
506            build-timeout: '{build-timeout}'
507
508    triggers:
509        - gerrit-trigger-patch-merged:
510            name: '{project}'
511            branch: '{branch}'
512        - reverse:
513            jobs: 'cicn-libparc-merge-{stream}-{os}'
514            result: 'failure'
515
516    builders:
517        - maven-target:
518            maven-version: 'mvn33-new'
519            goals: '--version'
520            settings: 'cicn-settings'
521            settings-type: cfp
522            global-settings: 'global-settings'
523            global-settings-type: cfp
524        - shell:
525            !include-raw-escape:
526                - include-raw-cicn-libccnx-common-build.sh
527        - provide-maven-settings:
528            settings-file: 'cicn-settings'
529            global-settings-file: 'global-settings'
530        - shell:
531            !include-raw-escape:
532                - ../scripts/maven_push_functions.sh
533                - include-raw-cicn-maven-push.sh
534    publishers:
535        - archive:
536            artifacts: 'libccnx-common/build/*.rpm,libccnx-common/build/*.deb'
537            allow-empty: 'true'
538            fingerprint: false
539            only-if-success: true
540            default-excludes: false
541        - fdio-infra-shiplogs:
542            maven-version: 'mvn33-new'
543
544- job-template:
545    name: 'cicn-libccnx-common-verify-{stream}-{os}'
546
547    project-type: freestyle
548    node: '{os}-basebuild-4c-4g'
549    concurrent: true
550
551    logrotate:
552        daysToKeep: '{build-days-to-keep}'
553        numToKeep: '{build-num-to-keep}'
554        artifactDaysToKeep: '{build-artifact-days-to-keep}'
555        artifactNumToKeep: '{build-artifact-num-to-keep}'
556
557    parameters:
558        - project-parameter:
559            project: '{project}'
560        - gerrit-parameter:
561            branch: '{branch}'
562        - os-parameter:
563            os: '{os}'
564
565    scm:
566        - gerrit-trigger-scm:
567            credentials-id: 'jenkins-gerrit-credentials'
568            refspec: '$GERRIT_REFSPEC'
569            choosing-strategy: 'gerrit'
570
571    wrappers:
572        - fdio-infra-wrappers:
573            build-timeout: '{build-timeout}'
574
575    triggers:
576        - gerrit-trigger-patch-submitted:
577            name: '{project}'
578            branch: '{branch}'
579
580    builders:
581        - shell:
582            !include-raw-escape:
583                - include-raw-cicn-libccnx-common-build.sh
584
585    publishers:
586        - fdio-infra-shiplogs:
587            maven-version: 'mvn33-new'
588
589- job-template:
590    name: 'cicn-libccnx-transport-rta-merge-{stream}-{os}'
591
592    project-type: freestyle
593    node: '{os}-basebuild-4c-4g'
594
595    logrotate:
596        daysToKeep: '{build-days-to-keep}'
597        numToKeep: '{build-num-to-keep}'
598        artifactDaysToKeep: '{build-artifact-days-to-keep}'
599        artifactNumToKeep: '{build-artifact-num-to-keep}'
600
601    parameters:
602        - project-parameter:
603            project: '{project}'
604        - gerrit-parameter:
605            branch: '{branch}'
606        - os-parameter:
607            os: '{os}'
608        - maven-project-parameter:
609            maven: 'mvn33-new'
610        - maven-exec:
611            maven-version: 'mvn33-new'
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        - reverse:
630            jobs: 'cicn-libccnx-common-merge-{stream}-{os}'
631            result: 'failure'
632
633    builders:
634        - maven-target:
635            maven-version: 'mvn33-new'
636            goals: '--version'
637            settings: 'cicn-settings'
638            settings-type: cfp
639            global-settings: 'global-settings'
640            global-settings-type: cfp
641        - shell:
642            !include-raw-escape:
643                - include-raw-cicn-libccnx-transport-rta-build.sh
644        - provide-maven-settings:
645            settings-file: 'cicn-settings'
646            global-settings-file: 'global-settings'
647        - shell:
648            !include-raw-escape:
649                - ../scripts/maven_push_functions.sh
650                - include-raw-cicn-maven-push.sh
651    publishers:
652        - archive:
653            artifacts: 'libccnx-transport-rta/build/*.rpm,libccnx-transport-rta/build/*.deb'
654            allow-empty: 'true'
655            fingerprint: false
656            only-if-success: true
657            default-excludes: false
658        - fdio-infra-shiplogs:
659            maven-version: 'mvn33-new'
660
661- job-template:
662    name: 'cicn-libccnx-transport-rta-verify-{stream}-{os}'
663
664    project-type: freestyle
665    node: '{os}-basebuild-4c-4g'
666    concurrent: true
667
668    logrotate:
669        daysToKeep: '{build-days-to-keep}'
670        numToKeep: '{build-num-to-keep}'
671        artifactDaysToKeep: '{build-artifact-days-to-keep}'
672        artifactNumToKeep: '{build-artifact-num-to-keep}'
673
674    parameters:
675        - project-parameter:
676            project: '{project}'
677        - gerrit-parameter:
678            branch: '{branch}'
679        - os-parameter:
680            os: '{os}'
681
682    scm:
683        - gerrit-trigger-scm:
684            credentials-id: 'jenkins-gerrit-credentials'
685            refspec: '$GERRIT_REFSPEC'
686            choosing-strategy: 'gerrit'
687
688    wrappers:
689        - fdio-infra-wrappers:
690            build-timeout: '{build-timeout}'
691
692    triggers:
693        - gerrit-trigger-patch-submitted:
694            name: '{project}'
695            branch: '{branch}'
696
697    builders:
698        - shell:
699            !include-raw-escape:
700                - include-raw-cicn-libccnx-transport-rta-build.sh
701
702    publishers:
703        - fdio-infra-shiplogs:
704            maven-version: 'mvn33-new'
705
706- job-template:
707    name: 'cicn-libccnx-portal-merge-{stream}-{os}'
708
709    project-type: freestyle
710    node: '{os}-basebuild-4c-4g'
711
712    logrotate:
713        daysToKeep: '{build-days-to-keep}'
714        numToKeep: '{build-num-to-keep}'
715        artifactDaysToKeep: '{build-artifact-days-to-keep}'
716        artifactNumToKeep: '{build-artifact-num-to-keep}'
717
718    parameters:
719        - project-parameter:
720            project: '{project}'
721        - gerrit-parameter:
722            branch: '{branch}'
723        - os-parameter:
724            os: '{os}'
725        - maven-project-parameter:
726            maven: 'mvn33-new'
727        - maven-exec:
728            maven-version: 'mvn33-new'
729        - repo-name-parameter:
730            repo-name: '{repo-stream-part}.{repo-os-part}'
731
732    scm:
733        - gerrit-trigger-scm:
734            credentials-id: 'jenkins-gerrit-credentials'
735            refspec: ''
736            choosing-strategy: 'default'
737
738    wrappers:
739        - fdio-infra-wrappers:
740            build-timeout: '{build-timeout}'
741
742    triggers:
743        - gerrit-trigger-patch-merged:
744            name: '{project}'
745            branch: '{branch}'
746        - reverse:
747            jobs: 'cicn-libccnx-transport-rta-merge-{stream}-{os}'
748            result: 'failure'
749
750    builders:
751        - maven-target:
752            maven-version: 'mvn33-new'
753            goals: '--version'
754            settings: 'cicn-settings'
755            settings-type: cfp
756            global-settings: 'global-settings'
757            global-settings-type: cfp
758        - shell:
759            !include-raw-escape:
760                - include-raw-cicn-libccnx-portal-build.sh
761        - provide-maven-settings:
762            settings-file: 'cicn-settings'
763            global-settings-file: 'global-settings'
764        - shell:
765            !include-raw-escape:
766                - ../scripts/maven_push_functions.sh
767                - include-raw-cicn-maven-push.sh
768    publishers:
769        - archive:
770            artifacts: 'libccnx-portal/build/*.rpm,libccnx-portal/build/*.deb'
771            allow-empty: 'true'
772            fingerprint: false
773            only-if-success: true
774            default-excludes: false
775        - fdio-infra-shiplogs:
776            maven-version: 'mvn33-new'
777
778- job-template:
779    name: 'cicn-libccnx-portal-verify-{stream}-{os}'
780
781    project-type: freestyle
782    node: '{os}-basebuild-4c-4g'
783    concurrent: true
784
785    logrotate:
786        daysToKeep: '{build-days-to-keep}'
787        numToKeep: '{build-num-to-keep}'
788        artifactDaysToKeep: '{build-artifact-days-to-keep}'
789        artifactNumToKeep: '{build-artifact-num-to-keep}'
790
791    parameters:
792        - project-parameter:
793            project: '{project}'
794        - gerrit-parameter:
795            branch: '{branch}'
796        - os-parameter:
797            os: '{os}'
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:
807            build-timeout: '{build-timeout}'
808
809    triggers:
810        - gerrit-trigger-patch-submitted:
811            name: '{project}'
812            branch: '{branch}'
813
814    builders:
815        - shell:
816            !include-raw-escape:
817                - include-raw-cicn-libccnx-portal-build.sh
818
819    publishers:
820        - fdio-infra-shiplogs:
821            maven-version: 'mvn33-new'
822
823- job-template:
824    name: 'cicn-libicnet-merge-{stream}-{os}'
825
826    project-type: freestyle
827    node: '{os}-basebuild-4c-4g'
828
829    logrotate:
830        daysToKeep: '{build-days-to-keep}'
831        numToKeep: '{build-num-to-keep}'
832        artifactDaysToKeep: '{build-artifact-days-to-keep}'
833        artifactNumToKeep: '{build-artifact-num-to-keep}'
834
835    parameters:
836        - project-parameter:
837            project: '{project}'
838        - gerrit-parameter:
839            branch: '{branch}'
840        - os-parameter:
841            os: '{os}'
842        - maven-project-parameter:
843            maven: 'mvn33-new'
844        - maven-exec:
845            maven-version: 'mvn33-new'
846        - repo-name-parameter:
847            repo-name: '{repo-stream-part}.{repo-os-part}'
848
849    scm:
850        - gerrit-trigger-scm:
851            credentials-id: 'jenkins-gerrit-credentials'
852            refspec: ''
853            choosing-strategy: 'default'
854
855    wrappers:
856        - fdio-infra-wrappers:
857            build-timeout: '{build-timeout}'
858
859    triggers:
860        - gerrit-trigger-patch-merged:
861            name: '{project}'
862            branch: '{branch}'
863        - reverse:
864            jobs: 'cicn-libccnx-portal-merge-{stream}-{os}'
865            result: 'failure'
866
867    builders:
868        - maven-target:
869            maven-version: 'mvn33-new'
870            goals: '--version'
871            settings: 'cicn-settings'
872            settings-type: cfp
873            global-settings: 'global-settings'
874            global-settings-type: cfp
875        - shell:
876            !include-raw-escape:
877                - include-raw-cicn-libicnet-build.sh
878        - provide-maven-settings:
879            settings-file: 'cicn-settings'
880            global-settings-file: 'global-settings'
881        - shell:
882            !include-raw-escape:
883                - ../scripts/maven_push_functions.sh
884                - include-raw-cicn-maven-push.sh
885    publishers:
886        - archive:
887            artifacts: 'build/*.rpm,build/*.deb'
888            allow-empty: 'true'
889            fingerprint: false
890            only-if-success: true
891            default-excludes: false
892        - fdio-infra-shiplogs:
893            maven-version: 'mvn33-new'
894
895- job-template:
896    name: 'cicn-libicnet-verify-{stream}-{os}'
897
898    project-type: freestyle
899    node: '{os}-basebuild-4c-4g'
900    concurrent: true
901
902    logrotate:
903        daysToKeep: '{build-days-to-keep}'
904        numToKeep: '{build-num-to-keep}'
905        artifactDaysToKeep: '{build-artifact-days-to-keep}'
906        artifactNumToKeep: '{build-artifact-num-to-keep}'
907
908    parameters:
909        - project-parameter:
910            project: '{project}'
911        - gerrit-parameter:
912            branch: '{branch}'
913        - os-parameter:
914            os: '{os}'
915
916    scm:
917        - gerrit-trigger-scm:
918            credentials-id: 'jenkins-gerrit-credentials'
919            refspec: '$GERRIT_REFSPEC'
920            choosing-strategy: 'gerrit'
921
922    wrappers:
923        - fdio-infra-wrappers:
924            build-timeout: '{build-timeout}'
925
926    triggers:
927        - gerrit-trigger-patch-submitted:
928            name: '{project}'
929            branch: '{branch}'
930
931    builders:
932        - shell:
933            !include-raw-escape:
934                - include-raw-cicn-libicnet-build.sh
935
936    publishers:
937        - fdio-infra-shiplogs:
938            maven-version: 'mvn33-new'
939
940- job-template:
941    name: 'cicn-metis-merge-{stream}-{os}'
942
943    project-type: freestyle
944    node: '{os}-basebuild-4c-4g'
945
946    logrotate:
947        daysToKeep: '{build-days-to-keep}'
948        numToKeep: '{build-num-to-keep}'
949        artifactDaysToKeep: '{build-artifact-days-to-keep}'
950        artifactNumToKeep: '{build-artifact-num-to-keep}'
951
952    parameters:
953        - project-parameter:
954            project: '{project}'
955        - gerrit-parameter:
956            branch: '{branch}'
957        - os-parameter:
958            os: '{os}'
959        - maven-project-parameter:
960            maven: 'mvn33-new'
961        - maven-exec:
962            maven-version: 'mvn33-new'
963        - repo-name-parameter:
964            repo-name: '{repo-stream-part}.{repo-os-part}'
965
966    scm:
967        - gerrit-trigger-scm:
968            credentials-id: 'jenkins-gerrit-credentials'
969            refspec: ''
970            choosing-strategy: 'default'
971
972    wrappers:
973        - fdio-infra-wrappers:
974            build-timeout: '{build-timeout}'
975
976    triggers:
977        - gerrit-trigger-patch-merged:
978            name: '{project}'
979            branch: '{branch}'
980        - reverse:
981            jobs: 'cicn-libccnx-portal-merge-{stream}-{os}'
982            result: 'failure'
983
984    builders:
985        - maven-target:
986            maven-version: 'mvn33-new'
987            goals: '--version'
988            settings: 'cicn-settings'
989            settings-type: cfp
990            global-settings: 'global-settings'
991            global-settings-type: cfp
992        - shell:
993            !include-raw-escape:
994                - include-raw-cicn-metis-build.sh
995        - provide-maven-settings:
996            settings-file: 'cicn-settings'
997            global-settings-file: 'global-settings'
998        - shell:
999            !include-raw-escape:
1000                - ../scripts/maven_push_functions.sh
1001                - include-raw-cicn-maven-push.sh
1002    publishers:
1003        - archive:
1004            artifacts: 'metis/build/*.rpm,metis/build/*.deb'
1005            allow-empty: 'true'
1006            fingerprint: false
1007            only-if-success: true
1008            default-excludes: false
1009        - fdio-infra-shiplogs:
1010            maven-version: 'mvn33-new'
1011
1012- job-template:
1013    name: 'cicn-metis-verify-{stream}-{os}'
1014
1015    project-type: freestyle
1016    node: '{os}-basebuild-4c-4g'
1017    concurrent: true
1018
1019    logrotate:
1020        daysToKeep: '{build-days-to-keep}'
1021        numToKeep: '{build-num-to-keep}'
1022        artifactDaysToKeep: '{build-artifact-days-to-keep}'
1023        artifactNumToKeep: '{build-artifact-num-to-keep}'
1024
1025    parameters:
1026        - project-parameter:
1027            project: '{project}'
1028        - gerrit-parameter:
1029            branch: '{branch}'
1030        - os-parameter:
1031            os: '{os}'
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-patch-submitted:
1045            name: '{project}'
1046            branch: '{branch}'
1047
1048    builders:
1049        - shell:
1050            !include-raw-escape:
1051                - include-raw-cicn-metis-build.sh
1052
1053    publishers:
1054        - fdio-infra-shiplogs:
1055            maven-version: 'mvn33-new'
1056
1057- job-template:
1058    name: 'cicn-http-server-merge-{stream}-{os}'
1059
1060    project-type: freestyle
1061    node: '{os}-basebuild-4c-4g'
1062
1063    logrotate:
1064        daysToKeep: '{build-days-to-keep}'
1065        numToKeep: '{build-num-to-keep}'
1066        artifactDaysToKeep: '{build-artifact-days-to-keep}'
1067        artifactNumToKeep: '{build-artifact-num-to-keep}'
1068
1069    parameters:
1070        - project-parameter:
1071            project: '{project}'
1072        - gerrit-parameter:
1073            branch: '{branch}'
1074        - os-parameter:
1075            os: '{os}'
1076        - maven-project-parameter:
1077            maven: 'mvn33-new'
1078        - maven-exec:
1079            maven-version: 'mvn33-new'
1080        - repo-name-parameter:
1081            repo-name: '{repo-stream-part}.{repo-os-part}'
1082
1083    scm:
1084        - gerrit-trigger-scm:
1085            credentials-id: 'jenkins-gerrit-credentials'
1086            refspec: ''
1087            choosing-strategy: 'default'
1088
1089    wrappers:
1090        - fdio-infra-wrappers:
1091            build-timeout: '{build-timeout}'
1092
1093    triggers:
1094        - gerrit-trigger-patch-merged:
1095            name: '{project}'
1096            branch: '{branch}'
1097        - reverse:
1098            jobs: 'cicn-libicnet-merge-{stream}-{os}'
1099            result: 'failure'
1100
1101    builders:
1102        - maven-target:
1103            maven-version: 'mvn33-new'
1104            goals: '--version'
1105            settings: 'cicn-settings'
1106            settings-type: cfp
1107            global-settings: 'global-settings'
1108            global-settings-type: cfp
1109        - shell:
1110            !include-raw-escape:
1111                - include-raw-cicn-http-server-build.sh
1112        - provide-maven-settings:
1113            settings-file: 'cicn-settings'
1114            global-settings-file: 'global-settings'
1115        - shell:
1116            !include-raw-escape:
1117                - ../scripts/maven_push_functions.sh
1118                - include-raw-cicn-maven-push.sh
1119    publishers:
1120        - archive:
1121            artifacts: 'build/*.rpm,build/*.deb'
1122            allow-empty: 'true'
1123            fingerprint: false
1124            only-if-success: true
1125            default-excludes: false
1126        - fdio-infra-shiplogs:
1127            maven-version: 'mvn33-new'
1128
1129- job-template:
1130    name: 'cicn-http-server-verify-{stream}-{os}'
1131
1132    project-type: freestyle
1133    node: '{os}-basebuild-4c-4g'
1134    concurrent: true
1135
1136    logrotate:
1137        daysToKeep: '{build-days-to-keep}'
1138        numToKeep: '{build-num-to-keep}'
1139        artifactDaysToKeep: '{build-artifact-days-to-keep}'
1140        artifactNumToKeep: '{build-artifact-num-to-keep}'
1141
1142    parameters:
1143        - project-parameter:
1144            project: '{project}'
1145        - gerrit-parameter:
1146            branch: '{branch}'
1147        - os-parameter:
1148            os: '{os}'
1149
1150    scm:
1151        - gerrit-trigger-scm:
1152            credentials-id: 'jenkins-gerrit-credentials'
1153            refspec: '$GERRIT_REFSPEC'
1154            choosing-strategy: 'gerrit'
1155
1156    wrappers:
1157        - fdio-infra-wrappers:
1158            build-timeout: '{build-timeout}'
1159
1160    triggers:
1161        - gerrit-trigger-patch-submitted:
1162            name: '{project}'
1163            branch: '{branch}'
1164
1165    builders:
1166        - shell:
1167            !include-raw-escape:
1168                - include-raw-cicn-http-server-build.sh
1169
1170    publishers:
1171        - fdio-infra-shiplogs:
1172            maven-version: 'mvn33-new'
1173
1174- job-template:
1175    name: 'cicn-vpp-plugin-merge-{stream}-{os}'
1176
1177    project-type: freestyle
1178    node: '{os}-basebuild-4c-4g'
1179
1180    logrotate:
1181        daysToKeep: '{build-days-to-keep}'
1182        numToKeep: '{build-num-to-keep}'
1183        artifactDaysToKeep: '{build-artifact-days-to-keep}'
1184        artifactNumToKeep: '{build-artifact-num-to-keep}'
1185
1186    parameters:
1187        - project-parameter:
1188            project: '{project}'
1189        - gerrit-parameter:
1190            branch: '{branch}'
1191        - os-parameter:
1192            os: '{os}'
1193        - maven-project-parameter:
1194            maven: 'mvn33-new'
1195        - maven-exec:
1196            maven-version: 'mvn33-new'
1197        - repo-name-parameter:
1198            repo-name: '{repo-stream-part}.{repo-os-part}'
1199
1200    scm:
1201        - gerrit-trigger-scm:
1202            credentials-id: 'jenkins-gerrit-credentials'
1203            refspec: ''
1204            choosing-strategy: 'default'
1205
1206    wrappers:
1207        - fdio-infra-wrappers:
1208            build-timeout: '{build-timeout}'
1209
1210    triggers:
1211        - gerrit-trigger-patch-merged:
1212            name: '{project}'
1213            branch: '{branch}'
1214        - timed: '@daily'
1215
1216    builders:
1217        - maven-target:
1218            maven-version: 'mvn33-new'
1219            goals: '--version'
1220            settings: 'cicn-settings'
1221            settings-type: cfp
1222            global-settings: 'global-settings'
1223            global-settings-type: cfp
1224        - shell:
1225            !include-raw-escape:
1226                - include-raw-cicn-vpp-plugin-build.sh
1227        - provide-maven-settings:
1228            settings-file: 'cicn-settings'
1229            global-settings-file: 'global-settings'
1230        - shell:
1231            !include-raw-escape:
1232                - ../scripts/maven_push_functions.sh
1233                - include-raw-cicn-maven-push.sh
1234    publishers:
1235        - archive:
1236            artifacts: 'cicn-plugin/build/*.rpm,cicn-plugin/build/*.deb'
1237            allow-empty: 'true'
1238            fingerprint: false
1239            only-if-success: true
1240            default-excludes: false
1241        - fdio-infra-shiplogs:
1242            maven-version: 'mvn33-new'
1243
1244- job-template:
1245    name: 'cicn-vpp-plugin-verify-{stream}-{os}'
1246
1247    project-type: freestyle
1248    node: '{os}-basebuild-4c-4g'
1249    concurrent: true
1250
1251    logrotate:
1252        daysToKeep: '{build-days-to-keep}'
1253        numToKeep: '{build-num-to-keep}'
1254        artifactDaysToKeep: '{build-artifact-days-to-keep}'
1255        artifactNumToKeep: '{build-artifact-num-to-keep}'
1256
1257    parameters:
1258        - project-parameter:
1259            project: '{project}'
1260        - gerrit-parameter:
1261            branch: '{branch}'
1262        - os-parameter:
1263            os: '{os}'
1264
1265    scm:
1266        - gerrit-trigger-scm:
1267            credentials-id: 'jenkins-gerrit-credentials'
1268            refspec: '$GERRIT_REFSPEC'
1269            choosing-strategy: 'gerrit'
1270
1271    wrappers:
1272        - fdio-infra-wrappers:
1273            build-timeout: '{build-timeout}'
1274
1275    triggers:
1276        - gerrit-trigger-patch-submitted:
1277            name: '{project}'
1278            branch: '{branch}'
1279
1280    builders:
1281        - shell:
1282            !include-raw-escape:
1283                - include-raw-cicn-vpp-plugin-build.sh
1284
1285    publishers:
1286        - fdio-infra-shiplogs:
1287            maven-version: 'mvn33-new'
1288
1289- job-template:
1290    name: 'cicn-viper-merge-{stream}-{os}'
1291
1292    project-type: freestyle
1293    node: '{os}-basebuild-4c-4g'
1294
1295    logrotate:
1296        daysToKeep: '{build-days-to-keep}'
1297        numToKeep: '{build-num-to-keep}'
1298        artifactDaysToKeep: '{build-artifact-days-to-keep}'
1299        artifactNumToKeep: '{build-artifact-num-to-keep}'
1300
1301    parameters:
1302        - project-parameter:
1303            project: '{project}'
1304        - gerrit-parameter:
1305            branch: '{branch}'
1306        - os-parameter:
1307            os: '{os}'
1308        - maven-project-parameter:
1309            maven: 'mvn33-new'
1310        - maven-exec:
1311            maven-version: 'mvn33-new'
1312        - repo-name-parameter:
1313            repo-name: '{repo-stream-part}.{repo-os-part}'
1314
1315    scm:
1316        - gerrit-trigger-scm:
1317            credentials-id: 'jenkins-gerrit-credentials'
1318            refspec: ''
1319            choosing-strategy: 'default'
1320
1321    wrappers:
1322        - fdio-infra-wrappers:
1323            build-timeout: '{build-timeout}'
1324
1325    triggers:
1326        - gerrit-trigger-patch-merged:
1327            name: '{project}'
1328            branch: '{branch}'
1329        - reverse:
1330            jobs: 'cicn-libicnet-merge-{stream}-{os}'
1331            result: 'failure'
1332
1333    builders:
1334        - maven-target:
1335            maven-version: 'mvn33-new'
1336            goals: '--version'
1337            settings: 'cicn-settings'
1338            settings-type: cfp
1339            global-settings: 'global-settings'
1340            global-settings-type: cfp
1341        - shell:
1342            !include-raw-escape:
1343                - include-raw-cicn-viper-build.sh
1344        - provide-maven-settings:
1345            settings-file: 'cicn-settings'
1346            global-settings-file: 'global-settings'
1347        - shell:
1348            !include-raw-escape:
1349                - ../scripts/maven_push_functions.sh
1350                - include-raw-cicn-maven-push.sh
1351    publishers:
1352        - archive:
1353            artifacts: 'build/*.rpm,build/*.deb,libdash/build/*.rpm,libdash/build/*.deb'
1354            allow-empty: 'true'
1355            fingerprint: false
1356            only-if-success: true
1357            default-excludes: false
1358        - fdio-infra-shiplogs:
1359            maven-version: 'mvn33-new'
1360
1361- job-template:
1362    name: 'cicn-viper-verify-{stream}-{os}'
1363
1364    project-type: freestyle
1365    node: '{os}-basebuild-4c-4g'
1366    concurrent: true
1367
1368    logrotate:
1369        daysToKeep: '{build-days-to-keep}'
1370        numToKeep: '{build-num-to-keep}'
1371        artifactDaysToKeep: '{build-artifact-days-to-keep}'
1372        artifactNumToKeep: '{build-artifact-num-to-keep}'
1373
1374    parameters:
1375        - project-parameter:
1376            project: '{project}'
1377        - gerrit-parameter:
1378            branch: '{branch}'
1379        - os-parameter:
1380            os: '{os}'
1381
1382    scm:
1383        - gerrit-trigger-scm:
1384            credentials-id: 'jenkins-gerrit-credentials'
1385            refspec: '$GERRIT_REFSPEC'
1386            choosing-strategy: 'gerrit'
1387
1388    wrappers:
1389        - fdio-infra-wrappers:
1390            build-timeout: '{build-timeout}'
1391
1392    triggers:
1393        - gerrit-trigger-patch-submitted:
1394            name: '{project}'
1395            branch: '{branch}'
1396
1397    builders:
1398        - shell:
1399            !include-raw-escape:
1400                - include-raw-cicn-viper-build.sh
1401
1402    publishers:
1403        - fdio-infra-shiplogs:
1404            maven-version: 'mvn33-new'
1405
1406- job-template:
1407    name: 'cicn-radio-emulators-merge-{stream}-{os}'
1408
1409    project-type: freestyle
1410    node: '{os}-basebuild-4c-4g'
1411
1412    logrotate:
1413        daysToKeep: '{build-days-to-keep}'
1414        numToKeep: '{build-num-to-keep}'
1415        artifactDaysToKeep: '{build-artifact-days-to-keep}'
1416        artifactNumToKeep: '{build-artifact-num-to-keep}'
1417
1418    parameters:
1419        - project-parameter:
1420            project: '{project}'
1421        - gerrit-parameter:
1422            branch: '{branch}'
1423        - os-parameter:
1424            os: '{os}'
1425        - maven-project-parameter:
1426            maven: 'mvn33-new'
1427        - maven-exec:
1428            maven-version: 'mvn33-new'
1429        - repo-name-parameter:
1430            repo-name: '{repo-stream-part}.{repo-os-part}'
1431
1432    scm:
1433        - gerrit-trigger-scm:
1434            credentials-id: 'jenkins-gerrit-credentials'
1435            refspec: ''
1436            choosing-strategy: 'default'
1437
1438    wrappers:
1439        - fdio-infra-wrappers:
1440            build-timeout: '{build-timeout}'
1441
1442    triggers:
1443        - gerrit-trigger-patch-merged:
1444            name: '{project}'
1445            branch: '{branch}'
1446        - timed: '@daily'
1447
1448    builders:
1449        - maven-target:
1450            maven-version: 'mvn33-new'
1451            goals: '--version'
1452            settings: 'cicn-settings'
1453            settings-type: cfp
1454            global-settings: 'global-settings'
1455            global-settings-type: cfp
1456        - shell:
1457            !include-raw-escape:
1458                - include-raw-cicn-radio-emulators-build.sh
1459        - provide-maven-settings:
1460            settings-file: 'cicn-settings'
1461            global-settings-file: 'global-settings'
1462        - shell:
1463            !include-raw-escape:
1464                - ../scripts/maven_push_functions.sh
1465                - include-raw-cicn-maven-push.sh
1466    publishers:
1467        - archive:
1468            artifacts: 'emu-radio/build/*.rpm,emu-radio/build/*.deb,emu-radio/ns3-packages/*.rpm,emu-radio/ns3-packages/*.deb'
1469            allow-empty: 'true'
1470            fingerprint: false
1471            only-if-success: true
1472            default-excludes: false
1473        - fdio-infra-shiplogs:
1474            maven-version: 'mvn33-new'
1475
1476- job-template:
1477    name: 'cicn-radio-emulators-verify-{stream}-{os}'
1478
1479    project-type: freestyle
1480    node: '{os}-basebuild-4c-4g'
1481    concurrent: true
1482
1483    logrotate:
1484        daysToKeep: '{build-days-to-keep}'
1485        numToKeep: '{build-num-to-keep}'
1486        artifactDaysToKeep: '{build-artifact-days-to-keep}'
1487        artifactNumToKeep: '{build-artifact-num-to-keep}'
1488
1489    parameters:
1490        - project-parameter:
1491            project: '{project}'
1492        - gerrit-parameter:
1493            branch: '{branch}'
1494        - os-parameter:
1495            os: '{os}'
1496
1497    scm:
1498        - gerrit-trigger-scm:
1499            credentials-id: 'jenkins-gerrit-credentials'
1500            refspec: '$GERRIT_REFSPEC'
1501            choosing-strategy: 'gerrit'
1502
1503    wrappers:
1504        - fdio-infra-wrappers:
1505            build-timeout: '{build-timeout}'
1506
1507    triggers:
1508        - gerrit-trigger-patch-submitted:
1509            name: '{project}'
1510            branch: '{branch}'
1511
1512    builders:
1513        - shell:
1514            !include-raw-escape:
1515                - include-raw-cicn-radio-emulators-build.sh
1516
1517    publishers:
1518        - fdio-infra-shiplogs:
1519            maven-version: 'mvn33-new'
1520
1521- job-template:
1522    name: 'cicn-android-sdk-merge-{stream}-{os}'
1523
1524    project-type: freestyle
1525    node: '{os}-basebuild-4c-4g'
1526
1527    logrotate:
1528        daysToKeep: '{build-days-to-keep}'
1529        numToKeep: '{build-num-to-keep}'
1530        artifactDaysToKeep: '{build-artifact-days-to-keep}'
1531        artifactNumToKeep: '{build-artifact-num-to-keep}'
1532
1533    parameters:
1534        - project-parameter:
1535            project: '{project}'
1536        - gerrit-parameter:
1537            branch: '{branch}'
1538        - os-parameter:
1539            os: '{os}'
1540        - maven-project-parameter:
1541            maven: 'mvn33-new'
1542        - maven-exec:
1543            maven-version: 'mvn33-new'
1544        - repo-name-parameter:
1545            repo-name: '{repo-stream-part}.{repo-os-part}'
1546
1547    scm:
1548        - gerrit-trigger-scm:
1549            credentials-id: 'jenkins-gerrit-credentials'
1550            refspec: ''
1551            choosing-strategy: 'default'
1552
1553    wrappers:
1554        - fdio-infra-wrappers:
1555            build-timeout: '{build-timeout}'
1556
1557    triggers:
1558        - gerrit-trigger-patch-merged:
1559            name: '{project}'
1560            branch: '{branch}'
1561        - timed: '@daily'
1562
1563    builders:
1564        - shell:
1565            !include-raw-escape:
1566                - include-raw-cicn-android-sdk-build.sh
1567    publishers:
1568        - archive:
1569            artifacts: 'iGetAndroid/app/build/outputs/apk/*.apk,MetisForwarder/app/build/outputs/apk/*.apk,build/viper/viper-armv7//build/outputs/apk/*.apk'
1570            allow-empty: 'true'
1571            fingerprint: false
1572            only-if-success: true
1573            default-excludes: false
1574        - fdio-infra-shiplogs:
1575            maven-version: 'mvn33-new'
1576
1577- job-template:
1578    name: 'cicn-android-sdk-verify-{stream}-{os}'
1579
1580    project-type: freestyle
1581    node: '{os}-basebuild-4c-4g'
1582    concurrent: true
1583
1584    logrotate:
1585        daysToKeep: '{build-days-to-keep}'
1586        numToKeep: '{build-num-to-keep}'
1587        artifactDaysToKeep: '{build-artifact-days-to-keep}'
1588        artifactNumToKeep: '{build-artifact-num-to-keep}'
1589
1590    parameters:
1591        - project-parameter:
1592            project: '{project}'
1593        - gerrit-parameter:
1594            branch: '{branch}'
1595        - os-parameter:
1596            os: '{os}'
1597
1598    scm:
1599        - gerrit-trigger-scm:
1600            credentials-id: 'jenkins-gerrit-credentials'
1601            refspec: '$GERRIT_REFSPEC'
1602            choosing-strategy: 'gerrit'
1603
1604    wrappers:
1605        - fdio-infra-wrappers:
1606            build-timeout: '{build-timeout}'
1607
1608    triggers:
1609        - gerrit-trigger-patch-submitted:
1610            name: '{project}'
1611            branch: '{branch}'
1612
1613    builders:
1614        - shell:
1615            !include-raw-escape:
1616                - include-raw-cicn-android-sdk-build.sh
1617
1618    publishers:
1619        - fdio-infra-shiplogs:
1620            maven-version: 'mvn33-new'
1621
1622- job-template:
1623    name: 'cicn-vicn-merge-{stream}-{os}'
1624
1625    project-type: freestyle
1626    node: '{os}-basebuild-4c-4g'
1627
1628    logrotate:
1629        daysToKeep: '{build-days-to-keep}'
1630        numToKeep: '{build-num-to-keep}'
1631        artifactDaysToKeep: '{build-artifact-days-to-keep}'
1632        artifactNumToKeep: '{build-artifact-num-to-keep}'
1633
1634    parameters:
1635        - project-parameter:
1636            project: '{project}'
1637        - gerrit-parameter:
1638            branch: '{branch}'
1639        - os-parameter:
1640            os: '{os}'
1641        - maven-project-parameter:
1642            maven: 'mvn33-new'
1643        - maven-exec:
1644            maven-version: 'mvn33-new'
1645        - repo-name-parameter:
1646            repo-name: '{repo-stream-part}.{repo-os-part}'
1647
1648    scm:
1649        - gerrit-trigger-scm:
1650            credentials-id: 'jenkins-gerrit-credentials'
1651            refspec: ''
1652            choosing-strategy: 'default'
1653
1654    wrappers:
1655        - fdio-infra-wrappers:
1656            build-timeout: '{build-timeout}'
1657
1658    triggers:
1659        - gerrit-trigger-patch-merged:
1660            name: '{project}'
1661            branch: '{branch}'
1662        - timed: '@daily'
1663
1664    builders:
1665        - maven-target:
1666            maven-version: 'mvn33-new'
1667            goals: '--version'
1668            settings: 'cicn-settings'
1669            settings-type: cfp
1670            global-settings: 'global-settings'
1671            global-settings-type: cfp
1672        - shell:
1673            !include-raw-escape:
1674                - include-raw-cicn-vicn-build.sh
1675        - provide-maven-settings:
1676            settings-file: 'cicn-settings'
1677            global-settings-file: 'global-settings'
1678        - shell:
1679            !include-raw-escape:
1680                - ../scripts/maven_push_functions.sh
1681                - include-raw-cicn-maven-push.sh
1682    publishers:
1683        - archive:
1684            artifacts: 'build/*.rpm,build/*.deb'
1685            allow-empty: 'true'
1686            fingerprint: false
1687            only-if-success: true
1688            default-excludes: false
1689        - fdio-infra-shiplogs:
1690            maven-version: 'mvn33-new'
1691
1692- job-template:
1693    name: 'cicn-vicn-verify-{stream}-{os}'
1694
1695    project-type: freestyle
1696    node: '{os}-basebuild-4c-4g'
1697    concurrent: true
1698
1699    logrotate:
1700        daysToKeep: '{build-days-to-keep}'
1701        numToKeep: '{build-num-to-keep}'
1702        artifactDaysToKeep: '{build-artifact-days-to-keep}'
1703        artifactNumToKeep: '{build-artifact-num-to-keep}'
1704
1705    parameters:
1706        - project-parameter:
1707            project: '{project}'
1708        - gerrit-parameter:
1709            branch: '{branch}'
1710        - os-parameter:
1711            os: '{os}'
1712
1713    scm:
1714        - gerrit-trigger-scm:
1715            credentials-id: 'jenkins-gerrit-credentials'
1716            refspec: '$GERRIT_REFSPEC'
1717            choosing-strategy: 'gerrit'
1718
1719    wrappers:
1720        - fdio-infra-wrappers:
1721            build-timeout: '{build-timeout}'
1722
1723    triggers:
1724        - gerrit-trigger-patch-submitted:
1725            name: '{project}'
1726            branch: '{branch}'
1727
1728    builders:
1729        - shell:
1730            !include-raw-escape:
1731                - include-raw-cicn-vicn-build.sh
1732
1733    publishers:
1734        - fdio-infra-shiplogs:
1735            maven-version: 'mvn33-new'
1736