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