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