Merge "Trigger build of libparc documentation after successful merge."
[ci-management.git] / jjb / cicn / cicn.yaml
1 - project:
2     name: cicn-longbow
3     jobs:
4         - 'cicn-longbow-verify-{stream}-{os}'
5         - 'cicn-longbow-merge-{stream}-{os}'
6         - 'cicn-longbow-docs-verify-{stream}'
7         - 'cicn-longbow-docs-merge-{stream}'
8     project: 'cicn'
9     os:
10         - ubuntu1604:
11             repo-os-part: 'ubuntu.xenial.main'
12         - centos7:
13             repo-os-part: 'centos7'
14     stream:
15         - master:
16             branch: 'cframework/master'
17             repo-stream-part: 'master'
18     type:
19         - short
20         - long
21
22 - project:
23     name: cicn-libparc
24     jobs:
25         - 'cicn-libparc-verify-{stream}-{os}'
26         - 'cicn-libparc-merge-{stream}-{os}'
27         - 'cicn-libparc-docs-verify-{stream}'
28         - 'cicn-libparc-docs-merge-{stream}'
29     project: 'cicn'
30     os:
31         - ubuntu1604:
32             repo-os-part: 'ubuntu.xenial.main'
33         - centos7:
34             repo-os-part: 'centos7'
35     stream:
36         - master:
37             branch: 'cframework/master'
38             repo-stream-part: 'master'
39     type:
40         - short
41         - long
42
43 - project:
44     name: cicn-libccnx-common
45     jobs:
46         - 'cicn-libccnx-common-verify-{stream}-{os}'
47         - 'cicn-libccnx-common-merge-{stream}-{os}'
48         # - 'cicn-libccnx-common-docs-verify-{stream}'
49         # - 'cicn-libccnx-common-docs-merge-{stream}'
50     project: 'cicn'
51     os:
52         - ubuntu1604:
53             repo-os-part: 'ubuntu.xenial.main'
54         - centos7:
55             repo-os-part: 'centos7'
56     stream:
57         - master:
58             branch: 'ccnxlibs/master'
59             repo-stream-part: 'master'
60     type:
61         - short
62         - long
63
64 - project:
65     name: cicn-libccnx-transport-rta
66     jobs:
67         - 'cicn-libccnx-transport-rta-verify-{stream}-{os}'
68         - 'cicn-libccnx-transport-rta-merge-{stream}-{os}'
69         # - 'cicn-libccnx-transport-rta-docs-verify-{stream}'
70         # - 'cicn-libccnx-transport-rta-docs-merge-{stream}'
71     project: 'cicn'
72     os:
73         - ubuntu1604:
74             repo-os-part: 'ubuntu.xenial.main'
75         - centos7:
76             repo-os-part: 'centos7'
77     stream:
78         - master:
79             branch: 'ccnxlibs/master'
80             repo-stream-part: 'master'
81     type:
82         - short
83         - long
84
85 - project:
86     name: cicn-libccnx-portal
87     jobs:
88         - 'cicn-libccnx-portal-verify-{stream}-{os}'
89         - 'cicn-libccnx-portal-merge-{stream}-{os}'
90         # - 'cicn-libccnx-portal-docs-verify-{stream}'
91         # - 'cicn-libccnx-portal-docs-merge-{stream}'
92     project: 'cicn'
93     os:
94         - ubuntu1604:
95             repo-os-part: 'ubuntu.xenial.main'
96         - centos7:
97             repo-os-part: 'centos7'
98     stream:
99         - master:
100             branch: 'ccnxlibs/master'
101             repo-stream-part: 'master'
102     type:
103         - short
104         - long
105
106 - project:
107     name: cicn-libicnet
108     jobs:
109         - 'cicn-libicnet-verify-{stream}-{os}'
110         - 'cicn-libicnet-merge-{stream}-{os}'
111 #        - 'cicn-libicnet-docs-verify-{stream}'
112 #        - 'cicn-libicnet-docs-merge-{stream}'
113     project: 'cicn'
114     os:
115         - ubuntu1604:
116             repo-os-part: 'ubuntu.xenial.main'
117         - centos7:
118             repo-os-part: 'centos7'
119     stream:
120         - master:
121             branch: 'libicnet/master'
122             repo-stream-part: 'master'
123     type:
124         - short
125         - long
126
127 - project:
128     name: cicn-metis
129     jobs:
130         - 'cicn-metis-verify-{stream}-{os}'
131         - 'cicn-metis-merge-{stream}-{os}'
132         # - 'cicn-metis-docs-verify-{stream}'
133         # - 'cicn-metis-docs-merge-{stream}'
134     project: 'cicn'
135     os:
136         - ubuntu1604:
137             repo-os-part: 'ubuntu.xenial.main'
138         - centos7:
139             repo-os-part: 'centos7'
140     stream:
141         - master:
142             branch: 'sb-forwarder/master'
143             repo-stream-part: 'master'
144     type:
145         - short
146         - long
147
148 - project:
149     name: cicn-http-server
150     jobs:
151         - 'cicn-http-server-verify-{stream}-{os}'
152         - 'cicn-http-server-merge-{stream}-{os}'
153 #        - 'cicn-http-server-docs-verify-{stream}'
154 #        - 'cicn-http-server-docs-merge-{stream}'
155     project: 'cicn'
156     os:
157         - ubuntu1604:
158             repo-os-part: 'ubuntu.xenial.main'
159         - centos7:
160             repo-os-part: 'centos7'
161     stream:
162         - master:
163             branch: 'http-server/master'
164             repo-stream-part: 'master'
165     type:
166         - short
167         - long
168
169 - project:
170     name: cicn-vpp-plugin
171     jobs:
172         - 'cicn-vpp-plugin-verify-{stream}-{os}'
173         - 'cicn-vpp-plugin-merge-{stream}-{os}'
174 #        - 'cicn-vpp-plugin-docs-verify-{stream}'
175 #        - 'cicn-vpp-plugin-docs-merge-{stream}'
176     project: 'cicn'
177     os:
178         - ubuntu1604:
179             repo-os-part: 'ubuntu.xenial.main'
180         - centos7:
181             repo-os-part: 'centos7'
182     stream:
183         - master:
184             branch: 'cicn-plugin/master'
185             repo-stream-part: 'master'
186     type:
187         - short
188         - long
189
190 - project:
191     name: cicn-viper
192     jobs:
193         - 'cicn-viper-verify-{stream}-{os}'
194         - 'cicn-viper-merge-{stream}-{os}'
195 #        - 'cicn-viper-docs-verify-{stream}'
196 #        - 'cicn-viper-docs-merge-{stream}'
197     project: 'cicn'
198     os:
199         - ubuntu1604:
200             repo-os-part: 'ubuntu.xenial.main'
201     stream:
202         - master:
203             branch: 'viper/master'
204             repo-stream-part: 'master'
205     type:
206         - short
207         - long
208
209 - project:
210     name: cicn-radio-emulators
211     jobs:
212         - 'cicn-radio-emulators-verify-{stream}-{os}'
213         - 'cicn-radio-emulators-merge-{stream}-{os}'
214 #        - 'cicn-radio-emulators-docs-verify-{stream}'
215 #        - 'cicn-radio-emulators-docs-merge-{stream}'
216     project: 'cicn'
217     os:
218         - ubuntu1604:
219             repo-os-part: 'ubuntu.xenial.main'
220     stream:
221         - master:
222             branch: 'vicn/master'
223             repo-stream-part: 'master'
224     type:
225         - short
226         - long
227
228 - project:
229     name: cicn-android-sdk
230     jobs:
231         - 'cicn-android-sdk-verify-{stream}-{os}'
232         - 'cicn-android-sdk-merge-{stream}-{os}'
233 #        - 'cicn-android-sdk-docs-verify-{stream}'
234 #        - 'cicn-android-sdk-docs-merge-{stream}'
235     project: 'cicn'
236     os:
237         - ubuntu1604:
238             repo-os-part: 'ubuntu.xenial.main'
239     stream:
240         - master:
241             branch: 'android-sdk/master'
242             repo-stream-part: 'master'
243     type:
244         - short
245         - long
246
247 - project:
248     name: cicn-vicn
249     jobs:
250         - 'cicn-vicn-verify-{stream}-{os}'
251         - 'cicn-vicn-merge-{stream}-{os}'
252 #        - 'cicn-vicn-docs-verify-{stream}'
253 #        - 'cicn-vicn-docs-merge-{stream}'
254     project: 'cicn'
255     os:
256         - ubuntu1604:
257             repo-os-part: 'ubuntu.xenial.main'
258     stream:
259         - master:
260             branch: 'vicn/master'
261             repo-stream-part: 'master'
262     type:
263         - short
264         - long
265
266 - job-template:
267     name: 'cicn-longbow-merge-{stream}-{os}'
268
269     project-type: freestyle
270     node: '{os}-basebuild-4c-4g'
271
272     logrotate:
273         daysToKeep: '{build-days-to-keep}'
274         numToKeep: '{build-num-to-keep}'
275         artifactDaysToKeep: '{build-artifact-days-to-keep}'
276         artifactNumToKeep: '{build-artifact-num-to-keep}'
277
278     parameters:
279         - project-parameter:
280             project: '{project}'
281         - gerrit-parameter:
282             branch: '{branch}'
283         - os-parameter:
284             os: '{os}'
285         - maven-project-parameter:
286             maven: 'mvn33-new'
287         - maven-exec:
288             maven-version: 'mvn33-new'
289         - repo-name-parameter:
290             repo-name: '{repo-stream-part}.{repo-os-part}'
291
292     scm:
293         - gerrit-trigger-scm:
294             credentials-id: 'jenkins-gerrit-credentials'
295             refspec: ''
296             choosing-strategy: 'default'
297
298     wrappers:
299         - fdio-infra-wrappers:
300             build-timeout: '{build-timeout}'
301
302     triggers:
303         - gerrit-trigger-patch-merged:
304             name: '{project}'
305             branch: '{branch}'
306         - timed: '@daily'
307
308     builders:
309         - maven-target:
310             maven-version: 'mvn33-new'
311             goals: '--version'
312             settings: 'cicn-settings'
313             settings-type: cfp
314             global-settings: 'global-settings'
315             global-settings-type: cfp
316         - shell:
317             !include-raw-escape:
318                 - include-raw-cicn-longbow-build.sh
319         - provide-maven-settings:
320             settings-file: 'cicn-settings'
321             global-settings-file: 'global-settings'
322         - shell:
323             !include-raw-escape:
324                 - ../scripts/maven_push_functions.sh
325                 - include-raw-cicn-maven-push.sh
326     publishers:
327         - archive:
328             artifacts: 'longbow/build/*.rpm,longbow/build/*.deb'
329             allow-empty: 'true'
330             fingerprint: false
331             only-if-success: true
332             default-excludes: false
333         - fdio-infra-shiplogs:
334             maven-version: 'mvn33-new'
335
336 - job-template:
337     name: 'cicn-longbow-verify-{stream}-{os}'
338
339     project-type: freestyle
340     node: '{os}-basebuild-4c-4g'
341     concurrent: true
342
343     logrotate:
344         daysToKeep: '{build-days-to-keep}'
345         numToKeep: '{build-num-to-keep}'
346         artifactDaysToKeep: '{build-artifact-days-to-keep}'
347         artifactNumToKeep: '{build-artifact-num-to-keep}'
348
349     parameters:
350         - project-parameter:
351             project: '{project}'
352         - gerrit-parameter:
353             branch: '{branch}'
354         - os-parameter:
355             os: '{os}'
356
357     scm:
358         - gerrit-trigger-scm:
359             credentials-id: 'jenkins-gerrit-credentials'
360             refspec: '$GERRIT_REFSPEC'
361             choosing-strategy: 'gerrit'
362
363     wrappers:
364         - fdio-infra-wrappers:
365             build-timeout: '{build-timeout}'
366
367     triggers:
368         - gerrit-trigger-patch-submitted:
369             name: '{project}'
370             branch: '{branch}'
371
372     builders:
373         - shell:
374             !include-raw-escape:
375                 - include-raw-cicn-longbow-build.sh
376
377     publishers:
378         - archive:
379             artifacts: 'longbow/build/*.rpm,longbow/build/*.deb'
380             allow-empty: 'true'
381             fingerprint: false
382             only-if-success: true
383             default-excludes: false
384         - fdio-infra-shiplogs:
385             maven-version: 'mvn33-new'
386
387 - job-template:
388     name: 'cicn-longbow-docs-merge-{stream}'
389
390     project-type: freestyle
391     node: ubuntu1604-basebuild-8c-32g
392     concurrent: true
393
394     logrotate:
395         daysToKeep: '{build-days-to-keep}'
396         numToKeep: '{build-num-to-keep}'
397         artifactDaysToKeep: '{build-artifact-days-to-keep}'
398         artifactNumToKeep: '{build-artifact-num-to-keep}'
399
400     parameters:
401         - project-parameter:
402             project: '{project}'
403         - gerrit-parameter:
404             branch: '{branch}'
405         - os-parameter:
406             os: 'ubuntu1604'
407         - maven-exec:
408             maven-version: 'mvn33-new'
409
410     scm:
411         - gerrit-trigger-scm:
412             credentials-id: 'jenkins-gerrit-credentials'
413             refspec: ''
414             choosing-strategy: 'default'
415
416     wrappers:
417         - fdio-infra-wrappers:
418             build-timeout: '{build-timeout}'
419
420     triggers:
421         - reverse:
422             jobs: 'cicn-longbow-merge-{stream}-ubuntu1604'
423             result: 'success'
424         - gerrit:
425             server-name: 'Primary'
426             trigger-on:
427                 - comment-added-contains-event:
428                     comment-contains-value: 'run-docs'
429             projects:
430               - project-compare-type: 'ANT'
431                 project-pattern: '{project}'
432                 branches:
433                   - branch-compare-type: 'ANT'
434                     branch-pattern: '**/{branch}'
435             skip-vote:
436                 successful: true
437                 failed: true
438                 unstable: true
439                 notbuilt: true
440
441     builders:
442         - maven-target:
443             maven-version: 'mvn33-new'
444             goals: '--version'
445             settings: 'vpp-settings'
446             settings-type: cfp
447             global-settings: 'global-settings'
448             global-settings-type: cfp
449         - provide-maven-settings:
450             settings-file: 'cicn-settings'
451             global-settings-file: 'global-settings'
452         - shell:
453             !include-raw-escape:
454                 - include-raw-cicn-longbow-docs.sh
455     publishers:
456         - archive:
457             artifacts: 'longbow/build/documentation/*.tar'
458             allow-empty: 'true'
459             fingerprint: false
460             only-if-success: true
461             default-excludes: false
462         - fdio-infra-shiplogs:
463             maven-version: 'mvn33-new'
464
465 - job-template:
466     name: 'cicn-longbow-docs-verify-{stream}'
467
468     project-type: freestyle
469     node: ubuntu1604-basebuild-8c-32g
470     concurrent: true
471
472     logrotate:
473         daysToKeep: '{build-days-to-keep}'
474         numToKeep: '{build-num-to-keep}'
475         artifactDaysToKeep: '{build-artifact-days-to-keep}'
476         artifactNumToKeep: '{build-artifact-num-to-keep}'
477
478     parameters:
479         - project-parameter:
480             project: '{project}'
481         - gerrit-parameter:
482             branch: '{branch}'
483         - os-parameter:
484             os: 'ubuntu1604'
485         - maven-exec:
486             maven-version: 'mvn33-new'
487
488     scm:
489         - gerrit-trigger-scm:
490             credentials-id: 'jenkins-gerrit-credentials'
491             refspec: ''
492             choosing-strategy: 'default'
493
494     wrappers:
495         - fdio-infra-wrappers:
496             build-timeout: '{build-timeout}'
497
498     triggers:
499         - gerrit-trigger-patch-submitted:
500             name: '{project}'
501             branch: '{branch}'
502
503     builders:
504         - maven-target:
505             maven-version: 'mvn33-new'
506             goals: '--version'
507             settings: 'vpp-settings'
508             settings-type: cfp
509             global-settings: 'global-settings'
510             global-settings-type: cfp
511         - provide-maven-settings:
512             settings-file: 'cicn-settings'
513             global-settings-file: 'global-settings'
514         - shell:
515             !include-raw-escape:
516                 - include-raw-cicn-longbow-docs.sh
517     publishers:
518         - archive:
519             artifacts: 'longbow/build/documentation/*.tar'
520             allow-empty: 'true'
521             fingerprint: false
522             only-if-success: true
523             default-excludes: false
524         - fdio-infra-shiplogs:
525             maven-version: 'mvn33-new'
526
527 - job-template:
528     name: 'cicn-libparc-merge-{stream}-{os}'
529
530     project-type: freestyle
531     node: '{os}-basebuild-4c-4g'
532
533     logrotate:
534         daysToKeep: '{build-days-to-keep}'
535         numToKeep: '{build-num-to-keep}'
536         artifactDaysToKeep: '{build-artifact-days-to-keep}'
537         artifactNumToKeep: '{build-artifact-num-to-keep}'
538
539     parameters:
540         - project-parameter:
541             project: '{project}'
542         - gerrit-parameter:
543             branch: '{branch}'
544         - os-parameter:
545             os: '{os}'
546         - maven-project-parameter:
547             maven: 'mvn33-new'
548         - maven-exec:
549             maven-version: 'mvn33-new'
550         - repo-name-parameter:
551             repo-name: '{repo-stream-part}.{repo-os-part}'
552
553     scm:
554         - gerrit-trigger-scm:
555             credentials-id: 'jenkins-gerrit-credentials'
556             refspec: ''
557             choosing-strategy: 'default'
558
559     wrappers:
560         - fdio-infra-wrappers:
561             build-timeout: '{build-timeout}'
562
563     triggers:
564         - reverse:
565             jobs: 'cicn-longbow-merge-{stream}-ubuntu1604'
566             result: 'success'
567         - gerrit-trigger-patch-merged:
568             name: '{project}'
569             branch: '{branch}'
570         - reverse:
571             jobs: 'cicn-longbow-merge-{stream}-{os}'
572             result: 'failure'
573
574     builders:
575         - maven-target:
576             maven-version: 'mvn33-new'
577             goals: '--version'
578             settings: 'cicn-settings'
579             settings-type: cfp
580             global-settings: 'global-settings'
581             global-settings-type: cfp
582         - shell:
583             !include-raw-escape:
584                 - include-raw-cicn-libparc-build.sh
585         - provide-maven-settings:
586             settings-file: 'cicn-settings'
587             global-settings-file: 'global-settings'
588         - shell:
589             !include-raw-escape:
590                 - ../scripts/maven_push_functions.sh
591                 - include-raw-cicn-maven-push.sh
592     publishers:
593         - archive:
594             artifacts: 'libparc/build/*.rpm,libparc/build/*.deb'
595             allow-empty: 'true'
596             fingerprint: false
597             only-if-success: true
598             default-excludes: false
599         - fdio-infra-shiplogs:
600             maven-version: 'mvn33-new'
601
602 - job-template:
603     name: 'cicn-libparc-verify-{stream}-{os}'
604
605     project-type: freestyle
606     node: '{os}-basebuild-4c-4g'
607     concurrent: true
608
609     logrotate:
610         daysToKeep: '{build-days-to-keep}'
611         numToKeep: '{build-num-to-keep}'
612         artifactDaysToKeep: '{build-artifact-days-to-keep}'
613         artifactNumToKeep: '{build-artifact-num-to-keep}'
614
615     parameters:
616         - project-parameter:
617             project: '{project}'
618         - gerrit-parameter:
619             branch: '{branch}'
620         - os-parameter:
621             os: '{os}'
622
623     scm:
624         - gerrit-trigger-scm:
625             credentials-id: 'jenkins-gerrit-credentials'
626             refspec: '$GERRIT_REFSPEC'
627             choosing-strategy: 'gerrit'
628
629     wrappers:
630         - fdio-infra-wrappers:
631             build-timeout: '{build-timeout}'
632
633     triggers:
634         - gerrit-trigger-patch-submitted:
635             name: '{project}'
636             branch: '{branch}'
637
638     builders:
639         - shell:
640             !include-raw-escape:
641                 - include-raw-cicn-libparc-build.sh
642
643     publishers:
644         - archive:
645             artifacts: 'libparc/build/*.rpm,libparc/build/*.deb'
646             allow-empty: 'true'
647             fingerprint: false
648             only-if-success: true
649             default-excludes: false
650         - fdio-infra-shiplogs:
651             maven-version: 'mvn33-new'
652
653 - job-template:
654     name: 'cicn-libparc-docs-merge-{stream}'
655
656     project-type: freestyle
657     node: ubuntu1604-basebuild-8c-32g
658     concurrent: true
659
660     logrotate:
661         daysToKeep: '{build-days-to-keep}'
662         numToKeep: '{build-num-to-keep}'
663         artifactDaysToKeep: '{build-artifact-days-to-keep}'
664         artifactNumToKeep: '{build-artifact-num-to-keep}'
665
666     parameters:
667         - project-parameter:
668             project: '{project}'
669         - gerrit-parameter:
670             branch: '{branch}'
671         - os-parameter:
672             os: 'ubuntu1604'
673         - maven-exec:
674             maven-version: 'mvn33-new'
675
676     scm:
677         - gerrit-trigger-scm:
678             credentials-id: 'jenkins-gerrit-credentials'
679             refspec: ''
680             choosing-strategy: 'default'
681
682     wrappers:
683         - fdio-infra-wrappers:
684             build-timeout: '{build-timeout}'
685
686     triggers:
687         - reverse:
688             jobs: 'cicn-libparc-merge-{stream}-ubuntu1604'
689             result: 'success'
690         - gerrit:
691             server-name: 'Primary'
692             trigger-on:
693                 - comment-added-contains-event:
694                     comment-contains-value: 'run-docs'
695             projects:
696               - project-compare-type: 'ANT'
697                 project-pattern: '{project}'
698                 branches:
699                   - branch-compare-type: 'ANT'
700                     branch-pattern: '**/{branch}'
701             skip-vote:
702                 successful: true
703                 failed: true
704                 unstable: true
705                 notbuilt: true
706
707     builders:
708         - maven-target:
709             maven-version: 'mvn33-new'
710             goals: '--version'
711             settings: 'vpp-settings'
712             settings-type: cfp
713             global-settings: 'global-settings'
714             global-settings-type: cfp
715         - provide-maven-settings:
716             settings-file: 'cicn-settings'
717             global-settings-file: 'global-settings'
718         - shell:
719             !include-raw-escape:
720                 - include-raw-cicn-libparc-docs.sh
721     publishers:
722         - archive:
723             artifacts: 'libparc/build/documentation/*.tar'
724             allow-empty: 'true'
725             fingerprint: false
726             only-if-success: true
727             default-excludes: false
728         - fdio-infra-shiplogs:
729             maven-version: 'mvn33-new'
730
731 - job-template:
732     name: 'cicn-libparc-docs-verify-{stream}'
733
734     project-type: freestyle
735     node: ubuntu1604-basebuild-8c-32g
736     concurrent: true
737
738     logrotate:
739         daysToKeep: '{build-days-to-keep}'
740         numToKeep: '{build-num-to-keep}'
741         artifactDaysToKeep: '{build-artifact-days-to-keep}'
742         artifactNumToKeep: '{build-artifact-num-to-keep}'
743
744     parameters:
745         - project-parameter:
746             project: '{project}'
747         - gerrit-parameter:
748             branch: '{branch}'
749         - os-parameter:
750             os: 'ubuntu1604'
751         - maven-exec:
752             maven-version: 'mvn33-new'
753
754     scm:
755         - gerrit-trigger-scm:
756             credentials-id: 'jenkins-gerrit-credentials'
757             refspec: ''
758             choosing-strategy: 'default'
759
760     wrappers:
761         - fdio-infra-wrappers:
762             build-timeout: '{build-timeout}'
763
764     triggers:
765         - gerrit-trigger-patch-submitted:
766             name: '{project}'
767             branch: '{branch}'
768
769     builders:
770         - maven-target:
771             maven-version: 'mvn33-new'
772             goals: '--version'
773             settings: 'vpp-settings'
774             settings-type: cfp
775             global-settings: 'global-settings'
776             global-settings-type: cfp
777         - provide-maven-settings:
778             settings-file: 'cicn-settings'
779             global-settings-file: 'global-settings'
780         - shell:
781             !include-raw-escape:
782                 - include-raw-cicn-libparc-docs.sh
783     publishers:
784         - archive:
785             artifacts: 'libparc/build/documentation/*.tar'
786             allow-empty: 'true'
787             fingerprint: false
788             only-if-success: true
789             default-excludes: false
790         - fdio-infra-shiplogs:
791             maven-version: 'mvn33-new'
792
793
794 - job-template:
795     name: 'cicn-libccnx-common-merge-{stream}-{os}'
796
797     project-type: freestyle
798     node: '{os}-basebuild-4c-4g'
799
800     logrotate:
801         daysToKeep: '{build-days-to-keep}'
802         numToKeep: '{build-num-to-keep}'
803         artifactDaysToKeep: '{build-artifact-days-to-keep}'
804         artifactNumToKeep: '{build-artifact-num-to-keep}'
805
806     parameters:
807         - project-parameter:
808             project: '{project}'
809         - gerrit-parameter:
810             branch: '{branch}'
811         - os-parameter:
812             os: '{os}'
813         - maven-project-parameter:
814             maven: 'mvn33-new'
815         - maven-exec:
816             maven-version: 'mvn33-new'
817         - repo-name-parameter:
818             repo-name: '{repo-stream-part}.{repo-os-part}'
819
820     scm:
821         - gerrit-trigger-scm:
822             credentials-id: 'jenkins-gerrit-credentials'
823             refspec: ''
824             choosing-strategy: 'default'
825
826     wrappers:
827         - fdio-infra-wrappers:
828             build-timeout: '{build-timeout}'
829
830     triggers:
831         - gerrit-trigger-patch-merged:
832             name: '{project}'
833             branch: '{branch}'
834         - reverse:
835             jobs: 'cicn-libparc-merge-{stream}-{os}'
836             result: 'failure'
837
838     builders:
839         - maven-target:
840             maven-version: 'mvn33-new'
841             goals: '--version'
842             settings: 'cicn-settings'
843             settings-type: cfp
844             global-settings: 'global-settings'
845             global-settings-type: cfp
846         - shell:
847             !include-raw-escape:
848                 - include-raw-cicn-libccnx-common-build.sh
849         - provide-maven-settings:
850             settings-file: 'cicn-settings'
851             global-settings-file: 'global-settings'
852         - shell:
853             !include-raw-escape:
854                 - ../scripts/maven_push_functions.sh
855                 - include-raw-cicn-maven-push.sh
856     publishers:
857         - archive:
858             artifacts: 'libccnx-common/build/*.rpm,libccnx-common/build/*.deb'
859             allow-empty: 'true'
860             fingerprint: false
861             only-if-success: true
862             default-excludes: false
863         - fdio-infra-shiplogs:
864             maven-version: 'mvn33-new'
865
866 - job-template:
867     name: 'cicn-libccnx-common-verify-{stream}-{os}'
868
869     project-type: freestyle
870     node: '{os}-basebuild-4c-4g'
871     concurrent: true
872
873     logrotate:
874         daysToKeep: '{build-days-to-keep}'
875         numToKeep: '{build-num-to-keep}'
876         artifactDaysToKeep: '{build-artifact-days-to-keep}'
877         artifactNumToKeep: '{build-artifact-num-to-keep}'
878
879     parameters:
880         - project-parameter:
881             project: '{project}'
882         - gerrit-parameter:
883             branch: '{branch}'
884         - os-parameter:
885             os: '{os}'
886
887     scm:
888         - gerrit-trigger-scm:
889             credentials-id: 'jenkins-gerrit-credentials'
890             refspec: '$GERRIT_REFSPEC'
891             choosing-strategy: 'gerrit'
892
893     wrappers:
894         - fdio-infra-wrappers:
895             build-timeout: '{build-timeout}'
896
897     triggers:
898         - gerrit-trigger-patch-submitted:
899             name: '{project}'
900             branch: '{branch}'
901
902     builders:
903         - shell:
904             !include-raw-escape:
905                 - include-raw-cicn-libccnx-common-build.sh
906
907     publishers:
908         - archive:
909             artifacts: 'libccnx-common/build/*.rpm,libccnx-common/build/*.deb'
910             allow-empty: 'true'
911             fingerprint: false
912             only-if-success: true
913             default-excludes: false
914         - fdio-infra-shiplogs:
915             maven-version: 'mvn33-new'
916
917 - job-template:
918     name: 'cicn-libccnx-transport-rta-merge-{stream}-{os}'
919
920     project-type: freestyle
921     node: '{os}-basebuild-4c-4g'
922
923     logrotate:
924         daysToKeep: '{build-days-to-keep}'
925         numToKeep: '{build-num-to-keep}'
926         artifactDaysToKeep: '{build-artifact-days-to-keep}'
927         artifactNumToKeep: '{build-artifact-num-to-keep}'
928
929     parameters:
930         - project-parameter:
931             project: '{project}'
932         - gerrit-parameter:
933             branch: '{branch}'
934         - os-parameter:
935             os: '{os}'
936         - maven-project-parameter:
937             maven: 'mvn33-new'
938         - maven-exec:
939             maven-version: 'mvn33-new'
940         - repo-name-parameter:
941             repo-name: '{repo-stream-part}.{repo-os-part}'
942
943     scm:
944         - gerrit-trigger-scm:
945             credentials-id: 'jenkins-gerrit-credentials'
946             refspec: ''
947             choosing-strategy: 'default'
948
949     wrappers:
950         - fdio-infra-wrappers:
951             build-timeout: '{build-timeout}'
952
953     triggers:
954         - gerrit-trigger-patch-merged:
955             name: '{project}'
956             branch: '{branch}'
957         - reverse:
958             jobs: 'cicn-libccnx-common-merge-{stream}-{os}'
959             result: 'failure'
960
961     builders:
962         - maven-target:
963             maven-version: 'mvn33-new'
964             goals: '--version'
965             settings: 'cicn-settings'
966             settings-type: cfp
967             global-settings: 'global-settings'
968             global-settings-type: cfp
969         - shell:
970             !include-raw-escape:
971                 - include-raw-cicn-libccnx-transport-rta-build.sh
972         - provide-maven-settings:
973             settings-file: 'cicn-settings'
974             global-settings-file: 'global-settings'
975         - shell:
976             !include-raw-escape:
977                 - ../scripts/maven_push_functions.sh
978                 - include-raw-cicn-maven-push.sh
979     publishers:
980         - archive:
981             artifacts: 'libccnx-transport-rta/build/*.rpm,libccnx-transport-rta/build/*.deb'
982             allow-empty: 'true'
983             fingerprint: false
984             only-if-success: true
985             default-excludes: false
986         - fdio-infra-shiplogs:
987             maven-version: 'mvn33-new'
988
989 - job-template:
990     name: 'cicn-libccnx-transport-rta-verify-{stream}-{os}'
991
992     project-type: freestyle
993     node: '{os}-basebuild-4c-4g'
994     concurrent: true
995
996     logrotate:
997         daysToKeep: '{build-days-to-keep}'
998         numToKeep: '{build-num-to-keep}'
999         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1000         artifactNumToKeep: '{build-artifact-num-to-keep}'
1001
1002     parameters:
1003         - project-parameter:
1004             project: '{project}'
1005         - gerrit-parameter:
1006             branch: '{branch}'
1007         - os-parameter:
1008             os: '{os}'
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-patch-submitted:
1022             name: '{project}'
1023             branch: '{branch}'
1024
1025     builders:
1026         - shell:
1027             !include-raw-escape:
1028                 - include-raw-cicn-libccnx-transport-rta-build.sh
1029
1030     publishers:
1031         - archive:
1032             artifacts: 'libccnx-transport-rta/build/*.rpm,libccnx-transport-rta/build/*.deb'
1033             allow-empty: 'true'
1034             fingerprint: false
1035             only-if-success: true
1036             default-excludes: false
1037         - fdio-infra-shiplogs:
1038             maven-version: 'mvn33-new'
1039
1040 - job-template:
1041     name: 'cicn-libccnx-portal-merge-{stream}-{os}'
1042
1043     project-type: freestyle
1044     node: '{os}-basebuild-4c-4g'
1045
1046     logrotate:
1047         daysToKeep: '{build-days-to-keep}'
1048         numToKeep: '{build-num-to-keep}'
1049         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1050         artifactNumToKeep: '{build-artifact-num-to-keep}'
1051
1052     parameters:
1053         - project-parameter:
1054             project: '{project}'
1055         - gerrit-parameter:
1056             branch: '{branch}'
1057         - os-parameter:
1058             os: '{os}'
1059         - maven-project-parameter:
1060             maven: 'mvn33-new'
1061         - maven-exec:
1062             maven-version: 'mvn33-new'
1063         - repo-name-parameter:
1064             repo-name: '{repo-stream-part}.{repo-os-part}'
1065
1066     scm:
1067         - gerrit-trigger-scm:
1068             credentials-id: 'jenkins-gerrit-credentials'
1069             refspec: ''
1070             choosing-strategy: 'default'
1071
1072     wrappers:
1073         - fdio-infra-wrappers:
1074             build-timeout: '{build-timeout}'
1075
1076     triggers:
1077         - gerrit-trigger-patch-merged:
1078             name: '{project}'
1079             branch: '{branch}'
1080         - reverse:
1081             jobs: 'cicn-libccnx-transport-rta-merge-{stream}-{os}'
1082             result: 'failure'
1083
1084     builders:
1085         - maven-target:
1086             maven-version: 'mvn33-new'
1087             goals: '--version'
1088             settings: 'cicn-settings'
1089             settings-type: cfp
1090             global-settings: 'global-settings'
1091             global-settings-type: cfp
1092         - shell:
1093             !include-raw-escape:
1094                 - include-raw-cicn-libccnx-portal-build.sh
1095         - provide-maven-settings:
1096             settings-file: 'cicn-settings'
1097             global-settings-file: 'global-settings'
1098         - shell:
1099             !include-raw-escape:
1100                 - ../scripts/maven_push_functions.sh
1101                 - include-raw-cicn-maven-push.sh
1102     publishers:
1103         - archive:
1104             artifacts: 'libccnx-portal/build/*.rpm,libccnx-portal/build/*.deb'
1105             allow-empty: 'true'
1106             fingerprint: false
1107             only-if-success: true
1108             default-excludes: false
1109         - fdio-infra-shiplogs:
1110             maven-version: 'mvn33-new'
1111
1112 - job-template:
1113     name: 'cicn-libccnx-portal-verify-{stream}-{os}'
1114
1115     project-type: freestyle
1116     node: '{os}-basebuild-4c-4g'
1117     concurrent: true
1118
1119     logrotate:
1120         daysToKeep: '{build-days-to-keep}'
1121         numToKeep: '{build-num-to-keep}'
1122         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1123         artifactNumToKeep: '{build-artifact-num-to-keep}'
1124
1125     parameters:
1126         - project-parameter:
1127             project: '{project}'
1128         - gerrit-parameter:
1129             branch: '{branch}'
1130         - os-parameter:
1131             os: '{os}'
1132
1133     scm:
1134         - gerrit-trigger-scm:
1135             credentials-id: 'jenkins-gerrit-credentials'
1136             refspec: '$GERRIT_REFSPEC'
1137             choosing-strategy: 'gerrit'
1138
1139     wrappers:
1140         - fdio-infra-wrappers:
1141             build-timeout: '{build-timeout}'
1142
1143     triggers:
1144         - gerrit-trigger-patch-submitted:
1145             name: '{project}'
1146             branch: '{branch}'
1147
1148     builders:
1149         - shell:
1150             !include-raw-escape:
1151                 - include-raw-cicn-libccnx-portal-build.sh
1152
1153     publishers:
1154         - archive:
1155             artifacts: 'libccnx-portal/build/*.rpm,libccnx-portal/build/*.deb'
1156             allow-empty: 'true'
1157             fingerprint: false
1158             only-if-success: true
1159             default-excludes: false
1160         - fdio-infra-shiplogs:
1161             maven-version: 'mvn33-new'
1162
1163 - job-template:
1164     name: 'cicn-libicnet-merge-{stream}-{os}'
1165
1166     project-type: freestyle
1167     node: '{os}-basebuild-4c-4g'
1168
1169     logrotate:
1170         daysToKeep: '{build-days-to-keep}'
1171         numToKeep: '{build-num-to-keep}'
1172         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1173         artifactNumToKeep: '{build-artifact-num-to-keep}'
1174
1175     parameters:
1176         - project-parameter:
1177             project: '{project}'
1178         - gerrit-parameter:
1179             branch: '{branch}'
1180         - os-parameter:
1181             os: '{os}'
1182         - maven-project-parameter:
1183             maven: 'mvn33-new'
1184         - maven-exec:
1185             maven-version: 'mvn33-new'
1186         - repo-name-parameter:
1187             repo-name: '{repo-stream-part}.{repo-os-part}'
1188
1189     scm:
1190         - gerrit-trigger-scm:
1191             credentials-id: 'jenkins-gerrit-credentials'
1192             refspec: ''
1193             choosing-strategy: 'default'
1194
1195     wrappers:
1196         - fdio-infra-wrappers:
1197             build-timeout: '{build-timeout}'
1198
1199     triggers:
1200         - gerrit-trigger-patch-merged:
1201             name: '{project}'
1202             branch: '{branch}'
1203         - reverse:
1204             jobs: 'cicn-libccnx-portal-merge-{stream}-{os}'
1205             result: 'failure'
1206
1207     builders:
1208         - maven-target:
1209             maven-version: 'mvn33-new'
1210             goals: '--version'
1211             settings: 'cicn-settings'
1212             settings-type: cfp
1213             global-settings: 'global-settings'
1214             global-settings-type: cfp
1215         - shell:
1216             !include-raw-escape:
1217                 - include-raw-cicn-libicnet-build.sh
1218         - provide-maven-settings:
1219             settings-file: 'cicn-settings'
1220             global-settings-file: 'global-settings'
1221         - shell:
1222             !include-raw-escape:
1223                 - ../scripts/maven_push_functions.sh
1224                 - include-raw-cicn-maven-push.sh
1225     publishers:
1226         - archive:
1227             artifacts: 'build/*.rpm,build/*.deb'
1228             allow-empty: 'true'
1229             fingerprint: false
1230             only-if-success: true
1231             default-excludes: false
1232         - fdio-infra-shiplogs:
1233             maven-version: 'mvn33-new'
1234
1235 - job-template:
1236     name: 'cicn-libicnet-verify-{stream}-{os}'
1237
1238     project-type: freestyle
1239     node: '{os}-basebuild-4c-4g'
1240     concurrent: true
1241
1242     logrotate:
1243         daysToKeep: '{build-days-to-keep}'
1244         numToKeep: '{build-num-to-keep}'
1245         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1246         artifactNumToKeep: '{build-artifact-num-to-keep}'
1247
1248     parameters:
1249         - project-parameter:
1250             project: '{project}'
1251         - gerrit-parameter:
1252             branch: '{branch}'
1253         - os-parameter:
1254             os: '{os}'
1255
1256     scm:
1257         - gerrit-trigger-scm:
1258             credentials-id: 'jenkins-gerrit-credentials'
1259             refspec: '$GERRIT_REFSPEC'
1260             choosing-strategy: 'gerrit'
1261
1262     wrappers:
1263         - fdio-infra-wrappers:
1264             build-timeout: '{build-timeout}'
1265
1266     triggers:
1267         - gerrit-trigger-patch-submitted:
1268             name: '{project}'
1269             branch: '{branch}'
1270
1271     builders:
1272         - shell:
1273             !include-raw-escape:
1274                 - include-raw-cicn-libicnet-build.sh
1275
1276     publishers:
1277         - archive:
1278             artifacts: 'build/*.rpm,build/*.deb'
1279             allow-empty: 'true'
1280             fingerprint: false
1281             only-if-success: true
1282             default-excludes: false
1283         - fdio-infra-shiplogs:
1284             maven-version: 'mvn33-new'
1285
1286 - job-template:
1287     name: 'cicn-metis-merge-{stream}-{os}'
1288
1289     project-type: freestyle
1290     node: '{os}-basebuild-4c-4g'
1291
1292     logrotate:
1293         daysToKeep: '{build-days-to-keep}'
1294         numToKeep: '{build-num-to-keep}'
1295         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1296         artifactNumToKeep: '{build-artifact-num-to-keep}'
1297
1298     parameters:
1299         - project-parameter:
1300             project: '{project}'
1301         - gerrit-parameter:
1302             branch: '{branch}'
1303         - os-parameter:
1304             os: '{os}'
1305         - maven-project-parameter:
1306             maven: 'mvn33-new'
1307         - maven-exec:
1308             maven-version: 'mvn33-new'
1309         - repo-name-parameter:
1310             repo-name: '{repo-stream-part}.{repo-os-part}'
1311
1312     scm:
1313         - gerrit-trigger-scm:
1314             credentials-id: 'jenkins-gerrit-credentials'
1315             refspec: ''
1316             choosing-strategy: 'default'
1317
1318     wrappers:
1319         - fdio-infra-wrappers:
1320             build-timeout: '{build-timeout}'
1321
1322     triggers:
1323         - gerrit-trigger-patch-merged:
1324             name: '{project}'
1325             branch: '{branch}'
1326         - reverse:
1327             jobs: 'cicn-libccnx-portal-merge-{stream}-{os}'
1328             result: 'failure'
1329
1330     builders:
1331         - maven-target:
1332             maven-version: 'mvn33-new'
1333             goals: '--version'
1334             settings: 'cicn-settings'
1335             settings-type: cfp
1336             global-settings: 'global-settings'
1337             global-settings-type: cfp
1338         - shell:
1339             !include-raw-escape:
1340                 - include-raw-cicn-metis-build.sh
1341         - provide-maven-settings:
1342             settings-file: 'cicn-settings'
1343             global-settings-file: 'global-settings'
1344         - shell:
1345             !include-raw-escape:
1346                 - ../scripts/maven_push_functions.sh
1347                 - include-raw-cicn-maven-push.sh
1348     publishers:
1349         - archive:
1350             artifacts: 'metis/build/*.rpm,metis/build/*.deb'
1351             allow-empty: 'true'
1352             fingerprint: false
1353             only-if-success: true
1354             default-excludes: false
1355         - fdio-infra-shiplogs:
1356             maven-version: 'mvn33-new'
1357
1358 - job-template:
1359     name: 'cicn-metis-verify-{stream}-{os}'
1360
1361     project-type: freestyle
1362     node: '{os}-basebuild-4c-4g'
1363     concurrent: true
1364
1365     logrotate:
1366         daysToKeep: '{build-days-to-keep}'
1367         numToKeep: '{build-num-to-keep}'
1368         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1369         artifactNumToKeep: '{build-artifact-num-to-keep}'
1370
1371     parameters:
1372         - project-parameter:
1373             project: '{project}'
1374         - gerrit-parameter:
1375             branch: '{branch}'
1376         - os-parameter:
1377             os: '{os}'
1378
1379     scm:
1380         - gerrit-trigger-scm:
1381             credentials-id: 'jenkins-gerrit-credentials'
1382             refspec: '$GERRIT_REFSPEC'
1383             choosing-strategy: 'gerrit'
1384
1385     wrappers:
1386         - fdio-infra-wrappers:
1387             build-timeout: '{build-timeout}'
1388
1389     triggers:
1390         - gerrit-trigger-patch-submitted:
1391             name: '{project}'
1392             branch: '{branch}'
1393
1394     builders:
1395         - shell:
1396             !include-raw-escape:
1397                 - include-raw-cicn-metis-build.sh
1398
1399     publishers:
1400         - archive:
1401             artifacts: 'metis/build/*.rpm,metis/build/*.deb'
1402             allow-empty: 'true'
1403             fingerprint: false
1404             only-if-success: true
1405             default-excludes: false
1406         - fdio-infra-shiplogs:
1407             maven-version: 'mvn33-new'
1408
1409 - job-template:
1410     name: 'cicn-http-server-merge-{stream}-{os}'
1411
1412     project-type: freestyle
1413     node: '{os}-basebuild-4c-4g'
1414
1415     logrotate:
1416         daysToKeep: '{build-days-to-keep}'
1417         numToKeep: '{build-num-to-keep}'
1418         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1419         artifactNumToKeep: '{build-artifact-num-to-keep}'
1420
1421     parameters:
1422         - project-parameter:
1423             project: '{project}'
1424         - gerrit-parameter:
1425             branch: '{branch}'
1426         - os-parameter:
1427             os: '{os}'
1428         - maven-project-parameter:
1429             maven: 'mvn33-new'
1430         - maven-exec:
1431             maven-version: 'mvn33-new'
1432         - repo-name-parameter:
1433             repo-name: '{repo-stream-part}.{repo-os-part}'
1434
1435     scm:
1436         - gerrit-trigger-scm:
1437             credentials-id: 'jenkins-gerrit-credentials'
1438             refspec: ''
1439             choosing-strategy: 'default'
1440
1441     wrappers:
1442         - fdio-infra-wrappers:
1443             build-timeout: '{build-timeout}'
1444
1445     triggers:
1446         - gerrit-trigger-patch-merged:
1447             name: '{project}'
1448             branch: '{branch}'
1449         - reverse:
1450             jobs: 'cicn-libicnet-merge-{stream}-{os}'
1451             result: 'failure'
1452
1453     builders:
1454         - maven-target:
1455             maven-version: 'mvn33-new'
1456             goals: '--version'
1457             settings: 'cicn-settings'
1458             settings-type: cfp
1459             global-settings: 'global-settings'
1460             global-settings-type: cfp
1461         - shell:
1462             !include-raw-escape:
1463                 - include-raw-cicn-http-server-build.sh
1464         - provide-maven-settings:
1465             settings-file: 'cicn-settings'
1466             global-settings-file: 'global-settings'
1467         - shell:
1468             !include-raw-escape:
1469                 - ../scripts/maven_push_functions.sh
1470                 - include-raw-cicn-maven-push.sh
1471     publishers:
1472         - archive:
1473             artifacts: 'build/*.rpm,build/*.deb'
1474             allow-empty: 'true'
1475             fingerprint: false
1476             only-if-success: true
1477             default-excludes: false
1478         - fdio-infra-shiplogs:
1479             maven-version: 'mvn33-new'
1480
1481 - job-template:
1482     name: 'cicn-http-server-verify-{stream}-{os}'
1483
1484     project-type: freestyle
1485     node: '{os}-basebuild-4c-4g'
1486     concurrent: true
1487
1488     logrotate:
1489         daysToKeep: '{build-days-to-keep}'
1490         numToKeep: '{build-num-to-keep}'
1491         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1492         artifactNumToKeep: '{build-artifact-num-to-keep}'
1493
1494     parameters:
1495         - project-parameter:
1496             project: '{project}'
1497         - gerrit-parameter:
1498             branch: '{branch}'
1499         - os-parameter:
1500             os: '{os}'
1501
1502     scm:
1503         - gerrit-trigger-scm:
1504             credentials-id: 'jenkins-gerrit-credentials'
1505             refspec: '$GERRIT_REFSPEC'
1506             choosing-strategy: 'gerrit'
1507
1508     wrappers:
1509         - fdio-infra-wrappers:
1510             build-timeout: '{build-timeout}'
1511
1512     triggers:
1513         - gerrit-trigger-patch-submitted:
1514             name: '{project}'
1515             branch: '{branch}'
1516
1517     builders:
1518         - shell:
1519             !include-raw-escape:
1520                 - include-raw-cicn-http-server-build.sh
1521
1522     publishers:
1523         - archive:
1524             artifacts: 'build/*.rpm,build/*.deb'
1525             allow-empty: 'true'
1526             fingerprint: false
1527             only-if-success: true
1528             default-excludes: false
1529         - fdio-infra-shiplogs:
1530             maven-version: 'mvn33-new'
1531
1532 - job-template:
1533     name: 'cicn-vpp-plugin-merge-{stream}-{os}'
1534
1535     project-type: freestyle
1536     node: '{os}-basebuild-4c-4g'
1537
1538     logrotate:
1539         daysToKeep: '{build-days-to-keep}'
1540         numToKeep: '{build-num-to-keep}'
1541         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1542         artifactNumToKeep: '{build-artifact-num-to-keep}'
1543
1544     parameters:
1545         - project-parameter:
1546             project: '{project}'
1547         - gerrit-parameter:
1548             branch: '{branch}'
1549         - os-parameter:
1550             os: '{os}'
1551         - maven-project-parameter:
1552             maven: 'mvn33-new'
1553         - maven-exec:
1554             maven-version: 'mvn33-new'
1555         - repo-name-parameter:
1556             repo-name: '{repo-stream-part}.{repo-os-part}'
1557
1558     scm:
1559         - gerrit-trigger-scm:
1560             credentials-id: 'jenkins-gerrit-credentials'
1561             refspec: ''
1562             choosing-strategy: 'default'
1563
1564     wrappers:
1565         - fdio-infra-wrappers:
1566             build-timeout: '{build-timeout}'
1567
1568     triggers:
1569         - gerrit-trigger-patch-merged:
1570             name: '{project}'
1571             branch: '{branch}'
1572         - timed: '@daily'
1573
1574     builders:
1575         - maven-target:
1576             maven-version: 'mvn33-new'
1577             goals: '--version'
1578             settings: 'cicn-settings'
1579             settings-type: cfp
1580             global-settings: 'global-settings'
1581             global-settings-type: cfp
1582         - shell:
1583             !include-raw-escape:
1584                 - include-raw-cicn-vpp-plugin-build.sh
1585         - provide-maven-settings:
1586             settings-file: 'cicn-settings'
1587             global-settings-file: 'global-settings'
1588         - shell:
1589             !include-raw-escape:
1590                 - ../scripts/maven_push_functions.sh
1591                 - include-raw-cicn-maven-push.sh
1592     publishers:
1593         - archive:
1594             artifacts: 'cicn-plugin/build/*.rpm,cicn-plugin/build/*.deb'
1595             allow-empty: 'true'
1596             fingerprint: false
1597             only-if-success: true
1598             default-excludes: false
1599         - fdio-infra-shiplogs:
1600             maven-version: 'mvn33-new'
1601
1602 - job-template:
1603     name: 'cicn-vpp-plugin-verify-{stream}-{os}'
1604
1605     project-type: freestyle
1606     node: '{os}-basebuild-4c-4g'
1607     concurrent: true
1608
1609     logrotate:
1610         daysToKeep: '{build-days-to-keep}'
1611         numToKeep: '{build-num-to-keep}'
1612         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1613         artifactNumToKeep: '{build-artifact-num-to-keep}'
1614
1615     parameters:
1616         - project-parameter:
1617             project: '{project}'
1618         - gerrit-parameter:
1619             branch: '{branch}'
1620         - os-parameter:
1621             os: '{os}'
1622
1623     scm:
1624         - gerrit-trigger-scm:
1625             credentials-id: 'jenkins-gerrit-credentials'
1626             refspec: '$GERRIT_REFSPEC'
1627             choosing-strategy: 'gerrit'
1628
1629     wrappers:
1630         - fdio-infra-wrappers:
1631             build-timeout: '{build-timeout}'
1632
1633     triggers:
1634         - gerrit-trigger-patch-submitted:
1635             name: '{project}'
1636             branch: '{branch}'
1637
1638     builders:
1639         - shell:
1640             !include-raw-escape:
1641                 - include-raw-cicn-vpp-plugin-build.sh
1642
1643     publishers:
1644         - archive:
1645             artifacts: 'cicn-plugin/build/*.rpm,cicn-plugin/build/*.deb'
1646             allow-empty: 'true'
1647             fingerprint: false
1648             only-if-success: true
1649             default-excludes: false
1650         - fdio-infra-shiplogs:
1651             maven-version: 'mvn33-new'
1652
1653 - job-template:
1654     name: 'cicn-viper-merge-{stream}-{os}'
1655
1656     project-type: freestyle
1657     node: '{os}-basebuild-4c-4g'
1658
1659     logrotate:
1660         daysToKeep: '{build-days-to-keep}'
1661         numToKeep: '{build-num-to-keep}'
1662         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1663         artifactNumToKeep: '{build-artifact-num-to-keep}'
1664
1665     parameters:
1666         - project-parameter:
1667             project: '{project}'
1668         - gerrit-parameter:
1669             branch: '{branch}'
1670         - os-parameter:
1671             os: '{os}'
1672         - maven-project-parameter:
1673             maven: 'mvn33-new'
1674         - maven-exec:
1675             maven-version: 'mvn33-new'
1676         - repo-name-parameter:
1677             repo-name: '{repo-stream-part}.{repo-os-part}'
1678
1679     scm:
1680         - gerrit-trigger-scm:
1681             credentials-id: 'jenkins-gerrit-credentials'
1682             refspec: ''
1683             choosing-strategy: 'default'
1684
1685     wrappers:
1686         - fdio-infra-wrappers:
1687             build-timeout: '{build-timeout}'
1688
1689     triggers:
1690         - gerrit-trigger-patch-merged:
1691             name: '{project}'
1692             branch: '{branch}'
1693         - reverse:
1694             jobs: 'cicn-libicnet-merge-{stream}-{os}'
1695             result: 'failure'
1696
1697     builders:
1698         - maven-target:
1699             maven-version: 'mvn33-new'
1700             goals: '--version'
1701             settings: 'cicn-settings'
1702             settings-type: cfp
1703             global-settings: 'global-settings'
1704             global-settings-type: cfp
1705         - shell:
1706             !include-raw-escape:
1707                 - include-raw-cicn-viper-build.sh
1708         - provide-maven-settings:
1709             settings-file: 'cicn-settings'
1710             global-settings-file: 'global-settings'
1711         - shell:
1712             !include-raw-escape:
1713                 - ../scripts/maven_push_functions.sh
1714                 - include-raw-cicn-maven-push.sh
1715     publishers:
1716         - archive:
1717             artifacts: 'build/*.rpm,build/*.deb,libdash/build/*.rpm,libdash/build/*.deb'
1718             allow-empty: 'true'
1719             fingerprint: false
1720             only-if-success: true
1721             default-excludes: false
1722         - fdio-infra-shiplogs:
1723             maven-version: 'mvn33-new'
1724
1725 - job-template:
1726     name: 'cicn-viper-verify-{stream}-{os}'
1727
1728     project-type: freestyle
1729     node: '{os}-basebuild-4c-4g'
1730     concurrent: true
1731
1732     logrotate:
1733         daysToKeep: '{build-days-to-keep}'
1734         numToKeep: '{build-num-to-keep}'
1735         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1736         artifactNumToKeep: '{build-artifact-num-to-keep}'
1737
1738     parameters:
1739         - project-parameter:
1740             project: '{project}'
1741         - gerrit-parameter:
1742             branch: '{branch}'
1743         - os-parameter:
1744             os: '{os}'
1745
1746     scm:
1747         - gerrit-trigger-scm:
1748             credentials-id: 'jenkins-gerrit-credentials'
1749             refspec: '$GERRIT_REFSPEC'
1750             choosing-strategy: 'gerrit'
1751
1752     wrappers:
1753         - fdio-infra-wrappers:
1754             build-timeout: '{build-timeout}'
1755
1756     triggers:
1757         - gerrit-trigger-patch-submitted:
1758             name: '{project}'
1759             branch: '{branch}'
1760
1761     builders:
1762         - shell:
1763             !include-raw-escape:
1764                 - include-raw-cicn-viper-build.sh
1765
1766     publishers:
1767         - archive:
1768             artifacts: 'build/*.rpm,build/*.deb,libdash/build/*.rpm,libdash/build/*.deb'
1769             allow-empty: 'true'
1770             fingerprint: false
1771             only-if-success: true
1772             default-excludes: false
1773         - fdio-infra-shiplogs:
1774             maven-version: 'mvn33-new'
1775
1776 - job-template:
1777     name: 'cicn-radio-emulators-merge-{stream}-{os}'
1778
1779     project-type: freestyle
1780     node: '{os}-basebuild-4c-4g'
1781
1782     logrotate:
1783         daysToKeep: '{build-days-to-keep}'
1784         numToKeep: '{build-num-to-keep}'
1785         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1786         artifactNumToKeep: '{build-artifact-num-to-keep}'
1787
1788     parameters:
1789         - project-parameter:
1790             project: '{project}'
1791         - gerrit-parameter:
1792             branch: '{branch}'
1793         - os-parameter:
1794             os: '{os}'
1795         - maven-project-parameter:
1796             maven: 'mvn33-new'
1797         - maven-exec:
1798             maven-version: 'mvn33-new'
1799         - repo-name-parameter:
1800             repo-name: '{repo-stream-part}.{repo-os-part}'
1801
1802     scm:
1803         - gerrit-trigger-scm:
1804             credentials-id: 'jenkins-gerrit-credentials'
1805             refspec: ''
1806             choosing-strategy: 'default'
1807
1808     wrappers:
1809         - fdio-infra-wrappers:
1810             build-timeout: '{build-timeout}'
1811
1812     triggers:
1813         - gerrit-trigger-patch-merged:
1814             name: '{project}'
1815             branch: '{branch}'
1816         - timed: '@daily'
1817
1818     builders:
1819         - maven-target:
1820             maven-version: 'mvn33-new'
1821             goals: '--version'
1822             settings: 'cicn-settings'
1823             settings-type: cfp
1824             global-settings: 'global-settings'
1825             global-settings-type: cfp
1826         - shell:
1827             !include-raw-escape:
1828                 - include-raw-cicn-radio-emulators-build.sh
1829         - provide-maven-settings:
1830             settings-file: 'cicn-settings'
1831             global-settings-file: 'global-settings'
1832         - shell:
1833             !include-raw-escape:
1834                 - ../scripts/maven_push_functions.sh
1835                 - include-raw-cicn-maven-push.sh
1836     publishers:
1837         - archive:
1838             artifacts: 'emu-radio/build/*.rpm,emu-radio/build/*.deb,emu-radio/ns3-packages/*.rpm,emu-radio/ns3-packages/*.deb'
1839             allow-empty: 'true'
1840             fingerprint: false
1841             only-if-success: true
1842             default-excludes: false
1843         - fdio-infra-shiplogs:
1844             maven-version: 'mvn33-new'
1845
1846 - job-template:
1847     name: 'cicn-radio-emulators-verify-{stream}-{os}'
1848
1849     project-type: freestyle
1850     node: '{os}-basebuild-4c-4g'
1851     concurrent: true
1852
1853     logrotate:
1854         daysToKeep: '{build-days-to-keep}'
1855         numToKeep: '{build-num-to-keep}'
1856         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1857         artifactNumToKeep: '{build-artifact-num-to-keep}'
1858
1859     parameters:
1860         - project-parameter:
1861             project: '{project}'
1862         - gerrit-parameter:
1863             branch: '{branch}'
1864         - os-parameter:
1865             os: '{os}'
1866
1867     scm:
1868         - gerrit-trigger-scm:
1869             credentials-id: 'jenkins-gerrit-credentials'
1870             refspec: '$GERRIT_REFSPEC'
1871             choosing-strategy: 'gerrit'
1872
1873     wrappers:
1874         - fdio-infra-wrappers:
1875             build-timeout: '{build-timeout}'
1876
1877     triggers:
1878         - gerrit-trigger-patch-submitted:
1879             name: '{project}'
1880             branch: '{branch}'
1881
1882     builders:
1883         - shell:
1884             !include-raw-escape:
1885                 - include-raw-cicn-radio-emulators-build.sh
1886
1887     publishers:
1888         - archive:
1889             artifacts: 'emu-radio/build/*.rpm,emu-radio/build/*.deb,emu-radio/ns3-packages/*.rpm,emu-radio/ns3-packages/*.deb'
1890             allow-empty: 'true'
1891             fingerprint: false
1892             only-if-success: true
1893             default-excludes: false
1894         - fdio-infra-shiplogs:
1895             maven-version: 'mvn33-new'
1896
1897 - job-template:
1898     name: 'cicn-android-sdk-merge-{stream}-{os}'
1899
1900     project-type: freestyle
1901     node: '{os}-basebuild-4c-4g'
1902
1903     logrotate:
1904         daysToKeep: '{build-days-to-keep}'
1905         numToKeep: '{build-num-to-keep}'
1906         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1907         artifactNumToKeep: '{build-artifact-num-to-keep}'
1908
1909     parameters:
1910         - project-parameter:
1911             project: '{project}'
1912         - gerrit-parameter:
1913             branch: '{branch}'
1914         - os-parameter:
1915             os: '{os}'
1916         - maven-project-parameter:
1917             maven: 'mvn33-new'
1918         - maven-exec:
1919             maven-version: 'mvn33-new'
1920         - repo-name-parameter:
1921             repo-name: '{repo-stream-part}.{repo-os-part}'
1922
1923     scm:
1924         - gerrit-trigger-scm:
1925             credentials-id: 'jenkins-gerrit-credentials'
1926             refspec: ''
1927             choosing-strategy: 'default'
1928
1929     wrappers:
1930         - fdio-infra-wrappers:
1931             build-timeout: '{build-timeout}'
1932
1933     triggers:
1934         - gerrit-trigger-patch-merged:
1935             name: '{project}'
1936             branch: '{branch}'
1937         - timed: '@daily'
1938
1939     builders:
1940         - shell:
1941             !include-raw-escape:
1942                 - include-raw-cicn-android-sdk-build.sh
1943     publishers:
1944         - archive:
1945             artifacts: 'iGetAndroid/app/build/outputs/apk/*.apk,MetisForwarder/app/build/outputs/apk/*.apk,build/viper/viper-armv7//build/outputs/apk/*.apk'
1946             allow-empty: 'true'
1947             fingerprint: false
1948             only-if-success: true
1949             default-excludes: false
1950         - fdio-infra-shiplogs:
1951             maven-version: 'mvn33-new'
1952
1953 - job-template:
1954     name: 'cicn-android-sdk-verify-{stream}-{os}'
1955
1956     project-type: freestyle
1957     node: '{os}-basebuild-4c-4g'
1958     concurrent: true
1959
1960     logrotate:
1961         daysToKeep: '{build-days-to-keep}'
1962         numToKeep: '{build-num-to-keep}'
1963         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1964         artifactNumToKeep: '{build-artifact-num-to-keep}'
1965
1966     parameters:
1967         - project-parameter:
1968             project: '{project}'
1969         - gerrit-parameter:
1970             branch: '{branch}'
1971         - os-parameter:
1972             os: '{os}'
1973
1974     scm:
1975         - gerrit-trigger-scm:
1976             credentials-id: 'jenkins-gerrit-credentials'
1977             refspec: '$GERRIT_REFSPEC'
1978             choosing-strategy: 'gerrit'
1979
1980     wrappers:
1981         - fdio-infra-wrappers:
1982             build-timeout: '{build-timeout}'
1983
1984     triggers:
1985         - gerrit-trigger-patch-submitted:
1986             name: '{project}'
1987             branch: '{branch}'
1988
1989     builders:
1990         - shell:
1991             !include-raw-escape:
1992                 - include-raw-cicn-android-sdk-build.sh
1993
1994     publishers:
1995         - archive:
1996             artifacts: 'iGetAndroid/app/build/outputs/apk/*.apk,MetisForwarder/app/build/outputs/apk/*.apk,build/viper/viper-armv7//build/outputs/apk/*.apk'
1997             allow-empty: 'true'
1998             fingerprint: false
1999             only-if-success: true
2000             default-excludes: false
2001         - fdio-infra-shiplogs:
2002             maven-version: 'mvn33-new'
2003
2004 - job-template:
2005     name: 'cicn-vicn-merge-{stream}-{os}'
2006
2007     project-type: freestyle
2008     node: '{os}-basebuild-4c-4g'
2009
2010     logrotate:
2011         daysToKeep: '{build-days-to-keep}'
2012         numToKeep: '{build-num-to-keep}'
2013         artifactDaysToKeep: '{build-artifact-days-to-keep}'
2014         artifactNumToKeep: '{build-artifact-num-to-keep}'
2015
2016     parameters:
2017         - project-parameter:
2018             project: '{project}'
2019         - gerrit-parameter:
2020             branch: '{branch}'
2021         - os-parameter:
2022             os: '{os}'
2023         - maven-project-parameter:
2024             maven: 'mvn33-new'
2025         - maven-exec:
2026             maven-version: 'mvn33-new'
2027         - repo-name-parameter:
2028             repo-name: '{repo-stream-part}.{repo-os-part}'
2029
2030     scm:
2031         - gerrit-trigger-scm:
2032             credentials-id: 'jenkins-gerrit-credentials'
2033             refspec: ''
2034             choosing-strategy: 'default'
2035
2036     wrappers:
2037         - fdio-infra-wrappers:
2038             build-timeout: '{build-timeout}'
2039
2040     triggers:
2041         - gerrit-trigger-patch-merged:
2042             name: '{project}'
2043             branch: '{branch}'
2044         - timed: '@daily'
2045
2046     builders:
2047         - maven-target:
2048             maven-version: 'mvn33-new'
2049             goals: '--version'
2050             settings: 'cicn-settings'
2051             settings-type: cfp
2052             global-settings: 'global-settings'
2053             global-settings-type: cfp
2054         - shell:
2055             !include-raw-escape:
2056                 - include-raw-cicn-vicn-build.sh
2057         - provide-maven-settings:
2058             settings-file: 'cicn-settings'
2059             global-settings-file: 'global-settings'
2060         - shell:
2061             !include-raw-escape:
2062                 - ../scripts/maven_push_functions.sh
2063                 - include-raw-cicn-maven-push.sh
2064     publishers:
2065         - archive:
2066             artifacts: 'build/*.rpm,build/*.deb'
2067             allow-empty: 'true'
2068             fingerprint: false
2069             only-if-success: true
2070             default-excludes: false
2071         - fdio-infra-shiplogs:
2072             maven-version: 'mvn33-new'
2073
2074 - job-template:
2075     name: 'cicn-vicn-verify-{stream}-{os}'
2076
2077     project-type: freestyle
2078     node: '{os}-basebuild-4c-4g'
2079     concurrent: true
2080
2081     logrotate:
2082         daysToKeep: '{build-days-to-keep}'
2083         numToKeep: '{build-num-to-keep}'
2084         artifactDaysToKeep: '{build-artifact-days-to-keep}'
2085         artifactNumToKeep: '{build-artifact-num-to-keep}'
2086
2087     parameters:
2088         - project-parameter:
2089             project: '{project}'
2090         - gerrit-parameter:
2091             branch: '{branch}'
2092         - os-parameter:
2093             os: '{os}'
2094
2095     scm:
2096         - gerrit-trigger-scm:
2097             credentials-id: 'jenkins-gerrit-credentials'
2098             refspec: '$GERRIT_REFSPEC'
2099             choosing-strategy: 'gerrit'
2100
2101     wrappers:
2102         - fdio-infra-wrappers:
2103             build-timeout: '{build-timeout}'
2104
2105     triggers:
2106         - gerrit-trigger-patch-submitted:
2107             name: '{project}'
2108             branch: '{branch}'
2109
2110     builders:
2111         - shell:
2112             !include-raw-escape:
2113                 - include-raw-cicn-vicn-build.sh
2114
2115     publishers:
2116         - archive:
2117             artifacts: 'build/*.rpm,build/*.deb'
2118             allow-empty: 'true'
2119             fingerprint: false
2120             only-if-success: true
2121             default-excludes: false
2122         - fdio-infra-shiplogs:
2123             maven-version: 'mvn33-new'