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