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