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