2d2e0aaf2660f0421a6392cf600cb280c0c4498d
[releng/builder.git] / jjb / opflex / opflex-dependencies.yaml
1 ---
2 - project:
3     name: opflex-dependencies
4     jobs:
5       - 'opflex-libuv-{stream}'
6       - 'opflex-rapidjson-{stream}'
7       - 'opflex-openvswitch-{stream}'
8
9     # todo: remove 'ovs-scm' after boron EOL
10     stream:
11       - oxygen:
12           branch: 'master'
13           libuv-version: '1.8.0'
14           rapidjson-version: '1.0.2'
15           openvswitch-version: '2.6.0'
16           ovs-scm: v2
17       - nitrogen:
18           branch: 'stable/nitrogen'
19           libuv-version: '1.8.0'
20           rapidjson-version: '1.0.2'
21           openvswitch-version: '2.6.0'
22           ovs-scm: v2
23       - carbon:
24           branch: 'stable/carbon'
25           libuv-version: '1.8.0'
26           rapidjson-version: '1.0.2'
27           openvswitch-version: '2.6.0'
28           ovs-scm: v2
29
30     project: 'opflex'
31
32     mvn-opts: ''
33     mvn-params: ''
34     mvn-version: mvn33
35
36     # common parameters required for 'lf-infra-deploy-maven-file' builder
37     repo-id: 'thirdparty'
38     upload-files-dir: '$WORKSPACE/upload_files'
39
40 - job-template:
41     name: 'opflex-libuv-{stream}'
42
43     project-type: freestyle
44     node: centos7-java-builder-2c-8g
45     concurrent: true
46
47     group-id: 'libuv'
48
49     properties:
50       - opendaylight-infra-properties:
51           build-days-to-keep: '{build-days-to-keep}'
52
53     parameters:
54       - opendaylight-infra-parameters:
55           os-cloud: '{os-cloud}'
56           project: '{project}'
57           branch: '{branch}'
58           refspec: 'refs/heads/{branch}'
59           artifacts: '{archive-artifacts}'
60       - lf-infra-maven-parameters:
61           mvn-opts: '{mvn-opts}'
62           mvn-params: '{mvn-params}'
63           mvn-version: '{mvn-version}'
64           staging-profile-id: ''
65       - string:
66           name: LIBUV_VERSION
67           # yamllint disable-line rule:line-length
68           default: '{libuv-version}'
69           description: 'libuv version'
70
71     scm:
72       - git-opflex-libuv
73
74     wrappers:
75       - opendaylight-infra-wrappers:
76           build-timeout: '{build-timeout}'
77
78     builders:
79       - opflex-build-libuv
80       - lf-infra-deploy-maven-file:
81           global-settings-file: 'global-settings'
82           settings-file: 'opflex-settings'
83           mvn-version: '{mvn-version}'
84           repo-id: '{repo-id}'
85           group-id: '{group-id}'
86           upload-files-dir: '{upload-files-dir}'
87           maven-repo-url: '$NEXUS_URL/content/repositories/thirdparty'
88
89     publishers:
90       - email-notification:
91           email-recipients: '{email-recipients}'
92           email-prefix: '[opflex]'
93       - lf-infra-publish
94
95 - job-template:
96     name: 'opflex-rapidjson-{stream}'
97
98     project-type: freestyle
99     node: centos7-java-builder-2c-8g
100     concurrent: true
101
102     group-id: 'rapidjson'
103
104     properties:
105       - opendaylight-infra-properties:
106           build-days-to-keep: '{build-days-to-keep}'
107
108     parameters:
109       - opendaylight-infra-parameters:
110           os-cloud: '{os-cloud}'
111           project: '{project}'
112           branch: '{branch}'
113           refspec: 'refs/heads/{branch}'
114           artifacts: '{archive-artifacts}'
115       - lf-infra-maven-parameters:
116           mvn-opts: '{mvn-opts}'
117           mvn-params: '{mvn-params}'
118           mvn-version: '{mvn-version}'
119           staging-profile-id: ''
120       - string:
121           name: RAPIDJSON_VERSION
122           # yamllint disable-line rule:line-length
123           default: '{rapidjson-version}'
124           description: 'rapidjson version'
125
126     scm:
127       - git-opflex-rapidjson
128
129     wrappers:
130       - opendaylight-infra-wrappers:
131           build-timeout: '{build-timeout}'
132
133     builders:
134       - opflex-build-rapidjson
135       - lf-infra-deploy-maven-file:
136           global-settings-file: 'global-settings'
137           settings-file: 'opflex-settings'
138           mvn-version: '{mvn-version}'
139           repo-id: '{repo-id}'
140           group-id: '{group-id}'
141           upload-files-dir: '{upload-files-dir}'
142           maven-repo-url: '$NEXUS_URL/content/repositories/thirdparty'
143
144     publishers:
145       - email-notification:
146           email-recipients: '{email-recipients}'
147           email-prefix: '[opflex]'
148       - lf-infra-publish
149
150 - job-template:
151     name: 'opflex-openvswitch-{stream}'
152
153     project-type: freestyle
154     node: centos7-java-builder-2c-8g
155     concurrent: true
156
157     group-id: 'openvswitch'
158
159     properties:
160       - opendaylight-infra-properties:
161           build-days-to-keep: '{build-days-to-keep}'
162
163     parameters:
164       - opendaylight-infra-parameters:
165           os-cloud: '{os-cloud}'
166           project: '{project}'
167           branch: '{branch}'
168           refspec: 'refs/heads/{branch}'
169           artifacts: '{archive-artifacts}'
170       - lf-infra-maven-parameters:
171           mvn-opts: '{mvn-opts}'
172           mvn-params: '{mvn-params}'
173           mvn-version: '{mvn-version}'
174           staging-profile-id: ''
175       - string:
176           name: OPENVSWITCH_VERSION
177           # yamllint disable-line rule:line-length
178           default: '{openvswitch-version}'
179           description: 'openvswitch-version'
180
181     scm:
182       - git-opflex-ovs-{ovs-scm}
183
184     wrappers:
185       - opendaylight-infra-wrappers:
186           build-timeout: '{build-timeout}'
187
188     builders:
189       - opflex-build-openvswitch
190       - lf-infra-deploy-maven-file:
191           global-settings-file: 'global-settings'
192           settings-file: 'opflex-settings'
193           mvn-version: '{mvn-version}'
194           repo-id: '{repo-id}'
195           group-id: '{group-id}'
196           upload-files-dir: '{upload-files-dir}'
197           maven-repo-url: '$NEXUS_URL/content/repositories/thirdparty'
198
199     publishers:
200       - email-notification:
201           email-recipients: '{email-recipients}'
202           email-prefix: '[opflex]'
203       - lf-infra-publish