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