Publish artifacts for verify jobs as well.
[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     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         - archive:
353             artifacts: 'longbow/build/*.rpm,longbow/build/*.deb'
354             allow-empty: 'true'
355             fingerprint: false
356             only-if-success: true
357             default-excludes: false
358         - fdio-infra-shiplogs:
359             maven-version: 'mvn33-new'
360
361 - job-template:
362     name: 'cicn-libparc-merge-{stream}-{os}'
363
364     project-type: freestyle
365     node: '{os}-basebuild-4c-4g'
366
367     logrotate:
368         daysToKeep: '{build-days-to-keep}'
369         numToKeep: '{build-num-to-keep}'
370         artifactDaysToKeep: '{build-artifact-days-to-keep}'
371         artifactNumToKeep: '{build-artifact-num-to-keep}'
372
373     parameters:
374         - project-parameter:
375             project: '{project}'
376         - gerrit-parameter:
377             branch: '{branch}'
378         - os-parameter:
379             os: '{os}'
380         - maven-project-parameter:
381             maven: 'mvn33-new'
382         - maven-exec:
383             maven-version: 'mvn33-new'
384         - repo-name-parameter:
385             repo-name: '{repo-stream-part}.{repo-os-part}'
386
387     scm:
388         - gerrit-trigger-scm:
389             credentials-id: 'jenkins-gerrit-credentials'
390             refspec: ''
391             choosing-strategy: 'default'
392
393     wrappers:
394         - fdio-infra-wrappers:
395             build-timeout: '{build-timeout}'
396
397     triggers:
398         - gerrit-trigger-patch-merged:
399             name: '{project}'
400             branch: '{branch}'
401         - reverse:
402             jobs: 'cicn-longbow-merge-{stream}-{os}'
403             result: 'failure'
404
405     builders:
406         - maven-target:
407             maven-version: 'mvn33-new'
408             goals: '--version'
409             settings: 'cicn-settings'
410             settings-type: cfp
411             global-settings: 'global-settings'
412             global-settings-type: cfp
413         - shell:
414             !include-raw-escape:
415                 - include-raw-cicn-libparc-build.sh
416         - provide-maven-settings:
417             settings-file: 'cicn-settings'
418             global-settings-file: 'global-settings'
419         - shell:
420             !include-raw-escape:
421                 - ../scripts/maven_push_functions.sh
422                 - include-raw-cicn-maven-push.sh
423     publishers:
424         - archive:
425             artifacts: 'libparc/build/*.rpm,libparc/build/*.deb'
426             allow-empty: 'true'
427             fingerprint: false
428             only-if-success: true
429             default-excludes: false
430         - fdio-infra-shiplogs:
431             maven-version: 'mvn33-new'
432
433 - job-template:
434     name: 'cicn-libparc-verify-{stream}-{os}'
435
436     project-type: freestyle
437     node: '{os}-basebuild-4c-4g'
438     concurrent: true
439
440     logrotate:
441         daysToKeep: '{build-days-to-keep}'
442         numToKeep: '{build-num-to-keep}'
443         artifactDaysToKeep: '{build-artifact-days-to-keep}'
444         artifactNumToKeep: '{build-artifact-num-to-keep}'
445
446     parameters:
447         - project-parameter:
448             project: '{project}'
449         - gerrit-parameter:
450             branch: '{branch}'
451         - os-parameter:
452             os: '{os}'
453
454     scm:
455         - gerrit-trigger-scm:
456             credentials-id: 'jenkins-gerrit-credentials'
457             refspec: '$GERRIT_REFSPEC'
458             choosing-strategy: 'gerrit'
459
460     wrappers:
461         - fdio-infra-wrappers:
462             build-timeout: '{build-timeout}'
463
464     triggers:
465         - gerrit-trigger-patch-submitted:
466             name: '{project}'
467             branch: '{branch}'
468
469     builders:
470         - shell:
471             !include-raw-escape:
472                 - include-raw-cicn-libparc-build.sh
473
474     publishers:
475         - archive:
476             artifacts: 'libparc/build/*.rpm,libparc/build/*.deb'
477             allow-empty: 'true'
478             fingerprint: false
479             only-if-success: true
480             default-excludes: false
481         - fdio-infra-shiplogs:
482             maven-version: 'mvn33-new'
483
484 - job-template:
485     name: 'cicn-libccnx-common-merge-{stream}-{os}'
486
487     project-type: freestyle
488     node: '{os}-basebuild-4c-4g'
489
490     logrotate:
491         daysToKeep: '{build-days-to-keep}'
492         numToKeep: '{build-num-to-keep}'
493         artifactDaysToKeep: '{build-artifact-days-to-keep}'
494         artifactNumToKeep: '{build-artifact-num-to-keep}'
495
496     parameters:
497         - project-parameter:
498             project: '{project}'
499         - gerrit-parameter:
500             branch: '{branch}'
501         - os-parameter:
502             os: '{os}'
503         - maven-project-parameter:
504             maven: 'mvn33-new'
505         - maven-exec:
506             maven-version: 'mvn33-new'
507         - repo-name-parameter:
508             repo-name: '{repo-stream-part}.{repo-os-part}'
509
510     scm:
511         - gerrit-trigger-scm:
512             credentials-id: 'jenkins-gerrit-credentials'
513             refspec: ''
514             choosing-strategy: 'default'
515
516     wrappers:
517         - fdio-infra-wrappers:
518             build-timeout: '{build-timeout}'
519
520     triggers:
521         - gerrit-trigger-patch-merged:
522             name: '{project}'
523             branch: '{branch}'
524         - reverse:
525             jobs: 'cicn-libparc-merge-{stream}-{os}'
526             result: 'failure'
527
528     builders:
529         - maven-target:
530             maven-version: 'mvn33-new'
531             goals: '--version'
532             settings: 'cicn-settings'
533             settings-type: cfp
534             global-settings: 'global-settings'
535             global-settings-type: cfp
536         - shell:
537             !include-raw-escape:
538                 - include-raw-cicn-libccnx-common-build.sh
539         - provide-maven-settings:
540             settings-file: 'cicn-settings'
541             global-settings-file: 'global-settings'
542         - shell:
543             !include-raw-escape:
544                 - ../scripts/maven_push_functions.sh
545                 - include-raw-cicn-maven-push.sh
546     publishers:
547         - archive:
548             artifacts: 'libccnx-common/build/*.rpm,libccnx-common/build/*.deb'
549             allow-empty: 'true'
550             fingerprint: false
551             only-if-success: true
552             default-excludes: false
553         - fdio-infra-shiplogs:
554             maven-version: 'mvn33-new'
555
556 - job-template:
557     name: 'cicn-libccnx-common-verify-{stream}-{os}'
558
559     project-type: freestyle
560     node: '{os}-basebuild-4c-4g'
561     concurrent: true
562
563     logrotate:
564         daysToKeep: '{build-days-to-keep}'
565         numToKeep: '{build-num-to-keep}'
566         artifactDaysToKeep: '{build-artifact-days-to-keep}'
567         artifactNumToKeep: '{build-artifact-num-to-keep}'
568
569     parameters:
570         - project-parameter:
571             project: '{project}'
572         - gerrit-parameter:
573             branch: '{branch}'
574         - os-parameter:
575             os: '{os}'
576
577     scm:
578         - gerrit-trigger-scm:
579             credentials-id: 'jenkins-gerrit-credentials'
580             refspec: '$GERRIT_REFSPEC'
581             choosing-strategy: 'gerrit'
582
583     wrappers:
584         - fdio-infra-wrappers:
585             build-timeout: '{build-timeout}'
586
587     triggers:
588         - gerrit-trigger-patch-submitted:
589             name: '{project}'
590             branch: '{branch}'
591
592     builders:
593         - shell:
594             !include-raw-escape:
595                 - include-raw-cicn-libccnx-common-build.sh
596
597     publishers:
598         - archive:
599             artifacts: 'libccnx-common/build/*.rpm,libccnx-common/build/*.deb'
600             allow-empty: 'true'
601             fingerprint: false
602             only-if-success: true
603             default-excludes: false
604         - fdio-infra-shiplogs:
605             maven-version: 'mvn33-new'
606
607 - job-template:
608     name: 'cicn-libccnx-transport-rta-merge-{stream}-{os}'
609
610     project-type: freestyle
611     node: '{os}-basebuild-4c-4g'
612
613     logrotate:
614         daysToKeep: '{build-days-to-keep}'
615         numToKeep: '{build-num-to-keep}'
616         artifactDaysToKeep: '{build-artifact-days-to-keep}'
617         artifactNumToKeep: '{build-artifact-num-to-keep}'
618
619     parameters:
620         - project-parameter:
621             project: '{project}'
622         - gerrit-parameter:
623             branch: '{branch}'
624         - os-parameter:
625             os: '{os}'
626         - maven-project-parameter:
627             maven: 'mvn33-new'
628         - maven-exec:
629             maven-version: 'mvn33-new'
630         - repo-name-parameter:
631             repo-name: '{repo-stream-part}.{repo-os-part}'
632
633     scm:
634         - gerrit-trigger-scm:
635             credentials-id: 'jenkins-gerrit-credentials'
636             refspec: ''
637             choosing-strategy: 'default'
638
639     wrappers:
640         - fdio-infra-wrappers:
641             build-timeout: '{build-timeout}'
642
643     triggers:
644         - gerrit-trigger-patch-merged:
645             name: '{project}'
646             branch: '{branch}'
647         - reverse:
648             jobs: 'cicn-libccnx-common-merge-{stream}-{os}'
649             result: 'failure'
650
651     builders:
652         - maven-target:
653             maven-version: 'mvn33-new'
654             goals: '--version'
655             settings: 'cicn-settings'
656             settings-type: cfp
657             global-settings: 'global-settings'
658             global-settings-type: cfp
659         - shell:
660             !include-raw-escape:
661                 - include-raw-cicn-libccnx-transport-rta-build.sh
662         - provide-maven-settings:
663             settings-file: 'cicn-settings'
664             global-settings-file: 'global-settings'
665         - shell:
666             !include-raw-escape:
667                 - ../scripts/maven_push_functions.sh
668                 - include-raw-cicn-maven-push.sh
669     publishers:
670         - archive:
671             artifacts: 'libccnx-transport-rta/build/*.rpm,libccnx-transport-rta/build/*.deb'
672             allow-empty: 'true'
673             fingerprint: false
674             only-if-success: true
675             default-excludes: false
676         - fdio-infra-shiplogs:
677             maven-version: 'mvn33-new'
678
679 - job-template:
680     name: 'cicn-libccnx-transport-rta-verify-{stream}-{os}'
681
682     project-type: freestyle
683     node: '{os}-basebuild-4c-4g'
684     concurrent: true
685
686     logrotate:
687         daysToKeep: '{build-days-to-keep}'
688         numToKeep: '{build-num-to-keep}'
689         artifactDaysToKeep: '{build-artifact-days-to-keep}'
690         artifactNumToKeep: '{build-artifact-num-to-keep}'
691
692     parameters:
693         - project-parameter:
694             project: '{project}'
695         - gerrit-parameter:
696             branch: '{branch}'
697         - os-parameter:
698             os: '{os}'
699
700     scm:
701         - gerrit-trigger-scm:
702             credentials-id: 'jenkins-gerrit-credentials'
703             refspec: '$GERRIT_REFSPEC'
704             choosing-strategy: 'gerrit'
705
706     wrappers:
707         - fdio-infra-wrappers:
708             build-timeout: '{build-timeout}'
709
710     triggers:
711         - gerrit-trigger-patch-submitted:
712             name: '{project}'
713             branch: '{branch}'
714
715     builders:
716         - shell:
717             !include-raw-escape:
718                 - include-raw-cicn-libccnx-transport-rta-build.sh
719
720     publishers:
721         - archive:
722             artifacts: 'libccnx-transport-rta/build/*.rpm,libccnx-transport-rta/build/*.deb'
723             allow-empty: 'true'
724             fingerprint: false
725             only-if-success: true
726             default-excludes: false
727         - fdio-infra-shiplogs:
728             maven-version: 'mvn33-new'
729
730 - job-template:
731     name: 'cicn-libccnx-portal-merge-{stream}-{os}'
732
733     project-type: freestyle
734     node: '{os}-basebuild-4c-4g'
735
736     logrotate:
737         daysToKeep: '{build-days-to-keep}'
738         numToKeep: '{build-num-to-keep}'
739         artifactDaysToKeep: '{build-artifact-days-to-keep}'
740         artifactNumToKeep: '{build-artifact-num-to-keep}'
741
742     parameters:
743         - project-parameter:
744             project: '{project}'
745         - gerrit-parameter:
746             branch: '{branch}'
747         - os-parameter:
748             os: '{os}'
749         - maven-project-parameter:
750             maven: 'mvn33-new'
751         - maven-exec:
752             maven-version: 'mvn33-new'
753         - repo-name-parameter:
754             repo-name: '{repo-stream-part}.{repo-os-part}'
755
756     scm:
757         - gerrit-trigger-scm:
758             credentials-id: 'jenkins-gerrit-credentials'
759             refspec: ''
760             choosing-strategy: 'default'
761
762     wrappers:
763         - fdio-infra-wrappers:
764             build-timeout: '{build-timeout}'
765
766     triggers:
767         - gerrit-trigger-patch-merged:
768             name: '{project}'
769             branch: '{branch}'
770         - reverse:
771             jobs: 'cicn-libccnx-transport-rta-merge-{stream}-{os}'
772             result: 'failure'
773
774     builders:
775         - maven-target:
776             maven-version: 'mvn33-new'
777             goals: '--version'
778             settings: 'cicn-settings'
779             settings-type: cfp
780             global-settings: 'global-settings'
781             global-settings-type: cfp
782         - shell:
783             !include-raw-escape:
784                 - include-raw-cicn-libccnx-portal-build.sh
785         - provide-maven-settings:
786             settings-file: 'cicn-settings'
787             global-settings-file: 'global-settings'
788         - shell:
789             !include-raw-escape:
790                 - ../scripts/maven_push_functions.sh
791                 - include-raw-cicn-maven-push.sh
792     publishers:
793         - archive:
794             artifacts: 'libccnx-portal/build/*.rpm,libccnx-portal/build/*.deb'
795             allow-empty: 'true'
796             fingerprint: false
797             only-if-success: true
798             default-excludes: false
799         - fdio-infra-shiplogs:
800             maven-version: 'mvn33-new'
801
802 - job-template:
803     name: 'cicn-libccnx-portal-verify-{stream}-{os}'
804
805     project-type: freestyle
806     node: '{os}-basebuild-4c-4g'
807     concurrent: true
808
809     logrotate:
810         daysToKeep: '{build-days-to-keep}'
811         numToKeep: '{build-num-to-keep}'
812         artifactDaysToKeep: '{build-artifact-days-to-keep}'
813         artifactNumToKeep: '{build-artifact-num-to-keep}'
814
815     parameters:
816         - project-parameter:
817             project: '{project}'
818         - gerrit-parameter:
819             branch: '{branch}'
820         - os-parameter:
821             os: '{os}'
822
823     scm:
824         - gerrit-trigger-scm:
825             credentials-id: 'jenkins-gerrit-credentials'
826             refspec: '$GERRIT_REFSPEC'
827             choosing-strategy: 'gerrit'
828
829     wrappers:
830         - fdio-infra-wrappers:
831             build-timeout: '{build-timeout}'
832
833     triggers:
834         - gerrit-trigger-patch-submitted:
835             name: '{project}'
836             branch: '{branch}'
837
838     builders:
839         - shell:
840             !include-raw-escape:
841                 - include-raw-cicn-libccnx-portal-build.sh
842
843     publishers:
844         - archive:
845             artifacts: 'libccnx-portal/build/*.rpm,libccnx-portal/build/*.deb'
846             allow-empty: 'true'
847             fingerprint: false
848             only-if-success: true
849             default-excludes: false
850         - fdio-infra-shiplogs:
851             maven-version: 'mvn33-new'
852
853 - job-template:
854     name: 'cicn-libicnet-merge-{stream}-{os}'
855
856     project-type: freestyle
857     node: '{os}-basebuild-4c-4g'
858
859     logrotate:
860         daysToKeep: '{build-days-to-keep}'
861         numToKeep: '{build-num-to-keep}'
862         artifactDaysToKeep: '{build-artifact-days-to-keep}'
863         artifactNumToKeep: '{build-artifact-num-to-keep}'
864
865     parameters:
866         - project-parameter:
867             project: '{project}'
868         - gerrit-parameter:
869             branch: '{branch}'
870         - os-parameter:
871             os: '{os}'
872         - maven-project-parameter:
873             maven: 'mvn33-new'
874         - maven-exec:
875             maven-version: 'mvn33-new'
876         - repo-name-parameter:
877             repo-name: '{repo-stream-part}.{repo-os-part}'
878
879     scm:
880         - gerrit-trigger-scm:
881             credentials-id: 'jenkins-gerrit-credentials'
882             refspec: ''
883             choosing-strategy: 'default'
884
885     wrappers:
886         - fdio-infra-wrappers:
887             build-timeout: '{build-timeout}'
888
889     triggers:
890         - gerrit-trigger-patch-merged:
891             name: '{project}'
892             branch: '{branch}'
893         - reverse:
894             jobs: 'cicn-libccnx-portal-merge-{stream}-{os}'
895             result: 'failure'
896
897     builders:
898         - maven-target:
899             maven-version: 'mvn33-new'
900             goals: '--version'
901             settings: 'cicn-settings'
902             settings-type: cfp
903             global-settings: 'global-settings'
904             global-settings-type: cfp
905         - shell:
906             !include-raw-escape:
907                 - include-raw-cicn-libicnet-build.sh
908         - provide-maven-settings:
909             settings-file: 'cicn-settings'
910             global-settings-file: 'global-settings'
911         - shell:
912             !include-raw-escape:
913                 - ../scripts/maven_push_functions.sh
914                 - include-raw-cicn-maven-push.sh
915     publishers:
916         - archive:
917             artifacts: 'build/*.rpm,build/*.deb'
918             allow-empty: 'true'
919             fingerprint: false
920             only-if-success: true
921             default-excludes: false
922         - fdio-infra-shiplogs:
923             maven-version: 'mvn33-new'
924
925 - job-template:
926     name: 'cicn-libicnet-verify-{stream}-{os}'
927
928     project-type: freestyle
929     node: '{os}-basebuild-4c-4g'
930     concurrent: true
931
932     logrotate:
933         daysToKeep: '{build-days-to-keep}'
934         numToKeep: '{build-num-to-keep}'
935         artifactDaysToKeep: '{build-artifact-days-to-keep}'
936         artifactNumToKeep: '{build-artifact-num-to-keep}'
937
938     parameters:
939         - project-parameter:
940             project: '{project}'
941         - gerrit-parameter:
942             branch: '{branch}'
943         - os-parameter:
944             os: '{os}'
945
946     scm:
947         - gerrit-trigger-scm:
948             credentials-id: 'jenkins-gerrit-credentials'
949             refspec: '$GERRIT_REFSPEC'
950             choosing-strategy: 'gerrit'
951
952     wrappers:
953         - fdio-infra-wrappers:
954             build-timeout: '{build-timeout}'
955
956     triggers:
957         - gerrit-trigger-patch-submitted:
958             name: '{project}'
959             branch: '{branch}'
960
961     builders:
962         - shell:
963             !include-raw-escape:
964                 - include-raw-cicn-libicnet-build.sh
965
966     publishers:
967         - archive:
968             artifacts: 'build/*.rpm,build/*.deb'
969             allow-empty: 'true'
970             fingerprint: false
971             only-if-success: true
972             default-excludes: false
973         - fdio-infra-shiplogs:
974             maven-version: 'mvn33-new'
975
976 - job-template:
977     name: 'cicn-metis-merge-{stream}-{os}'
978
979     project-type: freestyle
980     node: '{os}-basebuild-4c-4g'
981
982     logrotate:
983         daysToKeep: '{build-days-to-keep}'
984         numToKeep: '{build-num-to-keep}'
985         artifactDaysToKeep: '{build-artifact-days-to-keep}'
986         artifactNumToKeep: '{build-artifact-num-to-keep}'
987
988     parameters:
989         - project-parameter:
990             project: '{project}'
991         - gerrit-parameter:
992             branch: '{branch}'
993         - os-parameter:
994             os: '{os}'
995         - maven-project-parameter:
996             maven: 'mvn33-new'
997         - maven-exec:
998             maven-version: 'mvn33-new'
999         - repo-name-parameter:
1000             repo-name: '{repo-stream-part}.{repo-os-part}'
1001
1002     scm:
1003         - gerrit-trigger-scm:
1004             credentials-id: 'jenkins-gerrit-credentials'
1005             refspec: ''
1006             choosing-strategy: 'default'
1007
1008     wrappers:
1009         - fdio-infra-wrappers:
1010             build-timeout: '{build-timeout}'
1011
1012     triggers:
1013         - gerrit-trigger-patch-merged:
1014             name: '{project}'
1015             branch: '{branch}'
1016         - reverse:
1017             jobs: 'cicn-libccnx-portal-merge-{stream}-{os}'
1018             result: 'failure'
1019
1020     builders:
1021         - maven-target:
1022             maven-version: 'mvn33-new'
1023             goals: '--version'
1024             settings: 'cicn-settings'
1025             settings-type: cfp
1026             global-settings: 'global-settings'
1027             global-settings-type: cfp
1028         - shell:
1029             !include-raw-escape:
1030                 - include-raw-cicn-metis-build.sh
1031         - provide-maven-settings:
1032             settings-file: 'cicn-settings'
1033             global-settings-file: 'global-settings'
1034         - shell:
1035             !include-raw-escape:
1036                 - ../scripts/maven_push_functions.sh
1037                 - include-raw-cicn-maven-push.sh
1038     publishers:
1039         - archive:
1040             artifacts: 'metis/build/*.rpm,metis/build/*.deb'
1041             allow-empty: 'true'
1042             fingerprint: false
1043             only-if-success: true
1044             default-excludes: false
1045         - fdio-infra-shiplogs:
1046             maven-version: 'mvn33-new'
1047
1048 - job-template:
1049     name: 'cicn-metis-verify-{stream}-{os}'
1050
1051     project-type: freestyle
1052     node: '{os}-basebuild-4c-4g'
1053     concurrent: true
1054
1055     logrotate:
1056         daysToKeep: '{build-days-to-keep}'
1057         numToKeep: '{build-num-to-keep}'
1058         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1059         artifactNumToKeep: '{build-artifact-num-to-keep}'
1060
1061     parameters:
1062         - project-parameter:
1063             project: '{project}'
1064         - gerrit-parameter:
1065             branch: '{branch}'
1066         - os-parameter:
1067             os: '{os}'
1068
1069     scm:
1070         - gerrit-trigger-scm:
1071             credentials-id: 'jenkins-gerrit-credentials'
1072             refspec: '$GERRIT_REFSPEC'
1073             choosing-strategy: 'gerrit'
1074
1075     wrappers:
1076         - fdio-infra-wrappers:
1077             build-timeout: '{build-timeout}'
1078
1079     triggers:
1080         - gerrit-trigger-patch-submitted:
1081             name: '{project}'
1082             branch: '{branch}'
1083
1084     builders:
1085         - shell:
1086             !include-raw-escape:
1087                 - include-raw-cicn-metis-build.sh
1088
1089     publishers:
1090         - archive:
1091             artifacts: 'metis/build/*.rpm,metis/build/*.deb'
1092             allow-empty: 'true'
1093             fingerprint: false
1094             only-if-success: true
1095             default-excludes: false
1096         - fdio-infra-shiplogs:
1097             maven-version: 'mvn33-new'
1098
1099 - job-template:
1100     name: 'cicn-http-server-merge-{stream}-{os}'
1101
1102     project-type: freestyle
1103     node: '{os}-basebuild-4c-4g'
1104
1105     logrotate:
1106         daysToKeep: '{build-days-to-keep}'
1107         numToKeep: '{build-num-to-keep}'
1108         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1109         artifactNumToKeep: '{build-artifact-num-to-keep}'
1110
1111     parameters:
1112         - project-parameter:
1113             project: '{project}'
1114         - gerrit-parameter:
1115             branch: '{branch}'
1116         - os-parameter:
1117             os: '{os}'
1118         - maven-project-parameter:
1119             maven: 'mvn33-new'
1120         - maven-exec:
1121             maven-version: 'mvn33-new'
1122         - repo-name-parameter:
1123             repo-name: '{repo-stream-part}.{repo-os-part}'
1124
1125     scm:
1126         - gerrit-trigger-scm:
1127             credentials-id: 'jenkins-gerrit-credentials'
1128             refspec: ''
1129             choosing-strategy: 'default'
1130
1131     wrappers:
1132         - fdio-infra-wrappers:
1133             build-timeout: '{build-timeout}'
1134
1135     triggers:
1136         - gerrit-trigger-patch-merged:
1137             name: '{project}'
1138             branch: '{branch}'
1139         - reverse:
1140             jobs: 'cicn-libicnet-merge-{stream}-{os}'
1141             result: 'failure'
1142
1143     builders:
1144         - maven-target:
1145             maven-version: 'mvn33-new'
1146             goals: '--version'
1147             settings: 'cicn-settings'
1148             settings-type: cfp
1149             global-settings: 'global-settings'
1150             global-settings-type: cfp
1151         - shell:
1152             !include-raw-escape:
1153                 - include-raw-cicn-http-server-build.sh
1154         - provide-maven-settings:
1155             settings-file: 'cicn-settings'
1156             global-settings-file: 'global-settings'
1157         - shell:
1158             !include-raw-escape:
1159                 - ../scripts/maven_push_functions.sh
1160                 - include-raw-cicn-maven-push.sh
1161     publishers:
1162         - archive:
1163             artifacts: 'build/*.rpm,build/*.deb'
1164             allow-empty: 'true'
1165             fingerprint: false
1166             only-if-success: true
1167             default-excludes: false
1168         - fdio-infra-shiplogs:
1169             maven-version: 'mvn33-new'
1170
1171 - job-template:
1172     name: 'cicn-http-server-verify-{stream}-{os}'
1173
1174     project-type: freestyle
1175     node: '{os}-basebuild-4c-4g'
1176     concurrent: true
1177
1178     logrotate:
1179         daysToKeep: '{build-days-to-keep}'
1180         numToKeep: '{build-num-to-keep}'
1181         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1182         artifactNumToKeep: '{build-artifact-num-to-keep}'
1183
1184     parameters:
1185         - project-parameter:
1186             project: '{project}'
1187         - gerrit-parameter:
1188             branch: '{branch}'
1189         - os-parameter:
1190             os: '{os}'
1191
1192     scm:
1193         - gerrit-trigger-scm:
1194             credentials-id: 'jenkins-gerrit-credentials'
1195             refspec: '$GERRIT_REFSPEC'
1196             choosing-strategy: 'gerrit'
1197
1198     wrappers:
1199         - fdio-infra-wrappers:
1200             build-timeout: '{build-timeout}'
1201
1202     triggers:
1203         - gerrit-trigger-patch-submitted:
1204             name: '{project}'
1205             branch: '{branch}'
1206
1207     builders:
1208         - shell:
1209             !include-raw-escape:
1210                 - include-raw-cicn-http-server-build.sh
1211
1212     publishers:
1213         - archive:
1214             artifacts: 'build/*.rpm,build/*.deb'
1215             allow-empty: 'true'
1216             fingerprint: false
1217             only-if-success: true
1218             default-excludes: false
1219         - fdio-infra-shiplogs:
1220             maven-version: 'mvn33-new'
1221
1222 - job-template:
1223     name: 'cicn-vpp-plugin-merge-{stream}-{os}'
1224
1225     project-type: freestyle
1226     node: '{os}-basebuild-4c-4g'
1227
1228     logrotate:
1229         daysToKeep: '{build-days-to-keep}'
1230         numToKeep: '{build-num-to-keep}'
1231         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1232         artifactNumToKeep: '{build-artifact-num-to-keep}'
1233
1234     parameters:
1235         - project-parameter:
1236             project: '{project}'
1237         - gerrit-parameter:
1238             branch: '{branch}'
1239         - os-parameter:
1240             os: '{os}'
1241         - maven-project-parameter:
1242             maven: 'mvn33-new'
1243         - maven-exec:
1244             maven-version: 'mvn33-new'
1245         - repo-name-parameter:
1246             repo-name: '{repo-stream-part}.{repo-os-part}'
1247
1248     scm:
1249         - gerrit-trigger-scm:
1250             credentials-id: 'jenkins-gerrit-credentials'
1251             refspec: ''
1252             choosing-strategy: 'default'
1253
1254     wrappers:
1255         - fdio-infra-wrappers:
1256             build-timeout: '{build-timeout}'
1257
1258     triggers:
1259         - gerrit-trigger-patch-merged:
1260             name: '{project}'
1261             branch: '{branch}'
1262         - timed: '@daily'
1263
1264     builders:
1265         - maven-target:
1266             maven-version: 'mvn33-new'
1267             goals: '--version'
1268             settings: 'cicn-settings'
1269             settings-type: cfp
1270             global-settings: 'global-settings'
1271             global-settings-type: cfp
1272         - shell:
1273             !include-raw-escape:
1274                 - include-raw-cicn-vpp-plugin-build.sh
1275         - provide-maven-settings:
1276             settings-file: 'cicn-settings'
1277             global-settings-file: 'global-settings'
1278         - shell:
1279             !include-raw-escape:
1280                 - ../scripts/maven_push_functions.sh
1281                 - include-raw-cicn-maven-push.sh
1282     publishers:
1283         - archive:
1284             artifacts: 'cicn-plugin/build/*.rpm,cicn-plugin/build/*.deb'
1285             allow-empty: 'true'
1286             fingerprint: false
1287             only-if-success: true
1288             default-excludes: false
1289         - fdio-infra-shiplogs:
1290             maven-version: 'mvn33-new'
1291
1292 - job-template:
1293     name: 'cicn-vpp-plugin-verify-{stream}-{os}'
1294
1295     project-type: freestyle
1296     node: '{os}-basebuild-4c-4g'
1297     concurrent: true
1298
1299     logrotate:
1300         daysToKeep: '{build-days-to-keep}'
1301         numToKeep: '{build-num-to-keep}'
1302         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1303         artifactNumToKeep: '{build-artifact-num-to-keep}'
1304
1305     parameters:
1306         - project-parameter:
1307             project: '{project}'
1308         - gerrit-parameter:
1309             branch: '{branch}'
1310         - os-parameter:
1311             os: '{os}'
1312
1313     scm:
1314         - gerrit-trigger-scm:
1315             credentials-id: 'jenkins-gerrit-credentials'
1316             refspec: '$GERRIT_REFSPEC'
1317             choosing-strategy: 'gerrit'
1318
1319     wrappers:
1320         - fdio-infra-wrappers:
1321             build-timeout: '{build-timeout}'
1322
1323     triggers:
1324         - gerrit-trigger-patch-submitted:
1325             name: '{project}'
1326             branch: '{branch}'
1327
1328     builders:
1329         - shell:
1330             !include-raw-escape:
1331                 - include-raw-cicn-vpp-plugin-build.sh
1332
1333     publishers:
1334         - archive:
1335             artifacts: 'cicn-plugin/build/*.rpm,cicn-plugin/build/*.deb'
1336             allow-empty: 'true'
1337             fingerprint: false
1338             only-if-success: true
1339             default-excludes: false
1340         - fdio-infra-shiplogs:
1341             maven-version: 'mvn33-new'
1342
1343 - job-template:
1344     name: 'cicn-viper-merge-{stream}-{os}'
1345
1346     project-type: freestyle
1347     node: '{os}-basebuild-4c-4g'
1348
1349     logrotate:
1350         daysToKeep: '{build-days-to-keep}'
1351         numToKeep: '{build-num-to-keep}'
1352         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1353         artifactNumToKeep: '{build-artifact-num-to-keep}'
1354
1355     parameters:
1356         - project-parameter:
1357             project: '{project}'
1358         - gerrit-parameter:
1359             branch: '{branch}'
1360         - os-parameter:
1361             os: '{os}'
1362         - maven-project-parameter:
1363             maven: 'mvn33-new'
1364         - maven-exec:
1365             maven-version: 'mvn33-new'
1366         - repo-name-parameter:
1367             repo-name: '{repo-stream-part}.{repo-os-part}'
1368
1369     scm:
1370         - gerrit-trigger-scm:
1371             credentials-id: 'jenkins-gerrit-credentials'
1372             refspec: ''
1373             choosing-strategy: 'default'
1374
1375     wrappers:
1376         - fdio-infra-wrappers:
1377             build-timeout: '{build-timeout}'
1378
1379     triggers:
1380         - gerrit-trigger-patch-merged:
1381             name: '{project}'
1382             branch: '{branch}'
1383         - reverse:
1384             jobs: 'cicn-libicnet-merge-{stream}-{os}'
1385             result: 'failure'
1386
1387     builders:
1388         - maven-target:
1389             maven-version: 'mvn33-new'
1390             goals: '--version'
1391             settings: 'cicn-settings'
1392             settings-type: cfp
1393             global-settings: 'global-settings'
1394             global-settings-type: cfp
1395         - shell:
1396             !include-raw-escape:
1397                 - include-raw-cicn-viper-build.sh
1398         - provide-maven-settings:
1399             settings-file: 'cicn-settings'
1400             global-settings-file: 'global-settings'
1401         - shell:
1402             !include-raw-escape:
1403                 - ../scripts/maven_push_functions.sh
1404                 - include-raw-cicn-maven-push.sh
1405     publishers:
1406         - archive:
1407             artifacts: 'build/*.rpm,build/*.deb,libdash/build/*.rpm,libdash/build/*.deb'
1408             allow-empty: 'true'
1409             fingerprint: false
1410             only-if-success: true
1411             default-excludes: false
1412         - fdio-infra-shiplogs:
1413             maven-version: 'mvn33-new'
1414
1415 - job-template:
1416     name: 'cicn-viper-verify-{stream}-{os}'
1417
1418     project-type: freestyle
1419     node: '{os}-basebuild-4c-4g'
1420     concurrent: true
1421
1422     logrotate:
1423         daysToKeep: '{build-days-to-keep}'
1424         numToKeep: '{build-num-to-keep}'
1425         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1426         artifactNumToKeep: '{build-artifact-num-to-keep}'
1427
1428     parameters:
1429         - project-parameter:
1430             project: '{project}'
1431         - gerrit-parameter:
1432             branch: '{branch}'
1433         - os-parameter:
1434             os: '{os}'
1435
1436     scm:
1437         - gerrit-trigger-scm:
1438             credentials-id: 'jenkins-gerrit-credentials'
1439             refspec: '$GERRIT_REFSPEC'
1440             choosing-strategy: 'gerrit'
1441
1442     wrappers:
1443         - fdio-infra-wrappers:
1444             build-timeout: '{build-timeout}'
1445
1446     triggers:
1447         - gerrit-trigger-patch-submitted:
1448             name: '{project}'
1449             branch: '{branch}'
1450
1451     builders:
1452         - shell:
1453             !include-raw-escape:
1454                 - include-raw-cicn-viper-build.sh
1455
1456     publishers:
1457         - archive:
1458             artifacts: 'build/*.rpm,build/*.deb,libdash/build/*.rpm,libdash/build/*.deb'
1459             allow-empty: 'true'
1460             fingerprint: false
1461             only-if-success: true
1462             default-excludes: false
1463         - fdio-infra-shiplogs:
1464             maven-version: 'mvn33-new'
1465
1466 - job-template:
1467     name: 'cicn-radio-emulators-merge-{stream}-{os}'
1468
1469     project-type: freestyle
1470     node: '{os}-basebuild-4c-4g'
1471
1472     logrotate:
1473         daysToKeep: '{build-days-to-keep}'
1474         numToKeep: '{build-num-to-keep}'
1475         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1476         artifactNumToKeep: '{build-artifact-num-to-keep}'
1477
1478     parameters:
1479         - project-parameter:
1480             project: '{project}'
1481         - gerrit-parameter:
1482             branch: '{branch}'
1483         - os-parameter:
1484             os: '{os}'
1485         - maven-project-parameter:
1486             maven: 'mvn33-new'
1487         - maven-exec:
1488             maven-version: 'mvn33-new'
1489         - repo-name-parameter:
1490             repo-name: '{repo-stream-part}.{repo-os-part}'
1491
1492     scm:
1493         - gerrit-trigger-scm:
1494             credentials-id: 'jenkins-gerrit-credentials'
1495             refspec: ''
1496             choosing-strategy: 'default'
1497
1498     wrappers:
1499         - fdio-infra-wrappers:
1500             build-timeout: '{build-timeout}'
1501
1502     triggers:
1503         - gerrit-trigger-patch-merged:
1504             name: '{project}'
1505             branch: '{branch}'
1506         - timed: '@daily'
1507
1508     builders:
1509         - maven-target:
1510             maven-version: 'mvn33-new'
1511             goals: '--version'
1512             settings: 'cicn-settings'
1513             settings-type: cfp
1514             global-settings: 'global-settings'
1515             global-settings-type: cfp
1516         - shell:
1517             !include-raw-escape:
1518                 - include-raw-cicn-radio-emulators-build.sh
1519         - provide-maven-settings:
1520             settings-file: 'cicn-settings'
1521             global-settings-file: 'global-settings'
1522         - shell:
1523             !include-raw-escape:
1524                 - ../scripts/maven_push_functions.sh
1525                 - include-raw-cicn-maven-push.sh
1526     publishers:
1527         - archive:
1528             artifacts: 'emu-radio/build/*.rpm,emu-radio/build/*.deb,emu-radio/ns3-packages/*.rpm,emu-radio/ns3-packages/*.deb'
1529             allow-empty: 'true'
1530             fingerprint: false
1531             only-if-success: true
1532             default-excludes: false
1533         - fdio-infra-shiplogs:
1534             maven-version: 'mvn33-new'
1535
1536 - job-template:
1537     name: 'cicn-radio-emulators-verify-{stream}-{os}'
1538
1539     project-type: freestyle
1540     node: '{os}-basebuild-4c-4g'
1541     concurrent: true
1542
1543     logrotate:
1544         daysToKeep: '{build-days-to-keep}'
1545         numToKeep: '{build-num-to-keep}'
1546         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1547         artifactNumToKeep: '{build-artifact-num-to-keep}'
1548
1549     parameters:
1550         - project-parameter:
1551             project: '{project}'
1552         - gerrit-parameter:
1553             branch: '{branch}'
1554         - os-parameter:
1555             os: '{os}'
1556
1557     scm:
1558         - gerrit-trigger-scm:
1559             credentials-id: 'jenkins-gerrit-credentials'
1560             refspec: '$GERRIT_REFSPEC'
1561             choosing-strategy: 'gerrit'
1562
1563     wrappers:
1564         - fdio-infra-wrappers:
1565             build-timeout: '{build-timeout}'
1566
1567     triggers:
1568         - gerrit-trigger-patch-submitted:
1569             name: '{project}'
1570             branch: '{branch}'
1571
1572     builders:
1573         - shell:
1574             !include-raw-escape:
1575                 - include-raw-cicn-radio-emulators-build.sh
1576
1577     publishers:
1578         - archive:
1579             artifacts: 'emu-radio/build/*.rpm,emu-radio/build/*.deb,emu-radio/ns3-packages/*.rpm,emu-radio/ns3-packages/*.deb'
1580             allow-empty: 'true'
1581             fingerprint: false
1582             only-if-success: true
1583             default-excludes: false
1584         - fdio-infra-shiplogs:
1585             maven-version: 'mvn33-new'
1586
1587 - job-template:
1588     name: 'cicn-android-sdk-merge-{stream}-{os}'
1589
1590     project-type: freestyle
1591     node: '{os}-basebuild-4c-4g'
1592
1593     logrotate:
1594         daysToKeep: '{build-days-to-keep}'
1595         numToKeep: '{build-num-to-keep}'
1596         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1597         artifactNumToKeep: '{build-artifact-num-to-keep}'
1598
1599     parameters:
1600         - project-parameter:
1601             project: '{project}'
1602         - gerrit-parameter:
1603             branch: '{branch}'
1604         - os-parameter:
1605             os: '{os}'
1606         - maven-project-parameter:
1607             maven: 'mvn33-new'
1608         - maven-exec:
1609             maven-version: 'mvn33-new'
1610         - repo-name-parameter:
1611             repo-name: '{repo-stream-part}.{repo-os-part}'
1612
1613     scm:
1614         - gerrit-trigger-scm:
1615             credentials-id: 'jenkins-gerrit-credentials'
1616             refspec: ''
1617             choosing-strategy: 'default'
1618
1619     wrappers:
1620         - fdio-infra-wrappers:
1621             build-timeout: '{build-timeout}'
1622
1623     triggers:
1624         - gerrit-trigger-patch-merged:
1625             name: '{project}'
1626             branch: '{branch}'
1627         - timed: '@daily'
1628
1629     builders:
1630         - shell:
1631             !include-raw-escape:
1632                 - include-raw-cicn-android-sdk-build.sh
1633     publishers:
1634         - archive:
1635             artifacts: 'iGetAndroid/app/build/outputs/apk/*.apk,MetisForwarder/app/build/outputs/apk/*.apk,build/viper/viper-armv7//build/outputs/apk/*.apk'
1636             allow-empty: 'true'
1637             fingerprint: false
1638             only-if-success: true
1639             default-excludes: false
1640         - fdio-infra-shiplogs:
1641             maven-version: 'mvn33-new'
1642
1643 - job-template:
1644     name: 'cicn-android-sdk-verify-{stream}-{os}'
1645
1646     project-type: freestyle
1647     node: '{os}-basebuild-4c-4g'
1648     concurrent: true
1649
1650     logrotate:
1651         daysToKeep: '{build-days-to-keep}'
1652         numToKeep: '{build-num-to-keep}'
1653         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1654         artifactNumToKeep: '{build-artifact-num-to-keep}'
1655
1656     parameters:
1657         - project-parameter:
1658             project: '{project}'
1659         - gerrit-parameter:
1660             branch: '{branch}'
1661         - os-parameter:
1662             os: '{os}'
1663
1664     scm:
1665         - gerrit-trigger-scm:
1666             credentials-id: 'jenkins-gerrit-credentials'
1667             refspec: '$GERRIT_REFSPEC'
1668             choosing-strategy: 'gerrit'
1669
1670     wrappers:
1671         - fdio-infra-wrappers:
1672             build-timeout: '{build-timeout}'
1673
1674     triggers:
1675         - gerrit-trigger-patch-submitted:
1676             name: '{project}'
1677             branch: '{branch}'
1678
1679     builders:
1680         - shell:
1681             !include-raw-escape:
1682                 - include-raw-cicn-android-sdk-build.sh
1683
1684     publishers:
1685         - archive:
1686             artifacts: 'iGetAndroid/app/build/outputs/apk/*.apk,MetisForwarder/app/build/outputs/apk/*.apk,build/viper/viper-armv7//build/outputs/apk/*.apk'
1687             allow-empty: 'true'
1688             fingerprint: false
1689             only-if-success: true
1690             default-excludes: false
1691         - fdio-infra-shiplogs:
1692             maven-version: 'mvn33-new'
1693
1694 - job-template:
1695     name: 'cicn-vicn-merge-{stream}-{os}'
1696
1697     project-type: freestyle
1698     node: '{os}-basebuild-4c-4g'
1699
1700     logrotate:
1701         daysToKeep: '{build-days-to-keep}'
1702         numToKeep: '{build-num-to-keep}'
1703         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1704         artifactNumToKeep: '{build-artifact-num-to-keep}'
1705
1706     parameters:
1707         - project-parameter:
1708             project: '{project}'
1709         - gerrit-parameter:
1710             branch: '{branch}'
1711         - os-parameter:
1712             os: '{os}'
1713         - maven-project-parameter:
1714             maven: 'mvn33-new'
1715         - maven-exec:
1716             maven-version: 'mvn33-new'
1717         - repo-name-parameter:
1718             repo-name: '{repo-stream-part}.{repo-os-part}'
1719
1720     scm:
1721         - gerrit-trigger-scm:
1722             credentials-id: 'jenkins-gerrit-credentials'
1723             refspec: ''
1724             choosing-strategy: 'default'
1725
1726     wrappers:
1727         - fdio-infra-wrappers:
1728             build-timeout: '{build-timeout}'
1729
1730     triggers:
1731         - gerrit-trigger-patch-merged:
1732             name: '{project}'
1733             branch: '{branch}'
1734         - timed: '@daily'
1735
1736     builders:
1737         - maven-target:
1738             maven-version: 'mvn33-new'
1739             goals: '--version'
1740             settings: 'cicn-settings'
1741             settings-type: cfp
1742             global-settings: 'global-settings'
1743             global-settings-type: cfp
1744         - shell:
1745             !include-raw-escape:
1746                 - include-raw-cicn-vicn-build.sh
1747         - provide-maven-settings:
1748             settings-file: 'cicn-settings'
1749             global-settings-file: 'global-settings'
1750         - shell:
1751             !include-raw-escape:
1752                 - ../scripts/maven_push_functions.sh
1753                 - include-raw-cicn-maven-push.sh
1754     publishers:
1755         - archive:
1756             artifacts: 'build/*.rpm,build/*.deb'
1757             allow-empty: 'true'
1758             fingerprint: false
1759             only-if-success: true
1760             default-excludes: false
1761         - fdio-infra-shiplogs:
1762             maven-version: 'mvn33-new'
1763
1764 - job-template:
1765     name: 'cicn-vicn-verify-{stream}-{os}'
1766
1767     project-type: freestyle
1768     node: '{os}-basebuild-4c-4g'
1769     concurrent: true
1770
1771     logrotate:
1772         daysToKeep: '{build-days-to-keep}'
1773         numToKeep: '{build-num-to-keep}'
1774         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1775         artifactNumToKeep: '{build-artifact-num-to-keep}'
1776
1777     parameters:
1778         - project-parameter:
1779             project: '{project}'
1780         - gerrit-parameter:
1781             branch: '{branch}'
1782         - os-parameter:
1783             os: '{os}'
1784
1785     scm:
1786         - gerrit-trigger-scm:
1787             credentials-id: 'jenkins-gerrit-credentials'
1788             refspec: '$GERRIT_REFSPEC'
1789             choosing-strategy: 'gerrit'
1790
1791     wrappers:
1792         - fdio-infra-wrappers:
1793             build-timeout: '{build-timeout}'
1794
1795     triggers:
1796         - gerrit-trigger-patch-submitted:
1797             name: '{project}'
1798             branch: '{branch}'
1799
1800     builders:
1801         - shell:
1802             !include-raw-escape:
1803                 - include-raw-cicn-vicn-build.sh
1804
1805     publishers:
1806         - archive:
1807             artifacts: 'build/*.rpm,build/*.deb'
1808             allow-empty: 'true'
1809             fingerprint: false
1810             only-if-success: true
1811             default-excludes: false
1812         - fdio-infra-shiplogs:
1813             maven-version: 'mvn33-new'