blob: f3bd189ae52f03f71b950cb1cd2593e6de30798a [file] [log] [blame]
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001---
Gary Wu6c702772018-08-06 18:48:02 -07002- job-template: &verify_java_defaults
Andrew Grimbergebc710a2017-01-30 12:59:38 -08003 # Job template for Java verify jobs
4 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08005 # The purpose of this job template is to run:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08006 # 1. maven clean install
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -05007 #
8 # Required Variables:
9 # branch: git branch (eg. stable/lithium or master)
10
Andrew Grimbergce2286c2017-01-31 05:50:39 -080011 name: '{project-name}-{stream}-verify-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080012
13 project-type: freestyle
14 concurrent: true
15 node: '{build-node}'
Gary Wu5918acd2018-08-06 16:42:21 -070016 pattern: '**'
Gary Wu6c702772018-08-06 18:48:02 -070017 pom:
Andrew Grimbergebc710a2017-01-30 12:59:38 -080018
19 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -070020 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -080021 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080022
23 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -070024 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -080025 project: '{project}'
26 branch: '{branch}'
27 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -080028 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -080029 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -080030 maven-version: '{maven-version}'
Jessica Wagantalld25908c2018-03-28 12:06:39 -070031 - maven-params:
32 mvn-params: '{mvn-params}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080033
34 scm:
35 - gerrit-trigger-scm:
36 refspec: '$GERRIT_REFSPEC'
37 choosing-strategy: 'gerrit'
Jeremy Phelps11f5d412017-06-30 13:56:19 -050038 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080039
40 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -070041 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -080042 build-timeout: '{build-timeout}'
43
44 triggers:
45 - gerrit-trigger-patch-submitted:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -080046 server: '{server-name}'
47 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080048 branch: '{branch}'
Gary Wu5918acd2018-08-06 16:42:21 -070049 files: '{obj:pattern}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080050
51 builders:
52 - provide-maven-settings:
53 global-settings-file: 'global-settings'
54 settings-file: '{mvn-settings}'
55 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -080056 maven-version: '{maven-version}'
Gary Wu6c702772018-08-06 18:48:02 -070057 pom: '{obj:pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -040058 goals: 'clean install -B
Jessica Wagantalld25908c2018-03-28 12:06:39 -070059 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn {mvn-params}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080060 settings: '{mvn-settings}'
61 settings-type: cfp
62 global-settings: 'global-settings'
63 global-settings-type: cfp
64
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -070065 publishers:
66 - infra-shiplogs:
67 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080068
69- job-template:
JulienBe77903ed2017-07-17 15:30:26 +020070 # Job template for Java verify jobs running checkstyle at the end
71 # When checkstyle will be fully incorporated, it is meant to replace
72 # '{project-name}-{stream}-verify-java-checkstyle'
Jessica Wagantalla0b80c62017-12-21 12:10:19 -080073 #
74 # The purpose of this job template is to run:
75 # 1. maven clean install
76 #
77 # This job publishes checkstyle results.
JulienBe77903ed2017-07-17 15:30:26 +020078 #
79 # Required Variables:
80 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -080081
Gary Wu6c702772018-08-06 18:48:02 -070082 <<: *verify_java_defaults
JulienBe77903ed2017-07-17 15:30:26 +020083 name: '{project-name}-{stream}-verify-java-checkstyle'
JulienBe77903ed2017-07-17 15:30:26 +020084 publishers:
85 - infra-shiplogs:
86 maven-version: '{maven-version}'
87 - checkstyle-result
88
89- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -080090 # Job template for Java verify jobs with POM not at the root
91 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -080092 # The purpose of this job template is to run:
93 # 1. maven clean install
94 #
95 # This job supports subprojects.
Andrew Grimbergebc710a2017-01-30 12:59:38 -080096 #
97 # Required Variables:
98 # branch: git branch (eg. stable/lithium or master)
99 # pom: name/location of the pom.xml file relative to the workspace
100 # pattern: ant file-path pattern relative to the workspace used to
101 # trigger the job
102
Gary Wu6c702772018-08-06 18:48:02 -0700103 <<: *verify_java_defaults
Andrew Grimbergce2286c2017-01-31 05:50:39 -0800104 name: '{project-name}-{stream}-{subproject}-verify-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800105
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800106- job-template:
JulienBe2f4ee072017-02-01 21:42:32 +0100107 # Job template for Java daily release jobs
108 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800109 # The purpose of this job template is to run:
110 # 1. maven clean deploy with Sonar scans
JulienBe2f4ee072017-02-01 21:42:32 +0100111 #
112 # Required Variables:
113 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800114
JulienBe2f4ee072017-02-01 21:42:32 +0100115 name: '{project-name}-{stream}-release-java-daily'
116
117 project-type: freestyle
118 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -0700119 disabled: '{disabled}'
JulienBe2f4ee072017-02-01 21:42:32 +0100120 maven-deploy-properties:
121 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700122 - infra-properties:
JulienBe2f4ee072017-02-01 21:42:32 +0100123 build-days-to-keep: '{build-days-to-keep}'
124
125 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700126 - infra-parameters:
JulienBe2f4ee072017-02-01 21:42:32 +0100127 project: '{project}'
128 branch: '{branch}'
129 refspec: 'refs/heads/{branch}'
130 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800131 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800132 maven-version: '{maven-version}'
JulienBe2f4ee072017-02-01 21:42:32 +0100133
134 scm:
135 - gerrit-trigger-scm:
136 refspec: ''
137 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500138 submodule-recursive: '{submodule-recursive}'
JulienBe2f4ee072017-02-01 21:42:32 +0100139
140 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700141 - infra-wrappers:
JulienBe2f4ee072017-02-01 21:42:32 +0100142 build-timeout: '{build-timeout}'
143
144 triggers:
145 # 11 AM UTC
146 - timed: 'H 11 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -0800147 - gerrit-trigger-release-manually:
148 server: '{server-name}'
149 project: '{project}'
150 branch: '{branch}'
JulienBe2f4ee072017-02-01 21:42:32 +0100151
152 builders:
153 - provide-maven-settings:
154 global-settings-file: 'global-settings'
155 settings-file: '{mvn-settings}'
156
JulienBe5641aa02017-02-17 01:08:38 -0800157 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800158 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800159 goals: 'clean deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -0400160 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBe5641aa02017-02-17 01:08:38 -0800161 properties:
162 - '{maven-deploy-properties}'
Jessica Wagantall6223d1d2017-08-07 14:46:58 -0700163 java-opts:
164 - '-Xmx4096m -XX:MaxPermSize=512m'
JulienBe5641aa02017-02-17 01:08:38 -0800165 settings: '{mvn-settings}'
166 settings-type: cfp
167 global-settings: 'global-settings'
168 global-settings-type: cfp
169
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700170 publishers:
171 - infra-shiplogs:
172 maven-version: '{maven-version}'
173
JulienBe5641aa02017-02-17 01:08:38 -0800174- job-template:
JulienBe77903ed2017-07-17 15:30:26 +0200175 # Job template for Java daily release jobs running checkstyle at the end
176 # When checkstyle will be fully incorporated, it is meant to replace
177 # '{project-name}-{stream}-release-java-daily'
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800178 #
179 # The purpose of this job template is to run:
180 # 1. maven clean deploy with Sonar scans
181 #
182 # This job publishes checkstyle results.
183 # This job uses a conditional regex match step to set versions.
JulienBe77903ed2017-07-17 15:30:26 +0200184 #
185 # Required Variables:
186 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800187
JulienBe77903ed2017-07-17 15:30:26 +0200188 name: '{project-name}-{stream}-release-java-daily-checkstyle'
189 project-type: freestyle
190 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -0700191 disabled: '{disabled}'
JulienBe77903ed2017-07-17 15:30:26 +0200192 maven-deploy-properties:
193 properties:
194 - infra-properties:
195 build-days-to-keep: '{build-days-to-keep}'
196 parameters:
197 - infra-parameters:
198 project: '{project}'
199 branch: '{branch}'
200 refspec: 'refs/heads/{branch}'
201 artifacts: '{archive-artifacts}'
202 - maven-exec:
203 maven-version: '{maven-version}'
204 scm:
205 - gerrit-trigger-scm:
206 refspec: ''
207 choosing-strategy: 'default'
208 submodule-recursive: '{submodule-recursive}'
209 wrappers:
210 - infra-wrappers:
211 build-timeout: '{build-timeout}'
212 triggers:
213 # 11 AM UTC
214 - timed: 'H 11 * * *'
215 - gerrit-trigger-release-manually:
216 server: '{server-name}'
217 project: '{project}'
218 branch: '{branch}'
219 builders:
220 - provide-maven-settings:
221 global-settings-file: 'global-settings'
222 settings-file: '{mvn-settings}'
JulienBed91a33a2017-09-25 15:56:34 +0200223 - conditional-step:
224 condition-kind: regex-match
225 regex: DoSetVersion
226 label: '{setVersion}'
227 steps:
228 - inject:
229 properties-file: version.properties
230 - maven-target:
231 maven-version: '{maven-version}'
232 goals: 'versions:set versions:update-child-modules versions:commit -B'
233 properties:
234 - 'newVersion=${{release_version}}'
235 settings: '{mvn-settings}'
236 settings-type: cfp
237 global-settings: 'global-settings'
238 global-settings-type: cfp
JulienBe77903ed2017-07-17 15:30:26 +0200239 - maven-target:
240 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800241 goals: 'clean deploy -B
JulienBe77903ed2017-07-17 15:30:26 +0200242 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBec9d90e22017-08-08 10:44:10 +0200243 properties: '{obj:mvn_properties}'
JulienBe77903ed2017-07-17 15:30:26 +0200244 settings: '{mvn-settings}'
245 settings-type: cfp
246 global-settings: 'global-settings'
247 global-settings-type: cfp
248 publishers:
249 - infra-shiplogs:
250 maven-version: '{maven-version}'
251 - checkstyle-result-daily
252
253- job-template:
JulienBe5641aa02017-02-17 01:08:38 -0800254 # Job template for Java daily release jobs
255 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800256 # The purpose of this job template is to run:
257 # 1. maven set versions
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800258 # 2. maven clean deploy with Sonar scans
Pamela Dragosh55ceb8f2017-05-23 12:23:16 -0400259 #
260 # Required Variables:
261 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800262
JulienBe5641aa02017-02-17 01:08:38 -0800263 name: '{project-name}-{stream}-release-version-java-daily'
264
265 project-type: freestyle
Jessica Wagantall27a8a392018-03-16 17:22:11 -0700266 disabled: '{disabled}'
JulienBe5641aa02017-02-17 01:08:38 -0800267 node: '{build-node}'
268 maven-deploy-properties:
269 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700270 - infra-properties:
JulienBe5641aa02017-02-17 01:08:38 -0800271 build-days-to-keep: '{build-days-to-keep}'
272
273 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700274 - infra-parameters:
JulienBe5641aa02017-02-17 01:08:38 -0800275 project: '{project}'
276 branch: '{branch}'
277 refspec: 'refs/heads/{branch}'
278 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800279 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800280 maven-version: '{maven-version}'
JulienBe5641aa02017-02-17 01:08:38 -0800281
282 scm:
283 - gerrit-trigger-scm:
284 refspec: ''
285 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500286 submodule-recursive: '{submodule-recursive}'
JulienBe5641aa02017-02-17 01:08:38 -0800287
288 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700289 - infra-wrappers:
JulienBe5641aa02017-02-17 01:08:38 -0800290 build-timeout: '{build-timeout}'
291
292 triggers:
293 # 11 AM UTC
Jessica Wagantall77494942017-10-02 15:12:14 -0700294 - timed: 'H H(10-17) * * *'
JulienBe5641aa02017-02-17 01:08:38 -0800295 - gerrit-trigger-release-manually:
296 server: '{server-name}'
297 project: '{project}'
298 branch: '{branch}'
299
300 builders:
301 - provide-maven-settings:
302 global-settings-file: 'global-settings'
303 settings-file: '{mvn-settings}'
304
JulienBe2f4ee072017-02-01 21:42:32 +0100305 - inject:
306 properties-file: version.properties
307 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800308 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -0400309 goals: 'versions:set versions:update-child-modules versions:commit -B'
JulienBe2f4ee072017-02-01 21:42:32 +0100310 properties:
311 - 'newVersion=${{release_version}}'
312 settings: '{mvn-settings}'
313 settings-type: cfp
314 global-settings: 'global-settings'
315 global-settings-type: cfp
316
317 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800318 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800319 goals: 'clean deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -0400320 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimberg24443ee2017-02-02 08:29:12 -0800321 properties:
322 - '{maven-deploy-properties}'
JulienBe2f4ee072017-02-01 21:42:32 +0100323 settings: '{mvn-settings}'
324 settings-type: cfp
325 global-settings: 'global-settings'
326 global-settings-type: cfp
327
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700328 publishers:
329 - infra-shiplogs:
330 maven-version: '{maven-version}'
331
JulienBe2f4ee072017-02-01 21:42:32 +0100332- job-template:
JulienBe645951d2017-09-28 18:44:18 +0200333 # Job template for Java daily release jobs
334 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800335 # The purpose of this job template is to run:
336 # 1. maven set versions
337 # 2. maven clean deploy -P {mvn-profile} with Sonar scans
JulienBe645951d2017-09-28 18:44:18 +0200338 #
339 # Required Variables:
340 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800341
JulienBe645951d2017-09-28 18:44:18 +0200342 name: '{project-name}-{stream}-release-version-profile-java-daily'
343
344 project-type: freestyle
345 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -0700346 disabled: '{disabled}'
JulienBe645951d2017-09-28 18:44:18 +0200347 maven-deploy-properties:
348 properties:
349 - infra-properties:
350 build-days-to-keep: '{build-days-to-keep}'
351
352 parameters:
353 - infra-parameters:
354 project: '{project}'
355 branch: '{branch}'
356 refspec: 'refs/heads/{branch}'
357 artifacts: '{archive-artifacts}'
358 - maven-exec:
359 maven-version: '{maven-version}'
360
361 scm:
362 - gerrit-trigger-scm:
363 refspec: ''
364 choosing-strategy: 'default'
365 submodule-recursive: '{submodule-recursive}'
366
367 wrappers:
368 - infra-wrappers:
369 build-timeout: '{build-timeout}'
370
371 triggers:
372 # 11 AM UTC
373 - timed: 'H 11 * * *'
374 - gerrit-trigger-release-manually:
375 server: '{server-name}'
376 project: '{project}'
377 branch: '{branch}'
378
379 builders:
380 - provide-maven-settings:
381 global-settings-file: 'global-settings'
382 settings-file: '{mvn-settings}'
383
384 - inject:
385 properties-file: version.properties
386 - maven-target:
387 maven-version: '{maven-version}'
388 goals: 'versions:set versions:update-child-modules versions:commit -B'
389 properties:
390 - 'newVersion=${{release_version}}'
391 settings: '{mvn-settings}'
392 settings-type: cfp
393 global-settings: 'global-settings'
394 global-settings-type: cfp
395
396 - maven-target:
397 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800398 goals: 'clean deploy -P {mvn-profile} -B
JulienBe645951d2017-09-28 18:44:18 +0200399 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
400 properties:
401 - '{maven-deploy-properties}'
402 settings: '{mvn-settings}'
403 settings-type: cfp
404 global-settings: 'global-settings'
405 global-settings-type: cfp
406
407 publishers:
408 - infra-shiplogs:
409 maven-version: '{maven-version}'
410
411
412- job-template:
Carsten Lundda8b6972017-02-15 23:59:25 +0000413 # Job template for Java daily release jobs with POM not at the root
414 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800415 # The purpose of this job template is to run:
416 # 1. maven clean deploy with Sonar scans
417 #
418 # This job supports subprojects.
Carsten Lundda8b6972017-02-15 23:59:25 +0000419 #
420 # Required Variables:
421 # branch: git branch (eg. stable/lithium or master)
422 # pom: name/location of the pom.xml file relative to the workspace
423
Carsten Lundda8b6972017-02-15 23:59:25 +0000424 name: '{project-name}-{stream}-{subproject}-release-java-daily'
425
426 project-type: freestyle
427 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -0700428 disabled: '{disabled}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000429 maven-deploy-properties:
430 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700431 - infra-properties:
Carsten Lundda8b6972017-02-15 23:59:25 +0000432 build-days-to-keep: '{build-days-to-keep}'
433
434 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700435 - infra-parameters:
Carsten Lundda8b6972017-02-15 23:59:25 +0000436 project: '{project}'
437 branch: '{branch}'
438 refspec: 'refs/heads/{branch}'
439 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800440 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800441 maven-version: '{maven-version}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000442
443 scm:
444 - gerrit-trigger-scm:
445 refspec: ''
446 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500447 submodule-recursive: '{submodule-recursive}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000448
449 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700450 - infra-wrappers:
Carsten Lundda8b6972017-02-15 23:59:25 +0000451 build-timeout: '{build-timeout}'
452
453 triggers:
454 # 11 AM UTC
455 - timed: 'H 11 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -0800456 - gerrit-trigger-release-manually:
457 server: '{server-name}'
458 project: '{project}'
459 branch: '{branch}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000460
461 builders:
462 - provide-maven-settings:
463 global-settings-file: 'global-settings'
464 settings-file: '{mvn-settings}'
465
Carsten Lundda8b6972017-02-15 23:59:25 +0000466 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800467 maven-version: '{maven-version}'
Carsten Lund63cd3b82017-02-18 18:19:22 +0000468 pom: '{pom}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800469 goals: 'clean deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -0400470 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lundda8b6972017-02-15 23:59:25 +0000471 properties:
472 - '{maven-deploy-properties}'
Jessica Wagantall30f0d782017-08-08 13:37:25 -0700473 java-opts:
474 - '-Xmx4096m -XX:MaxPermSize=512m'
Carsten Lundda8b6972017-02-15 23:59:25 +0000475 settings: '{mvn-settings}'
476 settings-type: cfp
477 global-settings: 'global-settings'
478 global-settings-type: cfp
479
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700480 publishers:
481 - infra-shiplogs:
482 maven-version: '{maven-version}'
483
Carsten Lundda8b6972017-02-15 23:59:25 +0000484- job-template:
Jessica Wagantallae897942017-09-28 10:56:55 -0700485 # Job template for Java daily release jobs with POM not at the root
486 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800487 # The purpose of this job template is to run:
488 # 1. maven set versions
489 # 2. maven clean deploy with Sonar scans
490 #
491 # This job supports subprojects.
Jessica Wagantallae897942017-09-28 10:56:55 -0700492 #
493 # Required Variables:
494 # branch: git branch (eg. stable/lithium or master)
495 # pom: name/location of the pom.xml file relative to the workspace
496
Zhaoxinga77c0412017-10-11 09:05:49 +0800497 name: '{project-name}-{stream}-{subproject}-release-version-java-daily'
498
499 project-type: freestyle
500 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -0700501 disabled: '{disabled}'
Zhaoxinga77c0412017-10-11 09:05:49 +0800502 maven-deploy-properties:
503 properties:
504 - infra-properties:
505 build-days-to-keep: '{build-days-to-keep}'
506
507 parameters:
508 - infra-parameters:
509 project: '{project}'
510 branch: '{branch}'
511 refspec: 'refs/heads/{branch}'
512 artifacts: '{archive-artifacts}'
513 - maven-exec:
514 maven-version: '{maven-version}'
515
516 scm:
517 - gerrit-trigger-scm:
518 refspec: ''
519 choosing-strategy: 'default'
520 submodule-recursive: '{submodule-recursive}'
521
522 wrappers:
523 - infra-wrappers:
524 build-timeout: '{build-timeout}'
525
526 triggers:
527 # 11 AM UTC
528 - timed: 'H 11 * * *'
529 - gerrit-trigger-release-manually:
530 server: '{server-name}'
531 project: '{project}'
532 branch: '{branch}'
533
534 builders:
535 - provide-maven-settings:
536 global-settings-file: 'global-settings'
537 settings-file: '{mvn-settings}'
538
539 - inject:
540 properties-file: version.properties
541 - maven-target:
542 maven-version: '{maven-version}'
Zhaoxing327f9592017-10-13 13:37:17 +0800543 pom: '{pom}'
Zhaoxinga77c0412017-10-11 09:05:49 +0800544 goals: 'versions:set versions:update-child-modules versions:commit -B'
545 properties:
546 - 'newVersion=${{release_version}}'
547 settings: '{mvn-settings}'
548 settings-type: cfp
549 global-settings: 'global-settings'
550 global-settings-type: cfp
551
552 - maven-target:
553 maven-version: '{maven-version}'
554 pom: '{pom}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800555 goals: 'clean deploy -B
Zhaoxinga77c0412017-10-11 09:05:49 +0800556 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
557 properties:
558 - '{maven-deploy-properties}'
559 settings: '{mvn-settings}'
560 settings-type: cfp
561 global-settings: 'global-settings'
562 global-settings-type: cfp
563
564 publishers:
565 - infra-shiplogs:
566 maven-version: '{maven-version}'
567
Jessica Wagantall91685e12018-03-20 17:13:40 -0700568
Gary Wu6c702772018-08-06 18:48:02 -0700569- job-template: &merge_java_defaults
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800570 # Job template for Java merge jobs
571 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800572 # The purpose of this job template is to run:
573 # 1. maven clean deploy
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800574 #
575 # Required Variables:
576 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800577
Andrew Grimbergce2286c2017-01-31 05:50:39 -0800578 name: '{project-name}-{stream}-merge-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800579
580 project-type: freestyle
581 node: '{build-node}'
Gary Wu6c702772018-08-06 18:48:02 -0700582 pattern: '**'
583 pom:
584 mvn_properties: []
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800585
586 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700587 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800588 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800589
590 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700591 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800592 project: '{project}'
593 branch: '{branch}'
594 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -0800595 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800596 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800597 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800598
599 scm:
600 - gerrit-trigger-scm:
601 refspec: ''
602 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500603 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800604
605 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700606 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800607 build-timeout: '{build-timeout}'
608
609 triggers:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800610 - gerrit-trigger-patch-merged:
611 server: '{server-name}'
612 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800613 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800614 files: '{pattern}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800615
616 builders:
617 - provide-maven-settings:
618 global-settings-file: 'global-settings'
619 settings-file: '{mvn-settings}'
620 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800621 maven-version: '{maven-version}'
Gary Wu6c702772018-08-06 18:48:02 -0700622 pom: '{obj:pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400623 goals: 'clean deploy -B
624 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800625 settings: '{mvn-settings}'
626 settings-type: cfp
627 global-settings: 'global-settings'
628 global-settings-type: cfp
Gary Wu6c702772018-08-06 18:48:02 -0700629 properties: '{obj:mvn_properties}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800630
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700631 publishers:
632 - infra-shiplogs:
633 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +0100634
635- job-template:
Gary Wu6c702772018-08-06 18:48:02 -0700636 # Job template for Java merge jobs based on
637 # '{project-name}-{stream}-merge-java'
638 # The purpose of this job template is to run:
639 # 1. maven clean deploy
640 #
641 # This project supports maven properties.
642 #
643 # Required Variables:
644 # branch: git branch (eg. stable/lithium or master)
645 # maven-properties: properties passed to maven
646
647 <<: *merge_java_defaults
648 name: '{project-name}-{stream}-merge-properties-java'
649
650- job-template:
651 # Job template for Java merge jobs that takes a maven template
652 #
653 # The purpose of this job template is to run:
654 # 1. maven clean deploy -P {mvn-profile}
655 #
656 # Required Variables:
657 # branch: git branch (eg. stable/lithium or master)
658
659 <<: *merge_java_defaults
660 name: '{project-name}-{stream}-merge-profile-java'
661
662 builders:
663 - provide-maven-settings:
664 global-settings-file: 'global-settings'
665 settings-file: '{mvn-settings}'
666
667 - docker-login
668
669 - maven-target:
670 maven-version: '{maven-version}'
671 goals: 'clean deploy -P {mvn-profile} -B
672 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
673 settings: '{mvn-settings}'
674 settings-type: cfp
675 global-settings: 'global-settings'
676 global-settings-type: cfp
677 properties:
678 - docker.pull.registry=nexus3.onap.org:10001
679 - docker.push.registry=nexus3.onap.org:10003
680
681- job-template:
682 # Job template for Java merge jobs with POM not at the root
683 #
684 # The purpose of this job template is to run:
685 # 1. maven clean deploy
686 #
687 # This job supports subprojects.
688 #
689 # Required Variables:
690 # branch: git branch (eg. stable/lithium or master)
691 # pom: name/location of the pom.xml file relative to the workspace
692 # pattern: ant file-path pattern relative to the workspace used to
693 # trigger the job
694
695 <<: *merge_java_defaults
696 name: '{project-name}-{stream}-{subproject}-merge-java'
697
698- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800699 # Job template for Docker daily jobs
700 #
701 # The purpose of this job template is to run:
702 # 1. login to the docker registry
703 # 2. docker push
704 #
705 # Required Variables:
706 # branch: git branch (eg. stable/lithium or master)
707
Anaël Clossonabbafb52017-02-09 17:55:10 +0100708 name: '{project-name}-{stream}-docker-java-daily'
Gary Wu9e9210f2018-07-18 16:19:20 -0700709 id: '{project-name}-{stream}-docker-java-daily'
Anaël Clossonabbafb52017-02-09 17:55:10 +0100710 project-type: freestyle
Andrew Grimberg2137b1d2017-02-15 07:24:53 -0800711 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -0700712 disabled: '{disabled}'
Anaël Clossonabbafb52017-02-09 17:55:10 +0100713 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700714 - infra-properties:
Anaël Clossonabbafb52017-02-09 17:55:10 +0100715 build-days-to-keep: '{build-days-to-keep}'
716
717 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700718 - infra-parameters:
Anaël Clossonabbafb52017-02-09 17:55:10 +0100719 project: '{project}'
720 branch: '{branch}'
721 refspec: 'refs/heads/{branch}'
722 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800723 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800724 maven-version: '{maven-version}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -0700725 - maven-params:
726 mvn-params: '{mvn-params}'
Anaël Clossonabbafb52017-02-09 17:55:10 +0100727
728 scm:
729 - gerrit-trigger-scm:
730 refspec: ''
731 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500732 submodule-recursive: '{submodule-recursive}'
Anaël Clossonabbafb52017-02-09 17:55:10 +0100733
Anaël Clossonabbafb52017-02-09 17:55:10 +0100734 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700735 - infra-wrappers:
Anaël Clossonabbafb52017-02-09 17:55:10 +0100736 build-timeout: '{build-timeout}'
737
738 triggers:
JulienBe0d8c2c32017-02-16 11:50:48 -0800739 # 12 AM UTC
Anaël Clossonabbafb52017-02-09 17:55:10 +0100740 - timed: 'H 12 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -0800741 - gerrit-trigger-release-manually:
742 server: '{server-name}'
743 project: '{project}'
744 branch: '{branch}'
Anaël Clossonabbafb52017-02-09 17:55:10 +0100745
746 builders:
Anaël Closson63e090e2017-02-15 14:50:45 +0100747
Anaël Clossonabbafb52017-02-09 17:55:10 +0100748 - provide-maven-settings:
749 global-settings-file: 'global-settings'
750 settings-file: '{mvn-settings}'
Anaël Closson7313fea2017-02-14 15:56:21 +0100751
Anaël Closson63e090e2017-02-15 14:50:45 +0100752 - docker-login
753
Anaël Clossonabbafb52017-02-09 17:55:10 +0100754 - maven-docker-push-daily:
Andrew Grimberge2465882017-02-24 12:38:05 -0800755 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +0100756 mvn-settings: '{mvn-settings}'
757 pom: '{docker-pom}'
Anaël Closson30a5c772017-02-16 15:02:56 +0100758 # use default as mvn-profile if profile is not needed
759 mvn-profile: '{mvn-profile}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -0700760 mvn-params: '{mvn-params}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -0500761
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700762 publishers:
763 - infra-shiplogs:
764 maven-version: '{maven-version}'
765
Pamela Dragoshaccf6452017-02-17 08:09:31 -0500766- job-template:
Gary Wu9e9210f2018-07-18 16:19:20 -0700767 # Job template for Docker daily jobs
768 #
769 # The purpose of this job template is to run:
770 # 1. login to the docker registry
771 # 2. docker push
772 #
773 # Required Variables:
774 # branch: git branch (eg. stable/lithium or master)
775
776 name: '{project-name}-{stream}-docker-java-daily'
777 id: docker-java-daily
778 project-type: freestyle
779 node: '{build-node}'
780 disabled: '{disabled}'
781 properties:
782 - infra-properties:
783 build-days-to-keep: '{build-days-to-keep}'
784
785 parameters:
786 - infra-parameters:
787 project: '{project}'
788 branch: '{branch}'
789 refspec: 'refs/heads/{branch}'
790 artifacts: '{archive-artifacts}'
791 - maven-exec:
792 maven-version: '{maven-version}'
793 - maven-params:
794 mvn-params: '{mvn-params}'
795
796 scm:
797 - gerrit-trigger-scm:
798 refspec: ''
799 choosing-strategy: 'default'
800 submodule-recursive: '{submodule-recursive}'
801
802 wrappers:
803 - infra-wrappers-docker-build:
804 build-timeout: '{build-timeout}'
805
806 triggers:
807 # 12 AM UTC
808 - timed: 'H 12 * * *'
809 - gerrit-trigger-release-manually:
810 server: '{server-name}'
811 project: '{project}'
812 branch: '{branch}'
813
814 builders:
815
816 - provide-maven-settings:
817 global-settings-file: 'global-settings'
818 settings-file: '{mvn-settings}'
819
820 - docker-login
821
822 - maven-docker-push-daily:
823 maven-version: '{maven-version}'
824 mvn-settings: '{mvn-settings}'
825 pom: '{docker-pom}'
826 # use default as mvn-profile if profile is not needed
827 mvn-profile: '{mvn-profile}'
828 mvn-params: '{mvn-params}'
829
830 publishers:
831 - infra-shiplogs:
832 maven-version: '{maven-version}'
833
834
835- job-template:
JulienBe91c56ec2017-06-21 23:37:39 +0200836 # Job template for building & pushing docker images
837 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800838 # The purpose of this job template is to run:
JulienBe91c56ec2017-06-21 23:37:39 +0200839 # 1. login to the docker registry
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800840 # 2. maven clean deploy on the specified profile
841 #
842 # This job uses a conditional regex match step to set versions.
843 # This template supports maven properties.
JulienBe91c56ec2017-06-21 23:37:39 +0200844 #
845 # Required Variables:
846 # pom: name/location of the pom.xml file relative to the workspace
847 # profile: the docker profile defined in the pom
848 # maven-properties: properties passed to maven
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800849
JulienBe91c56ec2017-06-21 23:37:39 +0200850 name: '{project-name}-{stream}-docker-java-properties-daily'
851 project-type: freestyle
852 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -0700853 disabled: '{disabled}'
JulienBe91c56ec2017-06-21 23:37:39 +0200854 properties:
855 - infra-properties:
856 build-days-to-keep: '{build-days-to-keep}'
857 parameters:
858 - infra-parameters:
859 project: '{project}'
860 branch: '{branch}'
861 refspec: 'refs/heads/{branch}'
862 artifacts: '{archive-artifacts}'
863 - maven-exec:
864 maven-version: '{maven-version}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -0700865 - maven-params:
866 mvn-params: '{mvn-params}'
JulienBe91c56ec2017-06-21 23:37:39 +0200867 scm:
868 - gerrit-trigger-scm:
869 refspec: ''
870 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500871 submodule-recursive: '{submodule-recursive}'
JulienBe91c56ec2017-06-21 23:37:39 +0200872 wrappers:
873 - infra-wrappers:
874 build-timeout: '{build-timeout}'
875 triggers:
876 # 12 AM UTC
877 - timed: 'H 12 * * *'
878 - gerrit-trigger-release-manually:
879 server: '{server-name}'
880 project: '{project}'
881 branch: '{branch}'
882 builders:
883 - provide-maven-settings:
884 global-settings-file: 'global-settings'
885 settings-file: '{mvn-settings}'
JulienBecda17972017-10-17 13:46:51 +0200886 - conditional-step:
887 condition-kind: regex-match
888 regex: DoSetVersion
889 label: '{setVersion}'
890 steps:
891 - inject:
892 properties-file: version.properties
893 - maven-target:
894 maven-version: '{maven-version}'
895 goals: 'versions:set versions:update-child-modules versions:commit -B'
896 properties:
897 - 'newVersion=${{release_version}}'
898 settings: '{mvn-settings}'
899 settings-type: cfp
900 global-settings: 'global-settings'
901 global-settings-type: cfp
JulienBe91c56ec2017-06-21 23:37:39 +0200902 - docker-login
903 - maven-docker-push-daily:
904 maven-version: '{maven-version}'
905 mvn-settings: '{mvn-settings}'
906 pom: '{docker-pom}'
907 properties: '{maven-properties}'
908 # use default as mvn-profile if profile is not needed
909 mvn-profile: '{mvn-profile}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -0700910 mvn-params: '{mvn-params}'
JulienBe91c56ec2017-06-21 23:37:39 +0200911 publishers:
912 - infra-shiplogs:
913 maven-version: '{maven-version}'
914
915- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800916 # Job template for building & pushing docker images
917 #
918 # The purpose of this job template is to run:
919 # 1. login to the docker registry
920 # 2. run a specified shell builder
921 #
922 # Required Variables:
923 # pom: name/location of the pom.xml file relative to the workspace
924 # maven-properties: properties passed to maven
925
Pamela Dragoshaccf6452017-02-17 08:09:31 -0500926 name: '{project-name}-{stream}-docker-java-shell-daily'
927 project-type: freestyle
Jessica Wagantallfe5efea2018-08-07 16:02:39 -0700928 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -0700929 disabled: '{disabled}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -0500930 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700931 - infra-properties:
Pamela Dragoshaccf6452017-02-17 08:09:31 -0500932 build-days-to-keep: '{build-days-to-keep}'
933
934 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700935 - infra-parameters:
Pamela Dragoshaccf6452017-02-17 08:09:31 -0500936 project: '{project}'
937 branch: '{branch}'
938 refspec: 'refs/heads/{branch}'
939 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800940 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800941 maven-version: '{maven-version}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -0500942
943 scm:
944 - gerrit-trigger-scm:
945 refspec: ''
946 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500947 submodule-recursive: '{submodule-recursive}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -0500948
949 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700950 - infra-wrappers:
Pamela Dragoshaccf6452017-02-17 08:09:31 -0500951 build-timeout: '{build-timeout}'
952
953 triggers:
954 # 12 AM UTC
955 - timed: 'H 12 * * *'
956 - gerrit-trigger-release-manually:
957 server: '{server-name}'
958 project: '{project}'
959 branch: '{branch}'
960
961 builders:
962
963 - provide-maven-settings:
964 global-settings-file: 'global-settings'
965 settings-file: '{mvn-settings}'
966
967 - docker-login
968
Pamela Dragosh366fbc32017-02-19 20:09:09 -0500969 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800970 maven-version: '{maven-version}'
Pamela Dragosh366fbc32017-02-19 20:09:09 -0500971 goals: '{mvn-goals}'
972 settings: '{mvn-settings}'
973 settings-type: cfp
974 global-settings: 'global-settings'
975 global-settings-type: cfp
Pamela Dragoshaccf6452017-02-17 08:09:31 -0500976
977 - shell: '{script}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +0000978
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700979 publishers:
980 - infra-shiplogs:
981 maven-version: '{maven-version}'
982
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +0000983- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800984 # Job template for building & pushing docker images
985 #
986 # The purpose of this job template is to run:
987 # 1. login to the docker registry
Jessica Wagantall35b36e42018-08-07 16:10:25 -0700988 # 2. run a specified shell builder
989 #
990 # Required Variables:
991 # pom: name/location of the pom.xml file relative to the workspace
992 # maven-properties: properties passed to maven
993
994 name: '{project-name}-{stream}-{subproject}-docker-java-shell-daily'
995 project-type: freestyle
996 node: '{build-node}'
997 disabled: '{disabled}'
998 properties:
999 - infra-properties:
1000 build-days-to-keep: '{build-days-to-keep}'
1001
1002 parameters:
1003 - infra-parameters:
1004 project: '{project}'
1005 branch: '{branch}'
1006 refspec: 'refs/heads/{branch}'
1007 artifacts: '{archive-artifacts}'
1008 - maven-exec:
1009 maven-version: '{maven-version}'
1010
1011 scm:
1012 - gerrit-trigger-scm:
1013 refspec: ''
1014 choosing-strategy: 'default'
1015 submodule-recursive: '{submodule-recursive}'
1016
1017 wrappers:
1018 - infra-wrappers:
1019 build-timeout: '{build-timeout}'
1020
1021 triggers:
1022 # 12 AM UTC
1023 - timed: 'H 12 * * *'
1024 - gerrit-trigger-release-manually:
1025 server: '{server-name}'
1026 project: '{project}'
1027 branch: '{branch}'
1028
1029 builders:
1030
1031 - provide-maven-settings:
1032 global-settings-file: 'global-settings'
1033 settings-file: '{mvn-settings}'
1034
1035 - docker-login
1036
1037 - maven-target:
1038 maven-version: '{maven-version}'
1039 pom: '{pom}'
1040 goals: '{mvn-goals}'
1041 settings: '{mvn-settings}'
1042 settings-type: cfp
1043 global-settings: 'global-settings'
1044 global-settings-type: cfp
1045
1046 - shell: '{script}'
1047
1048 publishers:
1049 - infra-shiplogs:
1050 maven-version: '{maven-version}'
1051
1052- job-template:
1053 # Job template for building & pushing docker images
1054 #
1055 # The purpose of this job template is to run:
1056 # 1. login to the docker registry
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001057 # 2. inject a version.properties file and set versions
1058 # 3. run a specified shell builder
1059 #
1060 # Required Variables:
1061 # pom: name/location of the pom.xml file relative to the workspace
1062 # maven-properties: properties passed to maven
1063
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001064 name: '{project-name}-{stream}-docker-java-version-shell-daily'
1065 project-type: freestyle
1066 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001067 disabled: '{disabled}'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001068 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001069 - infra-properties:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001070 build-days-to-keep: '{build-days-to-keep}'
1071
1072 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001073 - infra-parameters:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001074 project: '{project}'
1075 branch: '{branch}'
1076 refspec: 'refs/heads/{branch}'
1077 artifacts: '{archive-artifacts}'
1078 - maven-exec:
1079 maven-version: '{maven-version}'
1080
1081 scm:
1082 - gerrit-trigger-scm:
1083 refspec: ''
1084 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001085 submodule-recursive: '{submodule-recursive}'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001086
1087 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001088 - infra-wrappers:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001089 build-timeout: '{build-timeout}'
1090
1091 triggers:
1092 # 12 AM UTC
1093 - timed: 'H 12 * * *'
1094 - gerrit-trigger-release-manually:
1095 server: '{server-name}'
1096 project: '{project}'
1097 branch: '{branch}'
1098
1099 builders:
1100
1101 - provide-maven-settings:
1102 global-settings-file: 'global-settings'
1103 settings-file: '{mvn-settings}'
1104
1105 - inject:
1106 properties-file: version.properties
1107
1108 - maven-target:
1109 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001110 goals: 'versions:set versions:update-child-modules versions:commit -B'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001111 properties:
1112 - 'newVersion=${{release_version}}'
1113 settings: '{mvn-settings}'
1114 settings-type: cfp
1115 global-settings: 'global-settings'
1116 global-settings-type: cfp
1117
1118 - docker-login
1119
1120 - maven-target:
1121 maven-version: '{maven-version}'
1122 goals: '{mvn-goals}'
1123 settings: '{mvn-settings}'
1124 settings-type: cfp
1125 global-settings: 'global-settings'
1126 global-settings-type: cfp
1127
1128 - shell: '{script}'
1129
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001130 publishers:
1131 - infra-shiplogs:
1132 maven-version: '{maven-version}'
1133
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001134- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001135 # Job template for building & pushing docker images
1136 #
1137 # The purpose of this job template is to run:
1138 # 1. login to the docker registry
1139 # 2. inject a version.properties file and set versions
1140 # 3. run a specified shell builder
1141 #
1142 # This template supports subprojects.
1143 #
1144 # Required Variables:
1145 # pom: name/location of the pom.xml file relative to the workspace
1146 # maven-properties: properties passed to maven
1147
Zhaoxing49773042017-10-13 17:14:35 +08001148 name: '{project-name}-{stream}-{subproject}-docker-java-version-shell-daily'
1149 project-type: freestyle
1150 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001151 disabled: '{disabled}'
Zhaoxing49773042017-10-13 17:14:35 +08001152 properties:
1153 - infra-properties:
1154 build-days-to-keep: '{build-days-to-keep}'
1155
1156 parameters:
1157 - infra-parameters:
1158 project: '{project}'
1159 branch: '{branch}'
1160 refspec: 'refs/heads/{branch}'
1161 artifacts: '{archive-artifacts}'
1162 - maven-exec:
1163 maven-version: '{maven-version}'
1164
1165 scm:
1166 - gerrit-trigger-scm:
1167 refspec: ''
1168 choosing-strategy: 'default'
1169 submodule-recursive: '{submodule-recursive}'
1170
1171 wrappers:
1172 - infra-wrappers:
1173 build-timeout: '{build-timeout}'
1174
1175 triggers:
1176 # 12 AM UTC
1177 - timed: 'H 12 * * *'
1178 - gerrit-trigger-release-manually:
1179 server: '{server-name}'
1180 project: '{project}'
1181 branch: '{branch}'
1182
1183 builders:
1184
1185 - provide-maven-settings:
1186 global-settings-file: 'global-settings'
1187 settings-file: '{mvn-settings}'
1188
1189 - inject:
1190 properties-file: version.properties
1191
1192 - maven-target:
1193 maven-version: '{maven-version}'
1194 pom: '{pom}'
1195 goals: 'versions:set versions:update-child-modules versions:commit -B'
1196 properties:
1197 - 'newVersion=${{release_version}}'
1198 settings: '{mvn-settings}'
1199 settings-type: cfp
1200 global-settings: 'global-settings'
1201 global-settings-type: cfp
1202
1203 - docker-login
1204
1205 - maven-target:
1206 maven-version: '{maven-version}'
1207 pom: '{pom}'
1208 goals: '{mvn-goals}'
1209 settings: '{mvn-settings}'
1210 settings-type: cfp
1211 global-settings: 'global-settings'
1212 global-settings-type: cfp
1213
1214 - shell: '{script}'
1215
1216 publishers:
1217 - infra-shiplogs:
1218 maven-version: '{maven-version}'
1219
1220- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001221 # Job template for building & pushing docker images
1222 #
1223 # The purpose of this job template is to run:
1224 # 1. login to the docker registry
1225 # 2. inject a version.properties file and set versions
1226 # 3. run a docker push
1227 #
1228 # Required Variables:
1229 # pom: name/location of the pom.xml file relative to the workspace
1230 # profile: the docker profile defined in the pom
1231 # maven-properties: properties passed to maven
1232
Patrick Brady39f388a2017-03-09 11:26:59 -08001233 name: '{project-name}-{stream}-docker-version-java-daily'
Gary Wu9e9210f2018-07-18 16:19:20 -07001234 id: '{project-name}-{stream}-docker-version-java-daily'
Patrick Brady39f388a2017-03-09 11:26:59 -08001235 project-type: freestyle
1236 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001237 disabled: '{disabled}'
Patrick Brady39f388a2017-03-09 11:26:59 -08001238 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001239 - infra-properties:
Patrick Brady39f388a2017-03-09 11:26:59 -08001240 build-days-to-keep: '{build-days-to-keep}'
1241
1242 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001243 - infra-parameters:
Patrick Brady39f388a2017-03-09 11:26:59 -08001244 project: '{project}'
1245 branch: '{branch}'
1246 refspec: 'refs/heads/{branch}'
1247 artifacts: '{archive-artifacts}'
1248 - maven-exec:
1249 maven-version: '{maven-version}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -07001250 - maven-params:
1251 mvn-params: '{mvn-params}'
Patrick Brady39f388a2017-03-09 11:26:59 -08001252
1253 scm:
1254 - gerrit-trigger-scm:
1255 refspec: ''
1256 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001257 submodule-recursive: '{submodule-recursive}'
Patrick Brady39f388a2017-03-09 11:26:59 -08001258
1259 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001260 - infra-wrappers:
Patrick Brady39f388a2017-03-09 11:26:59 -08001261 build-timeout: '{build-timeout}'
1262
1263 triggers:
1264 # 12 AM UTC
1265 - timed: 'H 12 * * *'
1266 - gerrit-trigger-release-manually:
1267 server: '{server-name}'
1268 project: '{project}'
1269 branch: '{branch}'
1270
1271 builders:
1272
1273 - provide-maven-settings:
1274 global-settings-file: 'global-settings'
1275 settings-file: '{mvn-settings}'
1276
1277 - inject:
1278 properties-file: version.properties
1279
1280 - maven-target:
1281 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001282 goals: 'versions:set versions:update-child-modules versions:commit -B'
Patrick Brady39f388a2017-03-09 11:26:59 -08001283 properties:
1284 - 'newVersion=${{release_version}}'
1285 settings: '{mvn-settings}'
1286 settings-type: cfp
1287 global-settings: 'global-settings'
1288 global-settings-type: cfp
1289
1290 - docker-login
1291
1292 - maven-docker-push-daily:
1293 maven-version: '{maven-version}'
1294 mvn-settings: '{mvn-settings}'
1295 pom: '{docker-pom}'
1296 # use default as mvn-profile if profile is not needed
1297 mvn-profile: '{mvn-profile}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -07001298 mvn-params: '{mvn-params}'
Patrick Brady39f388a2017-03-09 11:26:59 -08001299
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001300 publishers:
1301 - infra-shiplogs:
1302 maven-version: '{maven-version}'
1303
Patrick Brady39f388a2017-03-09 11:26:59 -08001304- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001305 # Job template for building & pushing docker images
1306 #
1307 # The purpose of this job template is to run:
Gary Wu9e9210f2018-07-18 16:19:20 -07001308 # 1. login to the docker registry
1309 # 2. inject a version.properties file and set versions
1310 # 3. run a docker push
1311 #
1312 # Required Variables:
1313 # pom: name/location of the pom.xml file relative to the workspace
1314 # profile: the docker profile defined in the pom
1315 # maven-properties: properties passed to maven
1316
1317 name: '{project-name}-{stream}-docker-version-java-daily'
1318 id: 'docker-version-java-daily'
1319 project-type: freestyle
1320 node: '{build-node}'
1321 disabled: '{disabled}'
1322 properties:
1323 - infra-properties:
1324 build-days-to-keep: '{build-days-to-keep}'
1325
1326 parameters:
1327 - infra-parameters:
1328 project: '{project}'
1329 branch: '{branch}'
1330 refspec: 'refs/heads/{branch}'
1331 artifacts: '{archive-artifacts}'
1332 - maven-exec:
1333 maven-version: '{maven-version}'
1334 - maven-params:
1335 mvn-params: '{mvn-params}'
1336
1337 scm:
1338 - gerrit-trigger-scm:
1339 refspec: ''
1340 choosing-strategy: 'default'
1341 submodule-recursive: '{submodule-recursive}'
1342
1343 wrappers:
1344 - infra-wrappers-docker-build:
1345 build-timeout: '{build-timeout}'
1346
1347 triggers:
1348 # 12 AM UTC
1349 - timed: 'H 12 * * *'
1350 - gerrit-trigger-release-manually:
1351 server: '{server-name}'
1352 project: '{project}'
1353 branch: '{branch}'
1354
1355 builders:
1356
1357 - provide-maven-settings:
1358 global-settings-file: 'global-settings'
1359 settings-file: '{mvn-settings}'
1360
1361 - inject:
1362 properties-file: version.properties
1363
1364 - maven-target:
1365 maven-version: '{maven-version}'
1366 goals: 'versions:set versions:update-child-modules versions:commit -B'
1367 properties:
1368 - 'newVersion=${{release_version}}'
1369 settings: '{mvn-settings}'
1370 settings-type: cfp
1371 global-settings: 'global-settings'
1372 global-settings-type: cfp
1373
1374 - docker-login
1375
1376 - maven-docker-push-daily:
1377 maven-version: '{maven-version}'
1378 mvn-settings: '{mvn-settings}'
1379 pom: '{docker-pom}'
1380 # use default as mvn-profile if profile is not needed
1381 mvn-profile: '{mvn-profile}'
1382 mvn-params: '{mvn-params}'
1383
1384 publishers:
1385 - infra-shiplogs:
1386 maven-version: '{maven-version}'
1387
1388- job-template:
1389 # Job template for building & pushing docker images
1390 #
1391 # The purpose of this job template is to run:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001392 # 1. inject a version.properties file and set versions
1393 # 2. login to the docker registry
1394 # 3. run a docker push
1395 #
1396 # This job supports subprojects.
1397 #
1398 # Required Variables:
1399 # pom: name/location of the pom.xml file relative to the workspace
1400 # maven-properties: properties passed to maven
1401
Zhaoxing49773042017-10-13 17:14:35 +08001402 name: '{project-name}-{stream}-{subproject}-docker-version-java-daily'
1403 project-type: freestyle
1404 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001405 disabled: '{disabled}'
Zhaoxing49773042017-10-13 17:14:35 +08001406 properties:
1407 - infra-properties:
1408 build-days-to-keep: '{build-days-to-keep}'
1409
1410 parameters:
1411 - infra-parameters:
1412 project: '{project}'
1413 branch: '{branch}'
1414 refspec: 'refs/heads/{branch}'
1415 artifacts: '{archive-artifacts}'
1416 - maven-exec:
1417 maven-version: '{maven-version}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -07001418 - maven-params:
1419 mvn-params: '{mvn-params}'
Zhaoxing49773042017-10-13 17:14:35 +08001420
1421 scm:
1422 - gerrit-trigger-scm:
1423 refspec: ''
1424 choosing-strategy: 'default'
1425 submodule-recursive: '{submodule-recursive}'
1426
1427 wrappers:
1428 - infra-wrappers:
1429 build-timeout: '{build-timeout}'
1430
1431 triggers:
1432 # 12 AM UTC
1433 - timed: 'H 12 * * *'
1434 - gerrit-trigger-release-manually:
1435 server: '{server-name}'
1436 project: '{project}'
1437 branch: '{branch}'
1438
1439 builders:
1440
1441 - provide-maven-settings:
1442 global-settings-file: 'global-settings'
1443 settings-file: '{mvn-settings}'
1444
1445 - inject:
1446 properties-file: version.properties
1447
1448 - maven-target:
1449 maven-version: '{maven-version}'
1450 pom: '{pom}'
1451 goals: 'versions:set versions:update-child-modules versions:commit -B'
1452 properties:
1453 - 'newVersion=${{release_version}}'
1454 settings: '{mvn-settings}'
1455 settings-type: cfp
1456 global-settings: 'global-settings'
1457 global-settings-type: cfp
1458
1459 - docker-login
1460
1461 - maven-docker-push-daily:
1462 maven-version: '{maven-version}'
Zhaoxing49773042017-10-13 17:14:35 +08001463 mvn-settings: '{mvn-settings}'
1464 pom: '{docker-pom}'
1465 # use default as mvn-profile if profile is not needed
1466 mvn-profile: '{mvn-profile}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -07001467 mvn-params: '{mvn-params}'
Zhaoxing49773042017-10-13 17:14:35 +08001468
1469 publishers:
1470 - infra-shiplogs:
1471 maven-version: '{maven-version}'
1472
1473- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001474 # Job template for building & pushing docker images for AAI specific repos
1475 #
1476 # The purpose of this job template is to run:
1477 # 1. login to the docker registry
1478 # 2. run maven goals
1479 # 3. run include-docker-push.sh
1480 #
1481 # Required Variables:
1482 # pom: name/location of the pom.xml file relative to the workspace
1483 # maven-properties: properties passed to maven
1484
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001485 name: '{project-name}-{stream}-aai-docker-java-daily'
1486 project-type: freestyle
1487 node: 'ubuntu1604-docker-8c-8g'
Gary Wudc3f2952017-08-23 16:48:59 -07001488 docker-image-name: ''
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001489 disabled: '{disabled}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001490 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001491 - infra-properties:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001492 build-days-to-keep: '{build-days-to-keep}'
1493
1494 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001495 - infra-parameters:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001496 project: '{project}'
1497 branch: '{branch}'
1498 refspec: 'refs/heads/{branch}'
1499 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001500 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001501 maven-version: '{maven-version}'
Gary Wudc3f2952017-08-23 16:48:59 -07001502 - docker-image-name:
1503 docker-image-name: '{docker-image-name}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001504
1505 scm:
1506 - gerrit-trigger-scm:
1507 refspec: ''
1508 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001509 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001510
1511 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001512 - infra-wrappers:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001513 build-timeout: '{build-timeout}'
1514
1515 triggers:
1516 # 12 AM UTC
1517 - timed: 'H 12 * * *'
1518 - gerrit-trigger-release-manually:
1519 server: '{server-name}'
1520 project: '{project}'
1521 branch: '{branch}'
1522
1523 builders:
1524
1525 - provide-maven-settings:
1526 global-settings-file: 'global-settings'
1527 settings-file: '{mvn-settings}'
1528
1529 - docker-login
1530
1531 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001532 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001533 pom: 'pom.xml'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001534 goals: 'clean install -DskipTests -B
1535 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001536 settings: '{mvn-settings}'
1537 settings-type: cfp
1538 global-settings: 'global-settings'
1539 global-settings-type: cfp
1540
1541 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001542 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001543 pom: '{pom}'
1544 goals: '{mvn-goals}'
1545 settings: '{mvn-settings}'
1546 settings-type: cfp
1547 global-settings: 'global-settings'
1548 global-settings-type: cfp
1549 properties:
1550 - maven.test.skip=true
Jeremy Phelps48028ab2017-03-28 15:38:24 -05001551 - docker.pull.registry=nexus3.onap.org:10001
1552 - docker.push.registry=nexus3.onap.org:10003
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001553
Venkata Harish K Kajurbf07d0a2017-03-26 11:58:15 +00001554 - shell: !include-raw-escape: include-docker-push.sh
Carsten Lund2d06a692017-02-23 18:23:07 +00001555
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001556 publishers:
1557 - infra-shiplogs:
1558 maven-version: '{maven-version}'
1559
Carsten Lund2d06a692017-02-23 18:23:07 +00001560- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001561 # Job template for building & pushing docker images for AAI specific repos
1562 #
1563 # The purpose of this job template is to run:
1564 # 1. login to the docker registry
1565 # 2. run maven goals
1566 # 3. run include-docker-push.sh
1567 #
1568 # This job supports subprojects
1569 #
1570 # Required Variables:
1571 # pom: name/location of the pom.xml file relative to the workspace
1572 # maven-properties: properties passed to maven
1573
Jessica Wagantallfec94482017-09-19 11:49:15 -07001574 name: '{project-name}-{stream}-{subproject}-aai-docker-java-daily'
1575 project-type: freestyle
1576 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001577 disabled: '{disabled}'
Jessica Wagantallfec94482017-09-19 11:49:15 -07001578 docker-image-name: ''
1579
1580 properties:
1581 - infra-properties:
1582 build-days-to-keep: '{build-days-to-keep}'
1583
1584 parameters:
1585 - infra-parameters:
1586 project: '{project}'
1587 branch: '{branch}'
1588 refspec: 'refs/heads/{branch}'
1589 artifacts: '{archive-artifacts}'
1590 - maven-exec:
1591 maven-version: '{maven-version}'
1592 - docker-image-name:
1593 docker-image-name: '{docker-image-name}'
1594
1595 scm:
1596 - gerrit-trigger-scm:
1597 refspec: ''
1598 choosing-strategy: 'default'
1599 submodule-recursive: '{submodule-recursive}'
1600
1601 wrappers:
1602 - infra-wrappers:
1603 build-timeout: '{build-timeout}'
1604
1605 triggers:
1606 # 12 AM UTC
1607 - timed: 'H 12 * * *'
1608 - gerrit-trigger-release-manually:
1609 server: '{server-name}'
1610 project: '{project}'
1611 branch: '{branch}'
1612
1613 builders:
1614
1615 - provide-maven-settings:
1616 global-settings-file: 'global-settings'
1617 settings-file: '{mvn-settings}'
1618
1619 - docker-login
1620
1621 - maven-target:
1622 maven-version: '{maven-version}'
1623 pom: 'pom.xml'
1624 goals: 'clean install -DskipTests -B
1625 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
1626 settings: '{mvn-settings}'
1627 settings-type: cfp
1628 global-settings: 'global-settings'
1629 global-settings-type: cfp
1630
1631 - maven-target:
1632 maven-version: '{maven-version}'
1633 pom: '{pom}'
1634 goals: '{mvn-goals}'
1635 settings: '{mvn-settings}'
1636 settings-type: cfp
1637 global-settings: 'global-settings'
1638 global-settings-type: cfp
1639 properties:
1640 - maven.test.skip=true
1641 - docker.pull.registry=nexus3.onap.org:10001
1642 - docker.push.registry=nexus3.onap.org:10003
1643
1644 - shell: !include-raw-escape: include-docker-push.sh
1645
1646 publishers:
1647 - infra-shiplogs:
1648 maven-version: '{maven-version}'
1649
1650- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001651 # Job template for Java merge jobs for SDC specific repos
ig61339fdb9d22017-04-03 17:47:19 +03001652 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001653 # The purpose of this job template is to run:
1654 # 1. maven clean deploy
ig61339fdb9d22017-04-03 17:47:19 +03001655 #
1656 # Required Variables:
1657 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001658
Gary Wu6c702772018-08-06 18:48:02 -07001659 <<: *merge_java_defaults
ig61339fdb9d22017-04-03 17:47:19 +03001660 name: '{project-name}-{stream}-sdc-merge-java'
1661
ig6133cb3f8232017-04-05 14:22:42 +03001662 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall9a89de42018-04-18 11:35:17 -07001663 build-timeout: 120
ig61339fdb9d22017-04-03 17:47:19 +03001664
ig61339fdb9d22017-04-03 17:47:19 +03001665 builders:
1666 - provide-maven-settings:
1667 global-settings-file: 'global-settings'
1668 settings-file: '{mvn-settings}'
ig61339fdb9d22017-04-03 17:47:19 +03001669
1670 - docker-login
1671
Gary Wu6c702772018-08-06 18:48:02 -07001672 - maven-docker-push-daily:
ig61339fdb9d22017-04-03 17:47:19 +03001673 maven-version: '{maven-version}'
ig6133cb3f8232017-04-05 14:22:42 +03001674 mvn-settings: '{mvn-settings}'
1675 pom: '{docker-pom}'
1676 # use default as mvn-profile if profile is not needed
1677 mvn-profile: '{mvn-profile}'
Gary Wu6c702772018-08-06 18:48:02 -07001678 mvn-params: ''
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04001679
1680- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001681 # Job template for building & pushing docker images for AAI specific repos
1682 #
1683 # The purpose of this job template is to run:
1684 # 1. login to the docker registry
1685 # 2. run maven clean install goals skipping tests
1686 # 3. run maven goals
1687 #
1688 # Required Variables:
1689 # pom: name/location of the pom.xml file relative to the workspace
1690 # maven-properties: properties passed to maven
1691
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04001692 name: '{project-name}-{stream}-aai-docker-java-version-daily'
1693 project-type: freestyle
1694 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001695 disabled: '{disabled}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04001696 properties:
1697 - infra-properties:
1698 build-days-to-keep: '{build-days-to-keep}'
1699
1700 parameters:
1701 - infra-parameters:
1702 project: '{project}'
1703 branch: '{branch}'
1704 refspec: 'refs/heads/{branch}'
1705 artifacts: '{archive-artifacts}'
1706 - maven-exec:
1707 maven-version: '{maven-version}'
1708
1709 scm:
1710 - gerrit-trigger-scm:
1711 refspec: ''
1712 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001713 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04001714
1715 wrappers:
1716 - infra-wrappers:
1717 build-timeout: '{build-timeout}'
1718
1719 triggers:
1720 # 12 AM UTC
1721 - timed: 'H 12 * * *'
1722 - gerrit-trigger-release-manually:
1723 server: '{server-name}'
1724 project: '{project}'
1725 branch: '{branch}'
1726
1727 builders:
1728
1729 - provide-maven-settings:
1730 global-settings-file: 'global-settings'
1731 settings-file: '{mvn-settings}'
1732
1733 - docker-login
1734
1735 - maven-target:
1736 maven-version: '{maven-version}'
1737 pom: 'pom.xml'
1738 goals: 'clean install -DskipTests -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
1739 settings: '{mvn-settings}'
1740 settings-type: cfp
1741 global-settings: 'global-settings'
1742 global-settings-type: cfp
1743
1744 - maven-target:
1745 maven-version: '{maven-version}'
1746 pom: '{pom}'
1747 goals: '{mvn-goals}'
1748 settings: '{mvn-settings}'
1749 settings-type: cfp
1750 global-settings: 'global-settings'
1751 global-settings-type: cfp
1752 properties:
1753 - maven.test.skip=true
1754 - docker.pull.registry=nexus3.onap.org:10001
1755 - docker.push.registry=nexus3.onap.org:10003
1756
1757 publishers:
1758 - infra-shiplogs:
1759 maven-version: '{maven-version}'
1760