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