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