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