Merge "Adding verify jobs for cicn"
[ci-management.git] / jjb / cicn / cicn.yaml
1 - project:
2     name: cicn-longbow
3     jobs:
4         - 'cicn-longbow-verify-{stream}-{os}'
5         - 'cicn-longbow-merge-{stream}-{os}'
6     project: 'cicn'
7     os:
8         - ubuntu1404:
9             repo-os-part: 'ubuntu.trusty.main'
10         - ubuntu1604:
11             repo-os-part: 'ubuntu.xenial.main'
12         - centos7:
13             repo-os-part: 'centos7'
14     stream:
15         - master:
16             branch: 'cframework/master'
17             repo-stream-part: 'master'
18     type:
19         - short
20         - long
21
22 - project:
23     name: cicn-libparc
24     jobs:
25         - 'cicn-libparc-verify-{stream}-{os}'
26         - 'cicn-libparc-merge-{stream}-{os}'
27     project: 'cicn'
28     os:
29         - ubuntu1404:
30             repo-os-part: 'ubuntu.trusty.main'
31         - ubuntu1604:
32             repo-os-part: 'ubuntu.xenial.main'
33         - centos7:
34             repo-os-part: 'centos7'
35     stream:
36         - master:
37             branch: 'cframework/master'
38             repo-stream-part: 'master'
39     type:
40         - short
41         - long
42
43 - project:
44     name: cicn-libccnx-common
45     jobs:
46         - 'cicn-libccnx-common-verify-{stream}-{os}'
47         - 'cicn-libccnx-common-merge-{stream}-{os}'
48     project: 'cicn'
49     os:
50         - ubuntu1404:
51             repo-os-part: 'ubuntu.trusty.main'
52         - ubuntu1604:
53             repo-os-part: 'ubuntu.xenial.main'
54         - centos7:
55             repo-os-part: 'centos7'
56     stream:
57         - master:
58             branch: 'ccnxlibs/master'
59             repo-stream-part: 'master'
60     type:
61         - short
62         - long
63
64 - project:
65     name: cicn-libccnx-transport-rta
66     jobs:
67         - 'cicn-libccnx-transport-rta-verify-{stream}-{os}'
68         - 'cicn-libccnx-transport-rta-merge-{stream}-{os}'
69     project: 'cicn'
70     os:
71         - ubuntu1404:
72             repo-os-part: 'ubuntu.trusty.main'
73         - ubuntu1604:
74             repo-os-part: 'ubuntu.xenial.main'
75         - centos7:
76             repo-os-part: 'centos7'
77     stream:
78         - master:
79             branch: 'ccnxlibs/master'
80             repo-stream-part: 'master'
81     type:
82         - short
83         - long
84
85 - project:
86     name: cicn-libccnx-portal
87     jobs:
88         - 'cicn-libccnx-portal-verify-{stream}-{os}'
89         - 'cicn-libccnx-portal-merge-{stream}-{os}'
90     project: 'cicn'
91     os:
92         - ubuntu1404:
93             repo-os-part: 'ubuntu.trusty.main'
94         - ubuntu1604:
95             repo-os-part: 'ubuntu.xenial.main'
96         - centos7:
97             repo-os-part: 'centos7'
98     stream:
99         - master:
100             branch: 'ccnxlibs/master'
101             repo-stream-part: 'master'
102     type:
103         - short
104         - long
105
106 - project:
107     name: cicn-libicnet
108     jobs:
109         - 'cicn-libicnet-verify-{stream}-{os}'
110         - 'cicn-libicnet-merge-{stream}-{os}'
111     project: 'cicn'
112     os:
113         - ubuntu1404:
114             repo-os-part: 'ubuntu.trusty.main'
115         - ubuntu1604:
116             repo-os-part: 'ubuntu.xenial.main'
117         - centos7:
118             repo-os-part: 'centos7'
119     stream:
120         - master:
121             branch: 'libicnet/master'
122             repo-stream-part: 'master'
123     type:
124         - short
125         - long
126
127 - project:
128     name: cicn-metis
129     jobs:
130         - 'cicn-metis-verify-{stream}-{os}'
131         - 'cicn-metis-merge-{stream}-{os}'
132     project: 'cicn'
133     os:
134         - ubuntu1404:
135             repo-os-part: 'ubuntu.trusty.main'
136         - ubuntu1604:
137             repo-os-part: 'ubuntu.xenial.main'
138         - centos7:
139             repo-os-part: 'centos7'
140     stream:
141         - master:
142             branch: 'sb-forwarder/master'
143             repo-stream-part: 'master'
144     type:
145         - short
146         - long
147
148 - project:
149     name: cicn-http-server
150     jobs:
151         - 'cicn-http-server-verify-{stream}-{os}'
152         - 'cicn-http-server-merge-{stream}-{os}'
153     project: 'cicn'
154     os:
155         - ubuntu1404:
156             repo-os-part: 'ubuntu.trusty.main'
157         - ubuntu1604:
158             repo-os-part: 'ubuntu.xenial.main'
159         - centos7:
160             repo-os-part: 'centos7'
161     stream:
162         - master:
163             branch: 'http-server/master'
164             repo-stream-part: 'master'
165     type:
166         - short
167         - long
168
169 - project:
170     name: cicn-vpp-plugin
171     jobs:
172         - 'cicn-vpp-plugin-verify-{stream}-{os}'
173         - 'cicn-vpp-plugin-merge-{stream}-{os}'
174     project: 'cicn'
175     os:
176         - ubuntu1404:
177             repo-os-part: 'ubuntu.trusty.main'
178         - ubuntu1604:
179             repo-os-part: 'ubuntu.xenial.main'
180     stream:
181         - master:
182             branch: 'cicn-plugin/master'
183             repo-stream-part: 'master'
184     type:
185         - short
186         - long
187
188 - project:
189     name: cicn-viper
190     jobs:
191         - 'cicn-viper-verify-{stream}-{os}'
192         - 'cicn-viper-merge-{stream}-{os}'
193     project: 'cicn'
194     os:
195         - ubuntu1404:
196             repo-os-part: 'ubuntu.trusty.main'
197         - ubuntu1604:
198             repo-os-part: 'ubuntu.xenial.main'
199     stream:
200         - master:
201             branch: 'viper/master'
202             repo-stream-part: 'master'
203     type:
204         - short
205         - long
206
207 - project:
208     name: cicn-radio-emulators
209     jobs:
210         - 'cicn-radio-emulators-verify-{stream}-{os}'
211         - 'cicn-radio-emulators-merge-{stream}-{os}'
212     project: 'cicn'
213     os:
214         - ubuntu1604:
215             repo-os-part: 'ubuntu.xenial.main'
216     stream:
217         - master:
218             branch: 'vicn/master'
219             repo-stream-part: 'master'
220     type:
221         - short
222         - long
223
224 - job-template:
225     name: 'cicn-longbow-merge-{stream}-{os}'
226
227     project-type: freestyle
228     node: '{os}-basebuild-4c-4g'
229
230     logrotate:
231         daysToKeep: '{build-days-to-keep}'
232         numToKeep: '{build-num-to-keep}'
233         artifactDaysToKeep: '{build-artifact-days-to-keep}'
234         artifactNumToKeep: '{build-artifact-num-to-keep}'
235
236     parameters:
237         - project-parameter:
238             project: '{project}'
239         - gerrit-parameter:
240             branch: '{branch}'
241         - os-parameter:
242             os: '{os}'
243         - maven-project-parameter:
244             maven: 'mvn33-new'
245         - maven-exec:
246             maven-version: 'mvn33-new'
247         - repo-name-parameter:
248             repo-name: '{repo-stream-part}.{repo-os-part}'
249
250     scm:
251         - gerrit-trigger-scm:
252             credentials-id: 'jenkins-gerrit-credentials'
253             refspec: ''
254             choosing-strategy: 'default'
255
256     wrappers:
257         - fdio-infra-wrappers:
258             build-timeout: '{build-timeout}'
259
260     triggers:
261         - gerrit-trigger-patch-merged:
262             name: '{project}'
263             branch: '{branch}'
264         - timed: '@daily'
265
266     builders:
267         - maven-target:
268             maven-version: 'mvn33-new'
269             goals: '--version'
270             settings: 'cicn-settings'
271             settings-type: cfp
272             global-settings: 'global-settings'
273             global-settings-type: cfp
274         - shell:
275             !include-raw-escape:
276                 - include-raw-cicn-longbow-build.sh
277         - provide-maven-settings:
278             settings-file: 'cicn-settings'
279             global-settings-file: 'global-settings'
280         - shell:
281             !include-raw-escape:
282                 - ../scripts/maven_push_functions.sh
283                 - include-raw-cicn-maven-push.sh
284     publishers:
285         - archive:
286             artifacts: 'longbow/build/*.rpm,longbow/build/*.deb'
287             allow-empty: 'true'
288             fingerprint: false
289             only-if-success: true
290             default-excludes: false
291         - fdio-infra-shiplogs:
292             maven-version: 'mvn33-new'
293
294 - job-template:
295     name: 'cicn-longbow-verify-{stream}-{os}'
296
297     project-type: freestyle
298     node: '{os}-basebuild-4c-4g'
299     concurrent: true
300
301     logrotate:
302         daysToKeep: '{build-days-to-keep}'
303         numToKeep: '{build-num-to-keep}'
304         artifactDaysToKeep: '{build-artifact-days-to-keep}'
305         artifactNumToKeep: '{build-artifact-num-to-keep}'
306
307     parameters:
308         - project-parameter:
309             project: '{project}'
310         - gerrit-parameter:
311             branch: '{branch}'
312         - os-parameter:
313             os: '{os}'
314
315     scm:
316         - gerrit-trigger-scm:
317             credentials-id: 'jenkins-gerrit-credentials'
318             refspec: '$GERRIT_REFSPEC'
319             choosing-strategy: 'gerrit'
320
321     wrappers:
322         - fdio-infra-wrappers:
323             build-timeout: '{build-timeout}'
324
325     triggers:
326         - gerrit-trigger-patch-submitted:
327             name: '{project}'
328             branch: '{branch}'
329
330     builders:
331         - shell:
332             !include-raw-escape:
333                 - include-raw-cicn-longbow-build.sh
334
335     publishers:
336         - fdio-infra-shiplogs:
337             maven-version: 'mvn33-new'
338
339 - job-template:
340     name: 'cicn-libparc-merge-{stream}-{os}'
341
342     project-type: freestyle
343     node: '{os}-basebuild-4c-4g'
344
345     logrotate:
346         daysToKeep: '{build-days-to-keep}'
347         numToKeep: '{build-num-to-keep}'
348         artifactDaysToKeep: '{build-artifact-days-to-keep}'
349         artifactNumToKeep: '{build-artifact-num-to-keep}'
350
351     parameters:
352         - project-parameter:
353             project: '{project}'
354         - gerrit-parameter:
355             branch: '{branch}'
356         - os-parameter:
357             os: '{os}'
358         - maven-project-parameter:
359             maven: 'mvn33-new'
360         - maven-exec:
361             maven-version: 'mvn33-new'
362         - repo-name-parameter:
363             repo-name: '{repo-stream-part}.{repo-os-part}'
364
365     scm:
366         - gerrit-trigger-scm:
367             credentials-id: 'jenkins-gerrit-credentials'
368             refspec: ''
369             choosing-strategy: 'default'
370
371     wrappers:
372         - fdio-infra-wrappers:
373             build-timeout: '{build-timeout}'
374
375     triggers:
376         - gerrit-trigger-patch-merged:
377             name: '{project}'
378             branch: '{branch}'
379         - reverse:
380             jobs: 'cicn-longbow-merge-{stream}-{os}'
381             result: 'failure'
382
383     builders:
384         - maven-target:
385             maven-version: 'mvn33-new'
386             goals: '--version'
387             settings: 'cicn-settings'
388             settings-type: cfp
389             global-settings: 'global-settings'
390             global-settings-type: cfp
391         - shell:
392             !include-raw-escape:
393                 - include-raw-cicn-libparc-build.sh
394         - provide-maven-settings:
395             settings-file: 'cicn-settings'
396             global-settings-file: 'global-settings'
397         - shell:
398             !include-raw-escape:
399                 - ../scripts/maven_push_functions.sh
400                 - include-raw-cicn-maven-push.sh
401     publishers:
402         - archive:
403             artifacts: 'libparc/build/*.rpm,libparc/build/*.deb'
404             allow-empty: 'true'
405             fingerprint: false
406             only-if-success: true
407             default-excludes: false
408         - fdio-infra-shiplogs:
409             maven-version: 'mvn33-new'
410
411 - job-template:
412     name: 'cicn-libparc-verify-{stream}-{os}'
413
414     project-type: freestyle
415     node: '{os}-basebuild-4c-4g'
416     concurrent: true
417
418     logrotate:
419         daysToKeep: '{build-days-to-keep}'
420         numToKeep: '{build-num-to-keep}'
421         artifactDaysToKeep: '{build-artifact-days-to-keep}'
422         artifactNumToKeep: '{build-artifact-num-to-keep}'
423
424     parameters:
425         - project-parameter:
426             project: '{project}'
427         - gerrit-parameter:
428             branch: '{branch}'
429         - os-parameter:
430             os: '{os}'
431
432     scm:
433         - gerrit-trigger-scm:
434             credentials-id: 'jenkins-gerrit-credentials'
435             refspec: '$GERRIT_REFSPEC'
436             choosing-strategy: 'gerrit'
437
438     wrappers:
439         - fdio-infra-wrappers:
440             build-timeout: '{build-timeout}'
441
442     triggers:
443         - gerrit-trigger-patch-submitted:
444             name: '{project}'
445             branch: '{branch}'
446
447     builders:
448         - shell:
449             !include-raw-escape:
450                 - include-raw-cicn-libparc-build.sh
451
452     publishers:
453         - fdio-infra-shiplogs:
454             maven-version: 'mvn33-new'
455
456 - job-template:
457     name: 'cicn-libccnx-common-merge-{stream}-{os}'
458
459     project-type: freestyle
460     node: '{os}-basebuild-4c-4g'
461
462     logrotate:
463         daysToKeep: '{build-days-to-keep}'
464         numToKeep: '{build-num-to-keep}'
465         artifactDaysToKeep: '{build-artifact-days-to-keep}'
466         artifactNumToKeep: '{build-artifact-num-to-keep}'
467
468     parameters:
469         - project-parameter:
470             project: '{project}'
471         - gerrit-parameter:
472             branch: '{branch}'
473         - os-parameter:
474             os: '{os}'
475         - maven-project-parameter:
476             maven: 'mvn33-new'
477         - maven-exec:
478             maven-version: 'mvn33-new'
479         - repo-name-parameter:
480             repo-name: '{repo-stream-part}.{repo-os-part}'
481
482     scm:
483         - gerrit-trigger-scm:
484             credentials-id: 'jenkins-gerrit-credentials'
485             refspec: ''
486             choosing-strategy: 'default'
487
488     wrappers:
489         - fdio-infra-wrappers:
490             build-timeout: '{build-timeout}'
491
492     triggers:
493         - gerrit-trigger-patch-merged:
494             name: '{project}'
495             branch: '{branch}'
496         - reverse:
497             jobs: 'cicn-libparc-merge-{stream}-{os}'
498             result: 'failure'
499
500     builders:
501         - maven-target:
502             maven-version: 'mvn33-new'
503             goals: '--version'
504             settings: 'cicn-settings'
505             settings-type: cfp
506             global-settings: 'global-settings'
507             global-settings-type: cfp
508         - shell:
509             !include-raw-escape:
510                 - include-raw-cicn-libccnx-common-build.sh
511         - provide-maven-settings:
512             settings-file: 'cicn-settings'
513             global-settings-file: 'global-settings'
514         - shell:
515             !include-raw-escape:
516                 - ../scripts/maven_push_functions.sh
517                 - include-raw-cicn-maven-push.sh
518     publishers:
519         - archive:
520             artifacts: 'libccnx-common/build/*.rpm,libccnx-common/build/*.deb'
521             allow-empty: 'true'
522             fingerprint: false
523             only-if-success: true
524             default-excludes: false
525         - fdio-infra-shiplogs:
526             maven-version: 'mvn33-new'
527
528 - job-template:
529     name: 'cicn-libccnx-common-verify-{stream}-{os}'
530
531     project-type: freestyle
532     node: '{os}-basebuild-4c-4g'
533     concurrent: true
534
535     logrotate:
536         daysToKeep: '{build-days-to-keep}'
537         numToKeep: '{build-num-to-keep}'
538         artifactDaysToKeep: '{build-artifact-days-to-keep}'
539         artifactNumToKeep: '{build-artifact-num-to-keep}'
540
541     parameters:
542         - project-parameter:
543             project: '{project}'
544         - gerrit-parameter:
545             branch: '{branch}'
546         - os-parameter:
547             os: '{os}'
548
549     scm:
550         - gerrit-trigger-scm:
551             credentials-id: 'jenkins-gerrit-credentials'
552             refspec: '$GERRIT_REFSPEC'
553             choosing-strategy: 'gerrit'
554
555     wrappers:
556         - fdio-infra-wrappers:
557             build-timeout: '{build-timeout}'
558
559     triggers:
560         - gerrit-trigger-patch-submitted:
561             name: '{project}'
562             branch: '{branch}'
563
564     builders:
565         - shell:
566             !include-raw-escape:
567                 - include-raw-cicn-libccnx-common-build.sh
568
569     publishers:
570         - fdio-infra-shiplogs:
571             maven-version: 'mvn33-new'
572
573 - job-template:
574     name: 'cicn-libccnx-transport-rta-merge-{stream}-{os}'
575
576     project-type: freestyle
577     node: '{os}-basebuild-4c-4g'
578
579     logrotate:
580         daysToKeep: '{build-days-to-keep}'
581         numToKeep: '{build-num-to-keep}'
582         artifactDaysToKeep: '{build-artifact-days-to-keep}'
583         artifactNumToKeep: '{build-artifact-num-to-keep}'
584
585     parameters:
586         - project-parameter:
587             project: '{project}'
588         - gerrit-parameter:
589             branch: '{branch}'
590         - os-parameter:
591             os: '{os}'
592         - maven-project-parameter:
593             maven: 'mvn33-new'
594         - maven-exec:
595             maven-version: 'mvn33-new'
596         - repo-name-parameter:
597             repo-name: '{repo-stream-part}.{repo-os-part}'
598
599     scm:
600         - gerrit-trigger-scm:
601             credentials-id: 'jenkins-gerrit-credentials'
602             refspec: ''
603             choosing-strategy: 'default'
604
605     wrappers:
606         - fdio-infra-wrappers:
607             build-timeout: '{build-timeout}'
608
609     triggers:
610         - gerrit-trigger-patch-merged:
611             name: '{project}'
612             branch: '{branch}'
613         - reverse:
614             jobs: 'cicn-libccnx-common-merge-{stream}-{os}'
615             result: 'failure'
616
617     builders:
618         - maven-target:
619             maven-version: 'mvn33-new'
620             goals: '--version'
621             settings: 'cicn-settings'
622             settings-type: cfp
623             global-settings: 'global-settings'
624             global-settings-type: cfp
625         - shell:
626             !include-raw-escape:
627                 - include-raw-cicn-libccnx-transport-rta-build.sh
628         - provide-maven-settings:
629             settings-file: 'cicn-settings'
630             global-settings-file: 'global-settings'
631         - shell:
632             !include-raw-escape:
633                 - ../scripts/maven_push_functions.sh
634                 - include-raw-cicn-maven-push.sh
635     publishers:
636         - archive:
637             artifacts: 'libccnx-transport-rta/build/*.rpm,libccnx-transport-rta/build/*.deb'
638             allow-empty: 'true'
639             fingerprint: false
640             only-if-success: true
641             default-excludes: false
642         - fdio-infra-shiplogs:
643             maven-version: 'mvn33-new'
644
645 - job-template:
646     name: 'cicn-libccnx-transport-rta-verify-{stream}-{os}'
647
648     project-type: freestyle
649     node: '{os}-basebuild-4c-4g'
650     concurrent: true
651
652     logrotate:
653         daysToKeep: '{build-days-to-keep}'
654         numToKeep: '{build-num-to-keep}'
655         artifactDaysToKeep: '{build-artifact-days-to-keep}'
656         artifactNumToKeep: '{build-artifact-num-to-keep}'
657
658     parameters:
659         - project-parameter:
660             project: '{project}'
661         - gerrit-parameter:
662             branch: '{branch}'
663         - os-parameter:
664             os: '{os}'
665
666     scm:
667         - gerrit-trigger-scm:
668             credentials-id: 'jenkins-gerrit-credentials'
669             refspec: '$GERRIT_REFSPEC'
670             choosing-strategy: 'gerrit'
671
672     wrappers:
673         - fdio-infra-wrappers:
674             build-timeout: '{build-timeout}'
675
676     triggers:
677         - gerrit-trigger-patch-submitted:
678             name: '{project}'
679             branch: '{branch}'
680
681     builders:
682         - shell:
683             !include-raw-escape:
684                 - include-raw-cicn-libccnx-transport-rta-build.sh
685
686     publishers:
687         - fdio-infra-shiplogs:
688             maven-version: 'mvn33-new'
689
690 - job-template:
691     name: 'cicn-libccnx-portal-merge-{stream}-{os}'
692
693     project-type: freestyle
694     node: '{os}-basebuild-4c-4g'
695
696     logrotate:
697         daysToKeep: '{build-days-to-keep}'
698         numToKeep: '{build-num-to-keep}'
699         artifactDaysToKeep: '{build-artifact-days-to-keep}'
700         artifactNumToKeep: '{build-artifact-num-to-keep}'
701
702     parameters:
703         - project-parameter:
704             project: '{project}'
705         - gerrit-parameter:
706             branch: '{branch}'
707         - os-parameter:
708             os: '{os}'
709         - maven-project-parameter:
710             maven: 'mvn33-new'
711         - maven-exec:
712             maven-version: 'mvn33-new'
713         - repo-name-parameter:
714             repo-name: '{repo-stream-part}.{repo-os-part}'
715
716     scm:
717         - gerrit-trigger-scm:
718             credentials-id: 'jenkins-gerrit-credentials'
719             refspec: ''
720             choosing-strategy: 'default'
721
722     wrappers:
723         - fdio-infra-wrappers:
724             build-timeout: '{build-timeout}'
725
726     triggers:
727         - gerrit-trigger-patch-merged:
728             name: '{project}'
729             branch: '{branch}'
730         - reverse:
731             jobs: 'cicn-libccnx-transport-rta-merge-{stream}-{os}'
732             result: 'failure'
733
734     builders:
735         - maven-target:
736             maven-version: 'mvn33-new'
737             goals: '--version'
738             settings: 'cicn-settings'
739             settings-type: cfp
740             global-settings: 'global-settings'
741             global-settings-type: cfp
742         - shell:
743             !include-raw-escape:
744                 - include-raw-cicn-libccnx-portal-build.sh
745         - provide-maven-settings:
746             settings-file: 'cicn-settings'
747             global-settings-file: 'global-settings'
748         - shell:
749             !include-raw-escape:
750                 - ../scripts/maven_push_functions.sh
751                 - include-raw-cicn-maven-push.sh
752     publishers:
753         - archive:
754             artifacts: 'libccnx-portal/build/*.rpm,libccnx-portal/build/*.deb'
755             allow-empty: 'true'
756             fingerprint: false
757             only-if-success: true
758             default-excludes: false
759         - fdio-infra-shiplogs:
760             maven-version: 'mvn33-new'
761
762 - job-template:
763     name: 'cicn-libccnx-portal-verify-{stream}-{os}'
764
765     project-type: freestyle
766     node: '{os}-basebuild-4c-4g'
767     concurrent: true
768
769     logrotate:
770         daysToKeep: '{build-days-to-keep}'
771         numToKeep: '{build-num-to-keep}'
772         artifactDaysToKeep: '{build-artifact-days-to-keep}'
773         artifactNumToKeep: '{build-artifact-num-to-keep}'
774
775     parameters:
776         - project-parameter:
777             project: '{project}'
778         - gerrit-parameter:
779             branch: '{branch}'
780         - os-parameter:
781             os: '{os}'
782
783     scm:
784         - gerrit-trigger-scm:
785             credentials-id: 'jenkins-gerrit-credentials'
786             refspec: '$GERRIT_REFSPEC'
787             choosing-strategy: 'gerrit'
788
789     wrappers:
790         - fdio-infra-wrappers:
791             build-timeout: '{build-timeout}'
792
793     triggers:
794         - gerrit-trigger-patch-submitted:
795             name: '{project}'
796             branch: '{branch}'
797
798     builders:
799         - shell:
800             !include-raw-escape:
801                 - include-raw-cicn-libccnx-portal-build.sh
802
803     publishers:
804         - fdio-infra-shiplogs:
805             maven-version: 'mvn33-new'
806
807 - job-template:
808     name: 'cicn-libicnet-merge-{stream}-{os}'
809
810     project-type: freestyle
811     node: '{os}-basebuild-4c-4g'
812
813     logrotate:
814         daysToKeep: '{build-days-to-keep}'
815         numToKeep: '{build-num-to-keep}'
816         artifactDaysToKeep: '{build-artifact-days-to-keep}'
817         artifactNumToKeep: '{build-artifact-num-to-keep}'
818
819     parameters:
820         - project-parameter:
821             project: '{project}'
822         - gerrit-parameter:
823             branch: '{branch}'
824         - os-parameter:
825             os: '{os}'
826         - maven-project-parameter:
827             maven: 'mvn33-new'
828         - maven-exec:
829             maven-version: 'mvn33-new'
830         - repo-name-parameter:
831             repo-name: '{repo-stream-part}.{repo-os-part}'
832
833     scm:
834         - gerrit-trigger-scm:
835             credentials-id: 'jenkins-gerrit-credentials'
836             refspec: ''
837             choosing-strategy: 'default'
838
839     wrappers:
840         - fdio-infra-wrappers:
841             build-timeout: '{build-timeout}'
842
843     triggers:
844         - gerrit-trigger-patch-merged:
845             name: '{project}'
846             branch: '{branch}'
847         - reverse:
848             jobs: 'cicn-libccnx-portal-merge-{stream}-{os}'
849             result: 'failure'
850
851     builders:
852         - maven-target:
853             maven-version: 'mvn33-new'
854             goals: '--version'
855             settings: 'cicn-settings'
856             settings-type: cfp
857             global-settings: 'global-settings'
858             global-settings-type: cfp
859         - shell:
860             !include-raw-escape:
861                 - include-raw-cicn-libicnet-build.sh
862         - provide-maven-settings:
863             settings-file: 'cicn-settings'
864             global-settings-file: 'global-settings'
865         - shell:
866             !include-raw-escape:
867                 - ../scripts/maven_push_functions.sh
868                 - include-raw-cicn-maven-push.sh
869     publishers:
870         - archive:
871             artifacts: 'build/*.rpm,build/*.deb'
872             allow-empty: 'true'
873             fingerprint: false
874             only-if-success: true
875             default-excludes: false
876         - fdio-infra-shiplogs:
877             maven-version: 'mvn33-new'
878
879 - job-template:
880     name: 'cicn-libicnet-verify-{stream}-{os}'
881
882     project-type: freestyle
883     node: '{os}-basebuild-4c-4g'
884     concurrent: true
885
886     logrotate:
887         daysToKeep: '{build-days-to-keep}'
888         numToKeep: '{build-num-to-keep}'
889         artifactDaysToKeep: '{build-artifact-days-to-keep}'
890         artifactNumToKeep: '{build-artifact-num-to-keep}'
891
892     parameters:
893         - project-parameter:
894             project: '{project}'
895         - gerrit-parameter:
896             branch: '{branch}'
897         - os-parameter:
898             os: '{os}'
899
900     scm:
901         - gerrit-trigger-scm:
902             credentials-id: 'jenkins-gerrit-credentials'
903             refspec: '$GERRIT_REFSPEC'
904             choosing-strategy: 'gerrit'
905
906     wrappers:
907         - fdio-infra-wrappers:
908             build-timeout: '{build-timeout}'
909
910     triggers:
911         - gerrit-trigger-patch-submitted:
912             name: '{project}'
913             branch: '{branch}'
914
915     builders:
916         - shell:
917             !include-raw-escape:
918                 - include-raw-cicn-libicnet-build.sh
919
920     publishers:
921         - fdio-infra-shiplogs:
922             maven-version: 'mvn33-new'
923
924 - job-template:
925     name: 'cicn-metis-merge-{stream}-{os}'
926
927     project-type: freestyle
928     node: '{os}-basebuild-4c-4g'
929
930     logrotate:
931         daysToKeep: '{build-days-to-keep}'
932         numToKeep: '{build-num-to-keep}'
933         artifactDaysToKeep: '{build-artifact-days-to-keep}'
934         artifactNumToKeep: '{build-artifact-num-to-keep}'
935
936     parameters:
937         - project-parameter:
938             project: '{project}'
939         - gerrit-parameter:
940             branch: '{branch}'
941         - os-parameter:
942             os: '{os}'
943         - maven-project-parameter:
944             maven: 'mvn33-new'
945         - maven-exec:
946             maven-version: 'mvn33-new'
947         - repo-name-parameter:
948             repo-name: '{repo-stream-part}.{repo-os-part}'
949
950     scm:
951         - gerrit-trigger-scm:
952             credentials-id: 'jenkins-gerrit-credentials'
953             refspec: ''
954             choosing-strategy: 'default'
955
956     wrappers:
957         - fdio-infra-wrappers:
958             build-timeout: '{build-timeout}'
959
960     triggers:
961         - gerrit-trigger-patch-merged:
962             name: '{project}'
963             branch: '{branch}'
964         - reverse:
965             jobs: 'cicn-libccnx-portal-merge-{stream}-{os}'
966             result: 'failure'
967
968     builders:
969         - maven-target:
970             maven-version: 'mvn33-new'
971             goals: '--version'
972             settings: 'cicn-settings'
973             settings-type: cfp
974             global-settings: 'global-settings'
975             global-settings-type: cfp
976         - shell:
977             !include-raw-escape:
978                 - include-raw-cicn-metis-build.sh
979         - provide-maven-settings:
980             settings-file: 'cicn-settings'
981             global-settings-file: 'global-settings'
982         - shell:
983             !include-raw-escape:
984                 - ../scripts/maven_push_functions.sh
985                 - include-raw-cicn-maven-push.sh
986     publishers:
987         - archive:
988             artifacts: 'metis/build/*.rpm,metis/build/*.deb'
989             allow-empty: 'true'
990             fingerprint: false
991             only-if-success: true
992             default-excludes: false
993         - fdio-infra-shiplogs:
994             maven-version: 'mvn33-new'
995
996 - job-template:
997     name: 'cicn-metis-verify-{stream}-{os}'
998
999     project-type: freestyle
1000     node: '{os}-basebuild-4c-4g'
1001     concurrent: true
1002
1003     logrotate:
1004         daysToKeep: '{build-days-to-keep}'
1005         numToKeep: '{build-num-to-keep}'
1006         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1007         artifactNumToKeep: '{build-artifact-num-to-keep}'
1008
1009     parameters:
1010         - project-parameter:
1011             project: '{project}'
1012         - gerrit-parameter:
1013             branch: '{branch}'
1014         - os-parameter:
1015             os: '{os}'
1016
1017     scm:
1018         - gerrit-trigger-scm:
1019             credentials-id: 'jenkins-gerrit-credentials'
1020             refspec: '$GERRIT_REFSPEC'
1021             choosing-strategy: 'gerrit'
1022
1023     wrappers:
1024         - fdio-infra-wrappers:
1025             build-timeout: '{build-timeout}'
1026
1027     triggers:
1028         - gerrit-trigger-patch-submitted:
1029             name: '{project}'
1030             branch: '{branch}'
1031
1032     builders:
1033         - shell:
1034             !include-raw-escape:
1035                 - include-raw-cicn-metis-build.sh
1036
1037     publishers:
1038         - fdio-infra-shiplogs:
1039             maven-version: 'mvn33-new'
1040
1041 - job-template:
1042     name: 'cicn-http-server-merge-{stream}-{os}'
1043
1044     project-type: freestyle
1045     node: '{os}-basebuild-4c-4g'
1046
1047     logrotate:
1048         daysToKeep: '{build-days-to-keep}'
1049         numToKeep: '{build-num-to-keep}'
1050         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1051         artifactNumToKeep: '{build-artifact-num-to-keep}'
1052
1053     parameters:
1054         - project-parameter:
1055             project: '{project}'
1056         - gerrit-parameter:
1057             branch: '{branch}'
1058         - os-parameter:
1059             os: '{os}'
1060         - maven-project-parameter:
1061             maven: 'mvn33-new'
1062         - maven-exec:
1063             maven-version: 'mvn33-new'
1064         - repo-name-parameter:
1065             repo-name: '{repo-stream-part}.{repo-os-part}'
1066
1067     scm:
1068         - gerrit-trigger-scm:
1069             credentials-id: 'jenkins-gerrit-credentials'
1070             refspec: ''
1071             choosing-strategy: 'default'
1072
1073     wrappers:
1074         - fdio-infra-wrappers:
1075             build-timeout: '{build-timeout}'
1076
1077     triggers:
1078         - gerrit-trigger-patch-merged:
1079             name: '{project}'
1080             branch: '{branch}'
1081         - reverse:
1082             jobs: 'cicn-libicnet-merge-{stream}-{os}'
1083             result: 'failure'
1084
1085     builders:
1086         - maven-target:
1087             maven-version: 'mvn33-new'
1088             goals: '--version'
1089             settings: 'cicn-settings'
1090             settings-type: cfp
1091             global-settings: 'global-settings'
1092             global-settings-type: cfp
1093         - shell:
1094             !include-raw-escape:
1095                 - include-raw-cicn-http-server-build.sh
1096         - provide-maven-settings:
1097             settings-file: 'cicn-settings'
1098             global-settings-file: 'global-settings'
1099         - shell:
1100             !include-raw-escape:
1101                 - ../scripts/maven_push_functions.sh
1102                 - include-raw-cicn-maven-push.sh
1103     publishers:
1104         - archive:
1105             artifacts: 'build/*.rpm,build/*.deb'
1106             allow-empty: 'true'
1107             fingerprint: false
1108             only-if-success: true
1109             default-excludes: false
1110         - fdio-infra-shiplogs:
1111             maven-version: 'mvn33-new'
1112
1113 - job-template:
1114     name: 'cicn-http-server-verify-{stream}-{os}'
1115
1116     project-type: freestyle
1117     node: '{os}-basebuild-4c-4g'
1118     concurrent: true
1119
1120     logrotate:
1121         daysToKeep: '{build-days-to-keep}'
1122         numToKeep: '{build-num-to-keep}'
1123         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1124         artifactNumToKeep: '{build-artifact-num-to-keep}'
1125
1126     parameters:
1127         - project-parameter:
1128             project: '{project}'
1129         - gerrit-parameter:
1130             branch: '{branch}'
1131         - os-parameter:
1132             os: '{os}'
1133
1134     scm:
1135         - gerrit-trigger-scm:
1136             credentials-id: 'jenkins-gerrit-credentials'
1137             refspec: '$GERRIT_REFSPEC'
1138             choosing-strategy: 'gerrit'
1139
1140     wrappers:
1141         - fdio-infra-wrappers:
1142             build-timeout: '{build-timeout}'
1143
1144     triggers:
1145         - gerrit-trigger-patch-submitted:
1146             name: '{project}'
1147             branch: '{branch}'
1148
1149     builders:
1150         - shell:
1151             !include-raw-escape:
1152                 - include-raw-cicn-http-server-build.sh
1153
1154     publishers:
1155         - fdio-infra-shiplogs:
1156             maven-version: 'mvn33-new'
1157
1158 - job-template:
1159     name: 'cicn-vpp-plugin-merge-{stream}-{os}'
1160
1161     project-type: freestyle
1162     node: '{os}-basebuild-4c-4g'
1163
1164     logrotate:
1165         daysToKeep: '{build-days-to-keep}'
1166         numToKeep: '{build-num-to-keep}'
1167         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1168         artifactNumToKeep: '{build-artifact-num-to-keep}'
1169
1170     parameters:
1171         - project-parameter:
1172             project: '{project}'
1173         - gerrit-parameter:
1174             branch: '{branch}'
1175         - os-parameter:
1176             os: '{os}'
1177         - maven-project-parameter:
1178             maven: 'mvn33-new'
1179         - maven-exec:
1180             maven-version: 'mvn33-new'
1181         - repo-name-parameter:
1182             repo-name: '{repo-stream-part}.{repo-os-part}'
1183
1184     scm:
1185         - gerrit-trigger-scm:
1186             credentials-id: 'jenkins-gerrit-credentials'
1187             refspec: ''
1188             choosing-strategy: 'default'
1189
1190     wrappers:
1191         - fdio-infra-wrappers:
1192             build-timeout: '{build-timeout}'
1193
1194     triggers:
1195         - gerrit-trigger-patch-merged:
1196             name: '{project}'
1197             branch: '{branch}'
1198         - timed: '@daily'
1199
1200     builders:
1201         - maven-target:
1202             maven-version: 'mvn33-new'
1203             goals: '--version'
1204             settings: 'cicn-settings'
1205             settings-type: cfp
1206             global-settings: 'global-settings'
1207             global-settings-type: cfp
1208         - shell:
1209             !include-raw-escape:
1210                 - include-raw-cicn-vpp-plugin-build.sh
1211         - provide-maven-settings:
1212             settings-file: 'cicn-settings'
1213             global-settings-file: 'global-settings'
1214         - shell:
1215             !include-raw-escape:
1216                 - ../scripts/maven_push_functions.sh
1217                 - include-raw-cicn-maven-push.sh
1218     publishers:
1219         - archive:
1220             artifacts: 'cicn-plugin/build/*.rpm,cicn-plugin/build/*.deb'
1221             allow-empty: 'true'
1222             fingerprint: false
1223             only-if-success: true
1224             default-excludes: false
1225         - fdio-infra-shiplogs:
1226             maven-version: 'mvn33-new'
1227
1228 - job-template:
1229     name: 'cicn-vpp-plugin-verify-{stream}-{os}'
1230
1231     project-type: freestyle
1232     node: '{os}-basebuild-4c-4g'
1233     concurrent: true
1234
1235     logrotate:
1236         daysToKeep: '{build-days-to-keep}'
1237         numToKeep: '{build-num-to-keep}'
1238         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1239         artifactNumToKeep: '{build-artifact-num-to-keep}'
1240
1241     parameters:
1242         - project-parameter:
1243             project: '{project}'
1244         - gerrit-parameter:
1245             branch: '{branch}'
1246         - os-parameter:
1247             os: '{os}'
1248
1249     scm:
1250         - gerrit-trigger-scm:
1251             credentials-id: 'jenkins-gerrit-credentials'
1252             refspec: '$GERRIT_REFSPEC'
1253             choosing-strategy: 'gerrit'
1254
1255     wrappers:
1256         - fdio-infra-wrappers:
1257             build-timeout: '{build-timeout}'
1258
1259     triggers:
1260         - gerrit-trigger-patch-submitted:
1261             name: '{project}'
1262             branch: '{branch}'
1263
1264     builders:
1265         - shell:
1266             !include-raw-escape:
1267                 - include-raw-cicn-vpp-plugin-build.sh
1268
1269     publishers:
1270         - fdio-infra-shiplogs:
1271             maven-version: 'mvn33-new'
1272
1273 - job-template:
1274     name: 'cicn-viper-merge-{stream}-{os}'
1275
1276     project-type: freestyle
1277     node: '{os}-basebuild-4c-4g'
1278
1279     logrotate:
1280         daysToKeep: '{build-days-to-keep}'
1281         numToKeep: '{build-num-to-keep}'
1282         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1283         artifactNumToKeep: '{build-artifact-num-to-keep}'
1284
1285     parameters:
1286         - project-parameter:
1287             project: '{project}'
1288         - gerrit-parameter:
1289             branch: '{branch}'
1290         - os-parameter:
1291             os: '{os}'
1292         - maven-project-parameter:
1293             maven: 'mvn33-new'
1294         - maven-exec:
1295             maven-version: 'mvn33-new'
1296         - repo-name-parameter:
1297             repo-name: '{repo-stream-part}.{repo-os-part}'
1298
1299     scm:
1300         - gerrit-trigger-scm:
1301             credentials-id: 'jenkins-gerrit-credentials'
1302             refspec: ''
1303             choosing-strategy: 'default'
1304
1305     wrappers:
1306         - fdio-infra-wrappers:
1307             build-timeout: '{build-timeout}'
1308
1309     triggers:
1310         - gerrit-trigger-patch-merged:
1311             name: '{project}'
1312             branch: '{branch}'
1313         - reverse:
1314             jobs: 'cicn-libicnet-merge-{stream}-{os}'
1315             result: 'failure'
1316
1317     builders:
1318         - maven-target:
1319             maven-version: 'mvn33-new'
1320             goals: '--version'
1321             settings: 'cicn-settings'
1322             settings-type: cfp
1323             global-settings: 'global-settings'
1324             global-settings-type: cfp
1325         - shell:
1326             !include-raw-escape:
1327                 - include-raw-cicn-viper-build.sh
1328         - provide-maven-settings:
1329             settings-file: 'cicn-settings'
1330             global-settings-file: 'global-settings'
1331         - shell:
1332             !include-raw-escape:
1333                 - ../scripts/maven_push_functions.sh
1334                 - include-raw-cicn-maven-push.sh
1335     publishers:
1336         - archive:
1337             artifacts: 'build/*.rpm,build/*.deb,libdash/build/*.rpm,libdash/build/*.deb'
1338             allow-empty: 'true'
1339             fingerprint: false
1340             only-if-success: true
1341             default-excludes: false
1342         - fdio-infra-shiplogs:
1343             maven-version: 'mvn33-new'
1344
1345 - job-template:
1346     name: 'cicn-viper-verify-{stream}-{os}'
1347
1348     project-type: freestyle
1349     node: '{os}-basebuild-4c-4g'
1350     concurrent: true
1351
1352     logrotate:
1353         daysToKeep: '{build-days-to-keep}'
1354         numToKeep: '{build-num-to-keep}'
1355         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1356         artifactNumToKeep: '{build-artifact-num-to-keep}'
1357
1358     parameters:
1359         - project-parameter:
1360             project: '{project}'
1361         - gerrit-parameter:
1362             branch: '{branch}'
1363         - os-parameter:
1364             os: '{os}'
1365
1366     scm:
1367         - gerrit-trigger-scm:
1368             credentials-id: 'jenkins-gerrit-credentials'
1369             refspec: '$GERRIT_REFSPEC'
1370             choosing-strategy: 'gerrit'
1371
1372     wrappers:
1373         - fdio-infra-wrappers:
1374             build-timeout: '{build-timeout}'
1375
1376     triggers:
1377         - gerrit-trigger-patch-submitted:
1378             name: '{project}'
1379             branch: '{branch}'
1380
1381     builders:
1382         - shell:
1383             !include-raw-escape:
1384                 - include-raw-cicn-viper-build.sh
1385
1386     publishers:
1387         - fdio-infra-shiplogs:
1388             maven-version: 'mvn33-new'
1389
1390 - job-template:
1391     name: 'cicn-radio-emulators-merge-{stream}-{os}'
1392
1393     project-type: freestyle
1394     node: '{os}-basebuild-4c-4g'
1395
1396     logrotate:
1397         daysToKeep: '{build-days-to-keep}'
1398         numToKeep: '{build-num-to-keep}'
1399         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1400         artifactNumToKeep: '{build-artifact-num-to-keep}'
1401
1402     parameters:
1403         - project-parameter:
1404             project: '{project}'
1405         - gerrit-parameter:
1406             branch: '{branch}'
1407         - os-parameter:
1408             os: '{os}'
1409         - maven-project-parameter:
1410             maven: 'mvn33-new'
1411         - maven-exec:
1412             maven-version: 'mvn33-new'
1413         - repo-name-parameter:
1414             repo-name: '{repo-stream-part}.{repo-os-part}'
1415
1416     scm:
1417         - gerrit-trigger-scm:
1418             credentials-id: 'jenkins-gerrit-credentials'
1419             refspec: ''
1420             choosing-strategy: 'default'
1421
1422     wrappers:
1423         - fdio-infra-wrappers:
1424             build-timeout: '{build-timeout}'
1425
1426     triggers:
1427         - gerrit-trigger-patch-merged:
1428             name: '{project}'
1429             branch: '{branch}'
1430         - timed: '@daily'
1431
1432     builders:
1433         - maven-target:
1434             maven-version: 'mvn33-new'
1435             goals: '--version'
1436             settings: 'cicn-settings'
1437             settings-type: cfp
1438             global-settings: 'global-settings'
1439             global-settings-type: cfp
1440         - shell:
1441             !include-raw-escape:
1442                 - include-raw-cicn-radio-emulators-build.sh
1443         - provide-maven-settings:
1444             settings-file: 'cicn-settings'
1445             global-settings-file: 'global-settings'
1446         - shell:
1447             !include-raw-escape:
1448                 - ../scripts/maven_push_functions.sh
1449                 - include-raw-cicn-maven-push.sh
1450     publishers:
1451         - archive:
1452             artifacts: 'emu-radio/build/*.rpm,emu-radio/build/*.deb,emu-radio/ns3-packages/*.rpm,emu-radio/ns3-packages/*.deb'
1453             allow-empty: 'true'
1454             fingerprint: false
1455             only-if-success: true
1456             default-excludes: false
1457         - fdio-infra-shiplogs:
1458             maven-version: 'mvn33-new'
1459
1460 - job-template:
1461     name: 'cicn-radio-emulators-verify-{stream}-{os}'
1462
1463     project-type: freestyle
1464     node: '{os}-basebuild-4c-4g'
1465     concurrent: true
1466
1467     logrotate:
1468         daysToKeep: '{build-days-to-keep}'
1469         numToKeep: '{build-num-to-keep}'
1470         artifactDaysToKeep: '{build-artifact-days-to-keep}'
1471         artifactNumToKeep: '{build-artifact-num-to-keep}'
1472
1473     parameters:
1474         - project-parameter:
1475             project: '{project}'
1476         - gerrit-parameter:
1477             branch: '{branch}'
1478         - os-parameter:
1479             os: '{os}'
1480
1481     scm:
1482         - gerrit-trigger-scm:
1483             credentials-id: 'jenkins-gerrit-credentials'
1484             refspec: '$GERRIT_REFSPEC'
1485             choosing-strategy: 'gerrit'
1486
1487     wrappers:
1488         - fdio-infra-wrappers:
1489             build-timeout: '{build-timeout}'
1490
1491     triggers:
1492         - gerrit-trigger-patch-submitted:
1493             name: '{project}'
1494             branch: '{branch}'
1495
1496     builders:
1497         - shell:
1498             !include-raw-escape:
1499                 - include-raw-cicn-radio-emulators-build.sh
1500
1501     publishers:
1502         - fdio-infra-shiplogs:
1503             maven-version: 'mvn33-new'