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