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