blob: 03653d853ebb199afdf189dcb3ef572770a6b68d [file] [log] [blame]
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001---
2- job-template:
3 # 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: '**'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080017
18 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -070019 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -080020 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080021
22 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -070023 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -080024 project: '{project}'
25 branch: '{branch}'
26 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -080027 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -080028 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -080029 maven-version: '{maven-version}'
Jessica Wagantalld25908c2018-03-28 12:06:39 -070030 - maven-params:
31 mvn-params: '{mvn-params}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080032
33 scm:
34 - gerrit-trigger-scm:
35 refspec: '$GERRIT_REFSPEC'
36 choosing-strategy: 'gerrit'
Jeremy Phelps11f5d412017-06-30 13:56:19 -050037 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080038
39 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -070040 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -080041 build-timeout: '{build-timeout}'
42
43 triggers:
44 - gerrit-trigger-patch-submitted:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -080045 server: '{server-name}'
46 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080047 branch: '{branch}'
Gary Wu5918acd2018-08-06 16:42:21 -070048 files: '{obj:pattern}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080049
50 builders:
51 - provide-maven-settings:
52 global-settings-file: 'global-settings'
53 settings-file: '{mvn-settings}'
54 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -080055 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -040056 goals: 'clean install -B
Jessica Wagantalld25908c2018-03-28 12:06:39 -070057 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn {mvn-params}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080058 settings: '{mvn-settings}'
59 settings-type: cfp
60 global-settings: 'global-settings'
61 global-settings-type: cfp
62
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -070063 publishers:
64 - infra-shiplogs:
65 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080066
67- job-template:
JulienBe77903ed2017-07-17 15:30:26 +020068 # Job template for Java verify jobs running checkstyle at the end
69 # When checkstyle will be fully incorporated, it is meant to replace
70 # '{project-name}-{stream}-verify-java-checkstyle'
Jessica Wagantalla0b80c62017-12-21 12:10:19 -080071 #
72 # The purpose of this job template is to run:
73 # 1. maven clean install
74 #
75 # This job publishes checkstyle results.
JulienBe77903ed2017-07-17 15:30:26 +020076 #
77 # Required Variables:
78 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -080079
JulienBe77903ed2017-07-17 15:30:26 +020080 name: '{project-name}-{stream}-verify-java-checkstyle'
81 project-type: freestyle
82 concurrent: true
83 node: '{build-node}'
84 properties:
85 - infra-properties:
86 build-days-to-keep: '{build-days-to-keep}'
87 parameters:
88 - infra-parameters:
89 project: '{project}'
90 branch: '{branch}'
91 refspec: 'refs/heads/{branch}'
92 artifacts: '{archive-artifacts}'
93 - maven-exec:
94 maven-version: '{maven-version}'
ac2550ef92ed92018-04-04 13:39:53 +020095 - maven-params:
96 mvn-params: '{mvn-params}'
JulienBe77903ed2017-07-17 15:30:26 +020097 scm:
98 - gerrit-trigger-scm:
99 refspec: '$GERRIT_REFSPEC'
100 choosing-strategy: 'gerrit'
101 submodule-recursive: '{submodule-recursive}'
102 wrappers:
103 - infra-wrappers:
104 build-timeout: '{build-timeout}'
105 triggers:
106 - gerrit-trigger-patch-submitted:
107 server: '{server-name}'
108 project: '{project}'
109 branch: '{branch}'
110 files: '**'
111 builders:
112 - provide-maven-settings:
113 global-settings-file: 'global-settings'
114 settings-file: '{mvn-settings}'
115 - maven-target:
116 maven-version: '{maven-version}'
117 goals: 'clean install -B
ac2550ef92ed92018-04-04 13:39:53 +0200118 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn {mvn-params}'
JulienBe77903ed2017-07-17 15:30:26 +0200119 settings: '{mvn-settings}'
120 settings-type: cfp
121 global-settings: 'global-settings'
122 global-settings-type: cfp
123 publishers:
124 - infra-shiplogs:
125 maven-version: '{maven-version}'
126 - checkstyle-result
127
128- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800129 # Job template for Java verify jobs with POM not at the root
130 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800131 # The purpose of this job template is to run:
132 # 1. maven clean install
133 #
134 # This job supports subprojects.
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800135 #
136 # Required Variables:
137 # branch: git branch (eg. stable/lithium or master)
138 # pom: name/location of the pom.xml file relative to the workspace
139 # pattern: ant file-path pattern relative to the workspace used to
140 # trigger the job
141
Andrew Grimbergce2286c2017-01-31 05:50:39 -0800142 name: '{project-name}-{stream}-{subproject}-verify-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800143
144 project-type: freestyle
145 concurrent: true
146 node: '{build-node}'
147
148 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700149 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800150 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800151
152 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700153 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800154 project: '{project}'
155 branch: '{branch}'
156 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -0800157 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800158 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800159 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800160
161 scm:
162 - gerrit-trigger-scm:
163 refspec: '$GERRIT_REFSPEC'
164 choosing-strategy: 'gerrit'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500165 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800166
167 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700168 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800169 build-timeout: '{build-timeout}'
170
171 triggers:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800172 - gerrit-trigger-patch-submitted:
173 server: '{server-name}'
174 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800175 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800176 files: '{pattern}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800177
178 builders:
179 - provide-maven-settings:
180 global-settings-file: 'global-settings'
181 settings-file: '{mvn-settings}'
182 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800183 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800184 pom: '{pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400185 goals: 'clean install -B
186 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800187 settings: '{mvn-settings}'
188 settings-type: cfp
189 global-settings: 'global-settings'
190 global-settings-type: cfp
191
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700192 publishers:
193 - infra-shiplogs:
194 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800195
196- job-template:
JulienBe2f4ee072017-02-01 21:42:32 +0100197 # Job template for Java daily release jobs
198 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800199 # The purpose of this job template is to run:
200 # 1. maven clean deploy with Sonar scans
JulienBe2f4ee072017-02-01 21:42:32 +0100201 #
202 # Required Variables:
203 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800204
JulienBe2f4ee072017-02-01 21:42:32 +0100205 name: '{project-name}-{stream}-release-java-daily'
206
207 project-type: freestyle
208 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -0700209 disabled: '{disabled}'
JulienBe2f4ee072017-02-01 21:42:32 +0100210 maven-deploy-properties:
211 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700212 - infra-properties:
JulienBe2f4ee072017-02-01 21:42:32 +0100213 build-days-to-keep: '{build-days-to-keep}'
214
215 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700216 - infra-parameters:
JulienBe2f4ee072017-02-01 21:42:32 +0100217 project: '{project}'
218 branch: '{branch}'
219 refspec: 'refs/heads/{branch}'
220 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800221 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800222 maven-version: '{maven-version}'
JulienBe2f4ee072017-02-01 21:42:32 +0100223
224 scm:
225 - gerrit-trigger-scm:
226 refspec: ''
227 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500228 submodule-recursive: '{submodule-recursive}'
JulienBe2f4ee072017-02-01 21:42:32 +0100229
230 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700231 - infra-wrappers:
JulienBe2f4ee072017-02-01 21:42:32 +0100232 build-timeout: '{build-timeout}'
233
234 triggers:
235 # 11 AM UTC
236 - timed: 'H 11 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -0800237 - gerrit-trigger-release-manually:
238 server: '{server-name}'
239 project: '{project}'
240 branch: '{branch}'
JulienBe2f4ee072017-02-01 21:42:32 +0100241
242 builders:
243 - provide-maven-settings:
244 global-settings-file: 'global-settings'
245 settings-file: '{mvn-settings}'
246
JulienBe5641aa02017-02-17 01:08:38 -0800247 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800248 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800249 goals: 'clean deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -0400250 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBe5641aa02017-02-17 01:08:38 -0800251 properties:
252 - '{maven-deploy-properties}'
Jessica Wagantall6223d1d2017-08-07 14:46:58 -0700253 java-opts:
254 - '-Xmx4096m -XX:MaxPermSize=512m'
JulienBe5641aa02017-02-17 01:08:38 -0800255 settings: '{mvn-settings}'
256 settings-type: cfp
257 global-settings: 'global-settings'
258 global-settings-type: cfp
259
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700260 publishers:
261 - infra-shiplogs:
262 maven-version: '{maven-version}'
263
JulienBe5641aa02017-02-17 01:08:38 -0800264- job-template:
JulienBe77903ed2017-07-17 15:30:26 +0200265 # Job template for Java daily release jobs running checkstyle at the end
266 # When checkstyle will be fully incorporated, it is meant to replace
267 # '{project-name}-{stream}-release-java-daily'
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800268 #
269 # The purpose of this job template is to run:
270 # 1. maven clean deploy with Sonar scans
271 #
272 # This job publishes checkstyle results.
273 # This job uses a conditional regex match step to set versions.
JulienBe77903ed2017-07-17 15:30:26 +0200274 #
275 # Required Variables:
276 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800277
JulienBe77903ed2017-07-17 15:30:26 +0200278 name: '{project-name}-{stream}-release-java-daily-checkstyle'
279 project-type: freestyle
280 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -0700281 disabled: '{disabled}'
JulienBe77903ed2017-07-17 15:30:26 +0200282 maven-deploy-properties:
283 properties:
284 - infra-properties:
285 build-days-to-keep: '{build-days-to-keep}'
286 parameters:
287 - infra-parameters:
288 project: '{project}'
289 branch: '{branch}'
290 refspec: 'refs/heads/{branch}'
291 artifacts: '{archive-artifacts}'
292 - maven-exec:
293 maven-version: '{maven-version}'
294 scm:
295 - gerrit-trigger-scm:
296 refspec: ''
297 choosing-strategy: 'default'
298 submodule-recursive: '{submodule-recursive}'
299 wrappers:
300 - infra-wrappers:
301 build-timeout: '{build-timeout}'
302 triggers:
303 # 11 AM UTC
304 - timed: 'H 11 * * *'
305 - gerrit-trigger-release-manually:
306 server: '{server-name}'
307 project: '{project}'
308 branch: '{branch}'
309 builders:
310 - provide-maven-settings:
311 global-settings-file: 'global-settings'
312 settings-file: '{mvn-settings}'
JulienBed91a33a2017-09-25 15:56:34 +0200313 - conditional-step:
314 condition-kind: regex-match
315 regex: DoSetVersion
316 label: '{setVersion}'
317 steps:
318 - inject:
319 properties-file: version.properties
320 - maven-target:
321 maven-version: '{maven-version}'
322 goals: 'versions:set versions:update-child-modules versions:commit -B'
323 properties:
324 - 'newVersion=${{release_version}}'
325 settings: '{mvn-settings}'
326 settings-type: cfp
327 global-settings: 'global-settings'
328 global-settings-type: cfp
JulienBe77903ed2017-07-17 15:30:26 +0200329 - maven-target:
330 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800331 goals: 'clean deploy -B
JulienBe77903ed2017-07-17 15:30:26 +0200332 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBec9d90e22017-08-08 10:44:10 +0200333 properties: '{obj:mvn_properties}'
JulienBe77903ed2017-07-17 15:30:26 +0200334 settings: '{mvn-settings}'
335 settings-type: cfp
336 global-settings: 'global-settings'
337 global-settings-type: cfp
338 publishers:
339 - infra-shiplogs:
340 maven-version: '{maven-version}'
341 - checkstyle-result-daily
342
343- job-template:
JulienBe5641aa02017-02-17 01:08:38 -0800344 # Job template for Java daily release jobs
345 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800346 # The purpose of this job template is to run:
347 # 1. maven set versions
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800348 # 2. maven clean deploy with Sonar scans
Pamela Dragosh55ceb8f2017-05-23 12:23:16 -0400349 #
350 # Required Variables:
351 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800352
JulienBe5641aa02017-02-17 01:08:38 -0800353 name: '{project-name}-{stream}-release-version-java-daily'
354
355 project-type: freestyle
Jessica Wagantall27a8a392018-03-16 17:22:11 -0700356 disabled: '{disabled}'
JulienBe5641aa02017-02-17 01:08:38 -0800357 node: '{build-node}'
358 maven-deploy-properties:
359 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700360 - infra-properties:
JulienBe5641aa02017-02-17 01:08:38 -0800361 build-days-to-keep: '{build-days-to-keep}'
362
363 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700364 - infra-parameters:
JulienBe5641aa02017-02-17 01:08:38 -0800365 project: '{project}'
366 branch: '{branch}'
367 refspec: 'refs/heads/{branch}'
368 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800369 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800370 maven-version: '{maven-version}'
JulienBe5641aa02017-02-17 01:08:38 -0800371
372 scm:
373 - gerrit-trigger-scm:
374 refspec: ''
375 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500376 submodule-recursive: '{submodule-recursive}'
JulienBe5641aa02017-02-17 01:08:38 -0800377
378 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700379 - infra-wrappers:
JulienBe5641aa02017-02-17 01:08:38 -0800380 build-timeout: '{build-timeout}'
381
382 triggers:
383 # 11 AM UTC
Jessica Wagantall77494942017-10-02 15:12:14 -0700384 - timed: 'H H(10-17) * * *'
JulienBe5641aa02017-02-17 01:08:38 -0800385 - gerrit-trigger-release-manually:
386 server: '{server-name}'
387 project: '{project}'
388 branch: '{branch}'
389
390 builders:
391 - provide-maven-settings:
392 global-settings-file: 'global-settings'
393 settings-file: '{mvn-settings}'
394
JulienBe2f4ee072017-02-01 21:42:32 +0100395 - inject:
396 properties-file: version.properties
397 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800398 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -0400399 goals: 'versions:set versions:update-child-modules versions:commit -B'
JulienBe2f4ee072017-02-01 21:42:32 +0100400 properties:
401 - 'newVersion=${{release_version}}'
402 settings: '{mvn-settings}'
403 settings-type: cfp
404 global-settings: 'global-settings'
405 global-settings-type: cfp
406
407 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800408 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800409 goals: 'clean deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -0400410 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimberg24443ee2017-02-02 08:29:12 -0800411 properties:
412 - '{maven-deploy-properties}'
JulienBe2f4ee072017-02-01 21:42:32 +0100413 settings: '{mvn-settings}'
414 settings-type: cfp
415 global-settings: 'global-settings'
416 global-settings-type: cfp
417
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700418 publishers:
419 - infra-shiplogs:
420 maven-version: '{maven-version}'
421
JulienBe2f4ee072017-02-01 21:42:32 +0100422- job-template:
JulienBe645951d2017-09-28 18:44:18 +0200423 # Job template for Java daily release jobs
424 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800425 # The purpose of this job template is to run:
426 # 1. maven set versions
427 # 2. maven clean deploy -P {mvn-profile} with Sonar scans
JulienBe645951d2017-09-28 18:44:18 +0200428 #
429 # Required Variables:
430 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800431
JulienBe645951d2017-09-28 18:44:18 +0200432 name: '{project-name}-{stream}-release-version-profile-java-daily'
433
434 project-type: freestyle
435 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -0700436 disabled: '{disabled}'
JulienBe645951d2017-09-28 18:44:18 +0200437 maven-deploy-properties:
438 properties:
439 - infra-properties:
440 build-days-to-keep: '{build-days-to-keep}'
441
442 parameters:
443 - infra-parameters:
444 project: '{project}'
445 branch: '{branch}'
446 refspec: 'refs/heads/{branch}'
447 artifacts: '{archive-artifacts}'
448 - maven-exec:
449 maven-version: '{maven-version}'
450
451 scm:
452 - gerrit-trigger-scm:
453 refspec: ''
454 choosing-strategy: 'default'
455 submodule-recursive: '{submodule-recursive}'
456
457 wrappers:
458 - infra-wrappers:
459 build-timeout: '{build-timeout}'
460
461 triggers:
462 # 11 AM UTC
463 - timed: 'H 11 * * *'
464 - gerrit-trigger-release-manually:
465 server: '{server-name}'
466 project: '{project}'
467 branch: '{branch}'
468
469 builders:
470 - provide-maven-settings:
471 global-settings-file: 'global-settings'
472 settings-file: '{mvn-settings}'
473
474 - inject:
475 properties-file: version.properties
476 - maven-target:
477 maven-version: '{maven-version}'
478 goals: 'versions:set versions:update-child-modules versions:commit -B'
479 properties:
480 - 'newVersion=${{release_version}}'
481 settings: '{mvn-settings}'
482 settings-type: cfp
483 global-settings: 'global-settings'
484 global-settings-type: cfp
485
486 - maven-target:
487 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800488 goals: 'clean deploy -P {mvn-profile} -B
JulienBe645951d2017-09-28 18:44:18 +0200489 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
490 properties:
491 - '{maven-deploy-properties}'
492 settings: '{mvn-settings}'
493 settings-type: cfp
494 global-settings: 'global-settings'
495 global-settings-type: cfp
496
497 publishers:
498 - infra-shiplogs:
499 maven-version: '{maven-version}'
500
501
502- job-template:
Carsten Lundda8b6972017-02-15 23:59:25 +0000503 # Job template for Java daily release jobs with POM not at the root
504 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800505 # The purpose of this job template is to run:
506 # 1. maven clean deploy with Sonar scans
507 #
508 # This job supports subprojects.
Carsten Lundda8b6972017-02-15 23:59:25 +0000509 #
510 # Required Variables:
511 # branch: git branch (eg. stable/lithium or master)
512 # pom: name/location of the pom.xml file relative to the workspace
513
Carsten Lundda8b6972017-02-15 23:59:25 +0000514 name: '{project-name}-{stream}-{subproject}-release-java-daily'
515
516 project-type: freestyle
517 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -0700518 disabled: '{disabled}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000519 maven-deploy-properties:
520 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700521 - infra-properties:
Carsten Lundda8b6972017-02-15 23:59:25 +0000522 build-days-to-keep: '{build-days-to-keep}'
523
524 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700525 - infra-parameters:
Carsten Lundda8b6972017-02-15 23:59:25 +0000526 project: '{project}'
527 branch: '{branch}'
528 refspec: 'refs/heads/{branch}'
529 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800530 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800531 maven-version: '{maven-version}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000532
533 scm:
534 - gerrit-trigger-scm:
535 refspec: ''
536 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500537 submodule-recursive: '{submodule-recursive}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000538
539 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700540 - infra-wrappers:
Carsten Lundda8b6972017-02-15 23:59:25 +0000541 build-timeout: '{build-timeout}'
542
543 triggers:
544 # 11 AM UTC
545 - timed: 'H 11 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -0800546 - gerrit-trigger-release-manually:
547 server: '{server-name}'
548 project: '{project}'
549 branch: '{branch}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000550
551 builders:
552 - provide-maven-settings:
553 global-settings-file: 'global-settings'
554 settings-file: '{mvn-settings}'
555
Carsten Lundda8b6972017-02-15 23:59:25 +0000556 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800557 maven-version: '{maven-version}'
Carsten Lund63cd3b82017-02-18 18:19:22 +0000558 pom: '{pom}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800559 goals: 'clean deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -0400560 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lundda8b6972017-02-15 23:59:25 +0000561 properties:
562 - '{maven-deploy-properties}'
Jessica Wagantall30f0d782017-08-08 13:37:25 -0700563 java-opts:
564 - '-Xmx4096m -XX:MaxPermSize=512m'
Carsten Lundda8b6972017-02-15 23:59:25 +0000565 settings: '{mvn-settings}'
566 settings-type: cfp
567 global-settings: 'global-settings'
568 global-settings-type: cfp
569
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700570 publishers:
571 - infra-shiplogs:
572 maven-version: '{maven-version}'
573
Carsten Lundda8b6972017-02-15 23:59:25 +0000574- job-template:
Jessica Wagantallae897942017-09-28 10:56:55 -0700575 # Job template for Java daily release jobs with POM not at the root
576 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800577 # The purpose of this job template is to run:
578 # 1. maven set versions
579 # 2. maven clean deploy with Sonar scans
580 #
581 # This job supports subprojects.
Jessica Wagantallae897942017-09-28 10:56:55 -0700582 #
583 # Required Variables:
584 # branch: git branch (eg. stable/lithium or master)
585 # pom: name/location of the pom.xml file relative to the workspace
586
Zhaoxinga77c0412017-10-11 09:05:49 +0800587 name: '{project-name}-{stream}-{subproject}-release-version-java-daily'
588
589 project-type: freestyle
590 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -0700591 disabled: '{disabled}'
Zhaoxinga77c0412017-10-11 09:05:49 +0800592 maven-deploy-properties:
593 properties:
594 - infra-properties:
595 build-days-to-keep: '{build-days-to-keep}'
596
597 parameters:
598 - infra-parameters:
599 project: '{project}'
600 branch: '{branch}'
601 refspec: 'refs/heads/{branch}'
602 artifacts: '{archive-artifacts}'
603 - maven-exec:
604 maven-version: '{maven-version}'
605
606 scm:
607 - gerrit-trigger-scm:
608 refspec: ''
609 choosing-strategy: 'default'
610 submodule-recursive: '{submodule-recursive}'
611
612 wrappers:
613 - infra-wrappers:
614 build-timeout: '{build-timeout}'
615
616 triggers:
617 # 11 AM UTC
618 - timed: 'H 11 * * *'
619 - gerrit-trigger-release-manually:
620 server: '{server-name}'
621 project: '{project}'
622 branch: '{branch}'
623
624 builders:
625 - provide-maven-settings:
626 global-settings-file: 'global-settings'
627 settings-file: '{mvn-settings}'
628
629 - inject:
630 properties-file: version.properties
631 - maven-target:
632 maven-version: '{maven-version}'
Zhaoxing327f9592017-10-13 13:37:17 +0800633 pom: '{pom}'
Zhaoxinga77c0412017-10-11 09:05:49 +0800634 goals: 'versions:set versions:update-child-modules versions:commit -B'
635 properties:
636 - 'newVersion=${{release_version}}'
637 settings: '{mvn-settings}'
638 settings-type: cfp
639 global-settings: 'global-settings'
640 global-settings-type: cfp
641
642 - maven-target:
643 maven-version: '{maven-version}'
644 pom: '{pom}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800645 goals: 'clean deploy -B
Zhaoxinga77c0412017-10-11 09:05:49 +0800646 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
647 properties:
648 - '{maven-deploy-properties}'
649 settings: '{mvn-settings}'
650 settings-type: cfp
651 global-settings: 'global-settings'
652 global-settings-type: cfp
653
654 publishers:
655 - infra-shiplogs:
656 maven-version: '{maven-version}'
657
Jessica Wagantall91685e12018-03-20 17:13:40 -0700658
659- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800660 # Job template for Java merge jobs
661 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800662 # The purpose of this job template is to run:
663 # 1. maven clean deploy
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800664 #
665 # Required Variables:
666 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800667
Andrew Grimbergce2286c2017-01-31 05:50:39 -0800668 name: '{project-name}-{stream}-merge-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800669
670 project-type: freestyle
671 node: '{build-node}'
672
673 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700674 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800675 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800676
677 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700678 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800679 project: '{project}'
680 branch: '{branch}'
681 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -0800682 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800683 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800684 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800685
686 scm:
687 - gerrit-trigger-scm:
688 refspec: ''
689 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500690 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800691
692 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700693 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800694 build-timeout: '{build-timeout}'
695
696 triggers:
697 - gerrit-trigger-patch-merged:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800698 server: '{server-name}'
699 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800700 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800701 files: '**'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800702
703 builders:
704 - provide-maven-settings:
705 global-settings-file: 'global-settings'
706 settings-file: '{mvn-settings}'
707 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800708 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400709 goals: 'clean deploy -B
710 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800711 settings: '{mvn-settings}'
712 settings-type: cfp
713 global-settings: 'global-settings'
714 global-settings-type: cfp
715
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700716 publishers:
717 - infra-shiplogs:
718 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800719
720- job-template:
JulienBea4868a62017-07-28 17:13:11 +0200721 # Job template for Java merge jobs based on
722 # '{project-name}-{stream}-merge-java'
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800723 # The purpose of this job template is to run:
724 # 1. maven clean deploy
725 #
726 # This project supports maven properties.
JulienBea4868a62017-07-28 17:13:11 +0200727 #
728 # Required Variables:
729 # branch: git branch (eg. stable/lithium or master)
730 # maven-properties: properties passed to maven
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800731
JulienBea4868a62017-07-28 17:13:11 +0200732 name: '{project-name}-{stream}-merge-properties-java'
733
734 project-type: freestyle
735 node: '{build-node}'
736
737 properties:
738 - infra-properties:
739 build-days-to-keep: '{build-days-to-keep}'
740
741 parameters:
742 - infra-parameters:
743 project: '{project}'
744 branch: '{branch}'
745 refspec: 'refs/heads/{branch}'
746 artifacts: '{archive-artifacts}'
747 - maven-exec:
748 maven-version: '{maven-version}'
749
750 scm:
751 - gerrit-trigger-scm:
752 refspec: ''
753 choosing-strategy: 'default'
754 submodule-recursive: '{submodule-recursive}'
755
756 wrappers:
757 - infra-wrappers:
758 build-timeout: '{build-timeout}'
759
760 triggers:
761 - gerrit-trigger-patch-merged:
762 server: '{server-name}'
763 project: '{project}'
764 branch: '{branch}'
765 files: '**'
766
767 builders:
768 - provide-maven-settings:
769 global-settings-file: 'global-settings'
770 settings-file: '{mvn-settings}'
771 - maven-target:
772 maven-version: '{maven-version}'
773 goals: 'clean deploy -B
774 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
775 settings: '{mvn-settings}'
776 settings-type: cfp
777 global-settings: 'global-settings'
778 global-settings-type: cfp
JulienBec9d90e22017-08-08 10:44:10 +0200779 properties: '{obj:mvn_properties}'
JulienBea4868a62017-07-28 17:13:11 +0200780
781 publishers:
782 - infra-shiplogs:
783 maven-version: '{maven-version}'
784
785- job-template:
JulienBeef823f12017-04-12 04:52:40 -0700786 # Job template for Java merge jobs that takes a maven template
787 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800788 # The purpose of this job template is to run:
789 # 1. maven clean deploy -P {mvn-profile}
JulienBeef823f12017-04-12 04:52:40 -0700790 #
791 # Required Variables:
792 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800793
JulienBeef823f12017-04-12 04:52:40 -0700794 name: '{project-name}-{stream}-merge-profile-java'
795
796 project-type: freestyle
797 node: '{build-node}'
798
799 properties:
800 - infra-properties:
801 build-days-to-keep: '{build-days-to-keep}'
802
803 parameters:
804 - infra-parameters:
805 project: '{project}'
806 branch: '{branch}'
807 refspec: 'refs/heads/{branch}'
808 artifacts: '{archive-artifacts}'
809 - maven-exec:
810 maven-version: '{maven-version}'
811
812 scm:
813 - gerrit-trigger-scm:
814 refspec: ''
815 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500816 submodule-recursive: '{submodule-recursive}'
JulienBeef823f12017-04-12 04:52:40 -0700817
818 wrappers:
819 - infra-wrappers:
820 build-timeout: '{build-timeout}'
821
822 triggers:
823 - gerrit-trigger-patch-merged:
824 server: '{server-name}'
825 project: '{project}'
826 branch: '{branch}'
Jessica Wagantallf5f2ccc2018-03-30 10:37:38 -0700827 files: '{files}'
JulienBeef823f12017-04-12 04:52:40 -0700828
829 builders:
830 - provide-maven-settings:
831 global-settings-file: 'global-settings'
832 settings-file: '{mvn-settings}'
Determe, Sebastien (sd378r)62e4e662017-04-26 08:00:00 -0700833
834 - docker-login
835
JulienBeef823f12017-04-12 04:52:40 -0700836 - maven-target:
837 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400838 goals: 'clean deploy -P {mvn-profile} -B
839 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBeef823f12017-04-12 04:52:40 -0700840 settings: '{mvn-settings}'
841 settings-type: cfp
842 global-settings: 'global-settings'
843 global-settings-type: cfp
Determe, Sebastien (sd378r)345956b2017-04-28 08:45:52 -0700844 properties:
845 - docker.pull.registry=nexus3.onap.org:10001
846 - docker.push.registry=nexus3.onap.org:10003
JulienBeef823f12017-04-12 04:52:40 -0700847
848 publishers:
849 - infra-shiplogs:
850 maven-version: '{maven-version}'
851
852- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800853 # Job template for Java merge jobs with POM not at the root
854 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800855 # The purpose of this job template is to run:
856 # 1. maven clean deploy
857 #
858 # This job supports subprojects.
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800859 #
860 # Required Variables:
861 # branch: git branch (eg. stable/lithium or master)
862 # pom: name/location of the pom.xml file relative to the workspace
863 # pattern: ant file-path pattern relative to the workspace used to
864 # trigger the job
865
Andrew Grimbergce2286c2017-01-31 05:50:39 -0800866 name: '{project-name}-{stream}-{subproject}-merge-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800867
868 project-type: freestyle
869 node: '{build-node}'
870
871 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700872 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800873 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800874
875 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700876 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800877 project: '{project}'
878 branch: '{branch}'
879 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -0800880 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800881 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800882 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800883
884 scm:
885 - gerrit-trigger-scm:
886 refspec: ''
887 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500888 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800889
890 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700891 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800892 build-timeout: '{build-timeout}'
893
894 triggers:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800895 - gerrit-trigger-patch-merged:
896 server: '{server-name}'
897 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800898 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800899 files: '{pattern}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800900
901 builders:
902 - provide-maven-settings:
903 global-settings-file: 'global-settings'
904 settings-file: '{mvn-settings}'
905 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800906 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800907 pom: '{pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400908 goals: 'clean deploy -B
909 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800910 settings: '{mvn-settings}'
911 settings-type: cfp
912 global-settings: 'global-settings'
913 global-settings-type: cfp
914
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700915 publishers:
916 - infra-shiplogs:
917 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +0100918
919- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800920 # Job template for Docker daily jobs
921 #
922 # The purpose of this job template is to run:
923 # 1. login to the docker registry
924 # 2. docker push
925 #
926 # Required Variables:
927 # branch: git branch (eg. stable/lithium or master)
928
Anaël Clossonabbafb52017-02-09 17:55:10 +0100929 name: '{project-name}-{stream}-docker-java-daily'
Gary Wu9e9210f2018-07-18 16:19:20 -0700930 id: '{project-name}-{stream}-docker-java-daily'
Anaël Clossonabbafb52017-02-09 17:55:10 +0100931 project-type: freestyle
Andrew Grimberg2137b1d2017-02-15 07:24:53 -0800932 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -0700933 disabled: '{disabled}'
Anaël Clossonabbafb52017-02-09 17:55:10 +0100934 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700935 - infra-properties:
Anaël Clossonabbafb52017-02-09 17:55:10 +0100936 build-days-to-keep: '{build-days-to-keep}'
937
938 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700939 - infra-parameters:
Anaël Clossonabbafb52017-02-09 17:55:10 +0100940 project: '{project}'
941 branch: '{branch}'
942 refspec: 'refs/heads/{branch}'
943 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800944 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800945 maven-version: '{maven-version}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -0700946 - maven-params:
947 mvn-params: '{mvn-params}'
Anaël Clossonabbafb52017-02-09 17:55:10 +0100948
949 scm:
950 - gerrit-trigger-scm:
951 refspec: ''
952 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500953 submodule-recursive: '{submodule-recursive}'
Anaël Clossonabbafb52017-02-09 17:55:10 +0100954
Anaël Clossonabbafb52017-02-09 17:55:10 +0100955 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700956 - infra-wrappers:
Anaël Clossonabbafb52017-02-09 17:55:10 +0100957 build-timeout: '{build-timeout}'
958
959 triggers:
JulienBe0d8c2c32017-02-16 11:50:48 -0800960 # 12 AM UTC
Anaël Clossonabbafb52017-02-09 17:55:10 +0100961 - timed: 'H 12 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -0800962 - gerrit-trigger-release-manually:
963 server: '{server-name}'
964 project: '{project}'
965 branch: '{branch}'
Anaël Clossonabbafb52017-02-09 17:55:10 +0100966
967 builders:
Anaël Closson63e090e2017-02-15 14:50:45 +0100968
Anaël Clossonabbafb52017-02-09 17:55:10 +0100969 - provide-maven-settings:
970 global-settings-file: 'global-settings'
971 settings-file: '{mvn-settings}'
Anaël Closson7313fea2017-02-14 15:56:21 +0100972
Anaël Closson63e090e2017-02-15 14:50:45 +0100973 - docker-login
974
Anaël Clossonabbafb52017-02-09 17:55:10 +0100975 - maven-docker-push-daily:
Andrew Grimberge2465882017-02-24 12:38:05 -0800976 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +0100977 mvn-settings: '{mvn-settings}'
978 pom: '{docker-pom}'
Anaël Closson30a5c772017-02-16 15:02:56 +0100979 # use default as mvn-profile if profile is not needed
980 mvn-profile: '{mvn-profile}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -0700981 mvn-params: '{mvn-params}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -0500982
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700983 publishers:
984 - infra-shiplogs:
985 maven-version: '{maven-version}'
986
Pamela Dragoshaccf6452017-02-17 08:09:31 -0500987- job-template:
Gary Wu9e9210f2018-07-18 16:19:20 -0700988 # Job template for Docker daily jobs
989 #
990 # The purpose of this job template is to run:
991 # 1. login to the docker registry
992 # 2. docker push
993 #
994 # Required Variables:
995 # branch: git branch (eg. stable/lithium or master)
996
997 name: '{project-name}-{stream}-docker-java-daily'
998 id: docker-java-daily
999 project-type: freestyle
1000 node: '{build-node}'
1001 disabled: '{disabled}'
1002 properties:
1003 - infra-properties:
1004 build-days-to-keep: '{build-days-to-keep}'
1005
1006 parameters:
1007 - infra-parameters:
1008 project: '{project}'
1009 branch: '{branch}'
1010 refspec: 'refs/heads/{branch}'
1011 artifacts: '{archive-artifacts}'
1012 - maven-exec:
1013 maven-version: '{maven-version}'
1014 - maven-params:
1015 mvn-params: '{mvn-params}'
1016
1017 scm:
1018 - gerrit-trigger-scm:
1019 refspec: ''
1020 choosing-strategy: 'default'
1021 submodule-recursive: '{submodule-recursive}'
1022
1023 wrappers:
1024 - infra-wrappers-docker-build:
1025 build-timeout: '{build-timeout}'
1026
1027 triggers:
1028 # 12 AM UTC
1029 - timed: 'H 12 * * *'
1030 - gerrit-trigger-release-manually:
1031 server: '{server-name}'
1032 project: '{project}'
1033 branch: '{branch}'
1034
1035 builders:
1036
1037 - provide-maven-settings:
1038 global-settings-file: 'global-settings'
1039 settings-file: '{mvn-settings}'
1040
1041 - docker-login
1042
1043 - maven-docker-push-daily:
1044 maven-version: '{maven-version}'
1045 mvn-settings: '{mvn-settings}'
1046 pom: '{docker-pom}'
1047 # use default as mvn-profile if profile is not needed
1048 mvn-profile: '{mvn-profile}'
1049 mvn-params: '{mvn-params}'
1050
1051 publishers:
1052 - infra-shiplogs:
1053 maven-version: '{maven-version}'
1054
1055
1056- job-template:
JulienBe91c56ec2017-06-21 23:37:39 +02001057 # Job template for building & pushing docker images
1058 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001059 # The purpose of this job template is to run:
JulienBe91c56ec2017-06-21 23:37:39 +02001060 # 1. login to the docker registry
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001061 # 2. maven clean deploy on the specified profile
1062 #
1063 # This job uses a conditional regex match step to set versions.
1064 # This template supports maven properties.
JulienBe91c56ec2017-06-21 23:37:39 +02001065 #
1066 # Required Variables:
1067 # pom: name/location of the pom.xml file relative to the workspace
1068 # profile: the docker profile defined in the pom
1069 # maven-properties: properties passed to maven
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001070
JulienBe91c56ec2017-06-21 23:37:39 +02001071 name: '{project-name}-{stream}-docker-java-properties-daily'
1072 project-type: freestyle
1073 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001074 disabled: '{disabled}'
JulienBe91c56ec2017-06-21 23:37:39 +02001075 properties:
1076 - infra-properties:
1077 build-days-to-keep: '{build-days-to-keep}'
1078 parameters:
1079 - infra-parameters:
1080 project: '{project}'
1081 branch: '{branch}'
1082 refspec: 'refs/heads/{branch}'
1083 artifacts: '{archive-artifacts}'
1084 - maven-exec:
1085 maven-version: '{maven-version}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -07001086 - maven-params:
1087 mvn-params: '{mvn-params}'
JulienBe91c56ec2017-06-21 23:37:39 +02001088 scm:
1089 - gerrit-trigger-scm:
1090 refspec: ''
1091 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001092 submodule-recursive: '{submodule-recursive}'
JulienBe91c56ec2017-06-21 23:37:39 +02001093 wrappers:
1094 - infra-wrappers:
1095 build-timeout: '{build-timeout}'
1096 triggers:
1097 # 12 AM UTC
1098 - timed: 'H 12 * * *'
1099 - gerrit-trigger-release-manually:
1100 server: '{server-name}'
1101 project: '{project}'
1102 branch: '{branch}'
1103 builders:
1104 - provide-maven-settings:
1105 global-settings-file: 'global-settings'
1106 settings-file: '{mvn-settings}'
JulienBecda17972017-10-17 13:46:51 +02001107 - conditional-step:
1108 condition-kind: regex-match
1109 regex: DoSetVersion
1110 label: '{setVersion}'
1111 steps:
1112 - inject:
1113 properties-file: version.properties
1114 - maven-target:
1115 maven-version: '{maven-version}'
1116 goals: 'versions:set versions:update-child-modules versions:commit -B'
1117 properties:
1118 - 'newVersion=${{release_version}}'
1119 settings: '{mvn-settings}'
1120 settings-type: cfp
1121 global-settings: 'global-settings'
1122 global-settings-type: cfp
JulienBe91c56ec2017-06-21 23:37:39 +02001123 - docker-login
1124 - maven-docker-push-daily:
1125 maven-version: '{maven-version}'
1126 mvn-settings: '{mvn-settings}'
1127 pom: '{docker-pom}'
1128 properties: '{maven-properties}'
1129 # use default as mvn-profile if profile is not needed
1130 mvn-profile: '{mvn-profile}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -07001131 mvn-params: '{mvn-params}'
JulienBe91c56ec2017-06-21 23:37:39 +02001132 publishers:
1133 - infra-shiplogs:
1134 maven-version: '{maven-version}'
1135
1136- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001137 # Job template for building & pushing docker images
1138 #
1139 # The purpose of this job template is to run:
1140 # 1. login to the docker registry
1141 # 2. run a specified shell builder
1142 #
1143 # Required Variables:
1144 # pom: name/location of the pom.xml file relative to the workspace
1145 # maven-properties: properties passed to maven
1146
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001147 name: '{project-name}-{stream}-docker-java-shell-daily'
1148 project-type: freestyle
1149 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001150 disabled: '{disabled}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001151 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001152 - infra-properties:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001153 build-days-to-keep: '{build-days-to-keep}'
1154
1155 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001156 - infra-parameters:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001157 project: '{project}'
1158 branch: '{branch}'
1159 refspec: 'refs/heads/{branch}'
1160 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001161 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001162 maven-version: '{maven-version}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001163
1164 scm:
1165 - gerrit-trigger-scm:
1166 refspec: ''
1167 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001168 submodule-recursive: '{submodule-recursive}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001169
1170 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001171 - infra-wrappers:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001172 build-timeout: '{build-timeout}'
1173
1174 triggers:
1175 # 12 AM UTC
1176 - timed: 'H 12 * * *'
1177 - gerrit-trigger-release-manually:
1178 server: '{server-name}'
1179 project: '{project}'
1180 branch: '{branch}'
1181
1182 builders:
1183
1184 - provide-maven-settings:
1185 global-settings-file: 'global-settings'
1186 settings-file: '{mvn-settings}'
1187
1188 - docker-login
1189
Pamela Dragosh366fbc32017-02-19 20:09:09 -05001190 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001191 maven-version: '{maven-version}'
Pamela Dragosh366fbc32017-02-19 20:09:09 -05001192 goals: '{mvn-goals}'
1193 settings: '{mvn-settings}'
1194 settings-type: cfp
1195 global-settings: 'global-settings'
1196 global-settings-type: cfp
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001197
1198 - shell: '{script}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001199
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001200 publishers:
1201 - infra-shiplogs:
1202 maven-version: '{maven-version}'
1203
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001204- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001205 # Job template for building & pushing docker images
1206 #
1207 # The purpose of this job template is to run:
1208 # 1. login to the docker registry
1209 # 2. inject a version.properties file and set versions
1210 # 3. run a specified shell builder
1211 #
1212 # Required Variables:
1213 # pom: name/location of the pom.xml file relative to the workspace
1214 # maven-properties: properties passed to maven
1215
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001216 name: '{project-name}-{stream}-docker-java-version-shell-daily'
1217 project-type: freestyle
1218 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001219 disabled: '{disabled}'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001220 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001221 - infra-properties:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001222 build-days-to-keep: '{build-days-to-keep}'
1223
1224 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001225 - infra-parameters:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001226 project: '{project}'
1227 branch: '{branch}'
1228 refspec: 'refs/heads/{branch}'
1229 artifacts: '{archive-artifacts}'
1230 - maven-exec:
1231 maven-version: '{maven-version}'
1232
1233 scm:
1234 - gerrit-trigger-scm:
1235 refspec: ''
1236 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001237 submodule-recursive: '{submodule-recursive}'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001238
1239 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001240 - infra-wrappers:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001241 build-timeout: '{build-timeout}'
1242
1243 triggers:
1244 # 12 AM UTC
1245 - timed: 'H 12 * * *'
1246 - gerrit-trigger-release-manually:
1247 server: '{server-name}'
1248 project: '{project}'
1249 branch: '{branch}'
1250
1251 builders:
1252
1253 - provide-maven-settings:
1254 global-settings-file: 'global-settings'
1255 settings-file: '{mvn-settings}'
1256
1257 - inject:
1258 properties-file: version.properties
1259
1260 - maven-target:
1261 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001262 goals: 'versions:set versions:update-child-modules versions:commit -B'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001263 properties:
1264 - 'newVersion=${{release_version}}'
1265 settings: '{mvn-settings}'
1266 settings-type: cfp
1267 global-settings: 'global-settings'
1268 global-settings-type: cfp
1269
1270 - docker-login
1271
1272 - maven-target:
1273 maven-version: '{maven-version}'
1274 goals: '{mvn-goals}'
1275 settings: '{mvn-settings}'
1276 settings-type: cfp
1277 global-settings: 'global-settings'
1278 global-settings-type: cfp
1279
1280 - shell: '{script}'
1281
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001282 publishers:
1283 - infra-shiplogs:
1284 maven-version: '{maven-version}'
1285
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001286- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001287 # Job template for building & pushing docker images
1288 #
1289 # The purpose of this job template is to run:
1290 # 1. login to the docker registry
1291 # 2. inject a version.properties file and set versions
1292 # 3. run a specified shell builder
1293 #
1294 # This template supports subprojects.
1295 #
1296 # Required Variables:
1297 # pom: name/location of the pom.xml file relative to the workspace
1298 # maven-properties: properties passed to maven
1299
Zhaoxing49773042017-10-13 17:14:35 +08001300 name: '{project-name}-{stream}-{subproject}-docker-java-version-shell-daily'
1301 project-type: freestyle
1302 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001303 disabled: '{disabled}'
Zhaoxing49773042017-10-13 17:14:35 +08001304 properties:
1305 - infra-properties:
1306 build-days-to-keep: '{build-days-to-keep}'
1307
1308 parameters:
1309 - infra-parameters:
1310 project: '{project}'
1311 branch: '{branch}'
1312 refspec: 'refs/heads/{branch}'
1313 artifacts: '{archive-artifacts}'
1314 - maven-exec:
1315 maven-version: '{maven-version}'
1316
1317 scm:
1318 - gerrit-trigger-scm:
1319 refspec: ''
1320 choosing-strategy: 'default'
1321 submodule-recursive: '{submodule-recursive}'
1322
1323 wrappers:
1324 - infra-wrappers:
1325 build-timeout: '{build-timeout}'
1326
1327 triggers:
1328 # 12 AM UTC
1329 - timed: 'H 12 * * *'
1330 - gerrit-trigger-release-manually:
1331 server: '{server-name}'
1332 project: '{project}'
1333 branch: '{branch}'
1334
1335 builders:
1336
1337 - provide-maven-settings:
1338 global-settings-file: 'global-settings'
1339 settings-file: '{mvn-settings}'
1340
1341 - inject:
1342 properties-file: version.properties
1343
1344 - maven-target:
1345 maven-version: '{maven-version}'
1346 pom: '{pom}'
1347 goals: 'versions:set versions:update-child-modules versions:commit -B'
1348 properties:
1349 - 'newVersion=${{release_version}}'
1350 settings: '{mvn-settings}'
1351 settings-type: cfp
1352 global-settings: 'global-settings'
1353 global-settings-type: cfp
1354
1355 - docker-login
1356
1357 - maven-target:
1358 maven-version: '{maven-version}'
1359 pom: '{pom}'
1360 goals: '{mvn-goals}'
1361 settings: '{mvn-settings}'
1362 settings-type: cfp
1363 global-settings: 'global-settings'
1364 global-settings-type: cfp
1365
1366 - shell: '{script}'
1367
1368 publishers:
1369 - infra-shiplogs:
1370 maven-version: '{maven-version}'
1371
1372- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001373 # Job template for building & pushing docker images
1374 #
1375 # The purpose of this job template is to run:
1376 # 1. login to the docker registry
1377 # 2. inject a version.properties file and set versions
1378 # 3. run a docker push
1379 #
1380 # Required Variables:
1381 # pom: name/location of the pom.xml file relative to the workspace
1382 # profile: the docker profile defined in the pom
1383 # maven-properties: properties passed to maven
1384
Patrick Brady39f388a2017-03-09 11:26:59 -08001385 name: '{project-name}-{stream}-docker-version-java-daily'
Gary Wu9e9210f2018-07-18 16:19:20 -07001386 id: '{project-name}-{stream}-docker-version-java-daily'
Patrick Brady39f388a2017-03-09 11:26:59 -08001387 project-type: freestyle
1388 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001389 disabled: '{disabled}'
Patrick Brady39f388a2017-03-09 11:26:59 -08001390 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001391 - infra-properties:
Patrick Brady39f388a2017-03-09 11:26:59 -08001392 build-days-to-keep: '{build-days-to-keep}'
1393
1394 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001395 - infra-parameters:
Patrick Brady39f388a2017-03-09 11:26:59 -08001396 project: '{project}'
1397 branch: '{branch}'
1398 refspec: 'refs/heads/{branch}'
1399 artifacts: '{archive-artifacts}'
1400 - maven-exec:
1401 maven-version: '{maven-version}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -07001402 - maven-params:
1403 mvn-params: '{mvn-params}'
Patrick Brady39f388a2017-03-09 11:26:59 -08001404
1405 scm:
1406 - gerrit-trigger-scm:
1407 refspec: ''
1408 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001409 submodule-recursive: '{submodule-recursive}'
Patrick Brady39f388a2017-03-09 11:26:59 -08001410
1411 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001412 - infra-wrappers:
Patrick Brady39f388a2017-03-09 11:26:59 -08001413 build-timeout: '{build-timeout}'
1414
1415 triggers:
1416 # 12 AM UTC
1417 - timed: 'H 12 * * *'
1418 - gerrit-trigger-release-manually:
1419 server: '{server-name}'
1420 project: '{project}'
1421 branch: '{branch}'
1422
1423 builders:
1424
1425 - provide-maven-settings:
1426 global-settings-file: 'global-settings'
1427 settings-file: '{mvn-settings}'
1428
1429 - inject:
1430 properties-file: version.properties
1431
1432 - maven-target:
1433 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001434 goals: 'versions:set versions:update-child-modules versions:commit -B'
Patrick Brady39f388a2017-03-09 11:26:59 -08001435 properties:
1436 - 'newVersion=${{release_version}}'
1437 settings: '{mvn-settings}'
1438 settings-type: cfp
1439 global-settings: 'global-settings'
1440 global-settings-type: cfp
1441
1442 - docker-login
1443
1444 - maven-docker-push-daily:
1445 maven-version: '{maven-version}'
1446 mvn-settings: '{mvn-settings}'
1447 pom: '{docker-pom}'
1448 # use default as mvn-profile if profile is not needed
1449 mvn-profile: '{mvn-profile}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -07001450 mvn-params: '{mvn-params}'
Patrick Brady39f388a2017-03-09 11:26:59 -08001451
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001452 publishers:
1453 - infra-shiplogs:
1454 maven-version: '{maven-version}'
1455
Patrick Brady39f388a2017-03-09 11:26:59 -08001456- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001457 # Job template for building & pushing docker images
1458 #
1459 # The purpose of this job template is to run:
Gary Wu9e9210f2018-07-18 16:19:20 -07001460 # 1. login to the docker registry
1461 # 2. inject a version.properties file and set versions
1462 # 3. run a docker push
1463 #
1464 # Required Variables:
1465 # pom: name/location of the pom.xml file relative to the workspace
1466 # profile: the docker profile defined in the pom
1467 # maven-properties: properties passed to maven
1468
1469 name: '{project-name}-{stream}-docker-version-java-daily'
1470 id: 'docker-version-java-daily'
1471 project-type: freestyle
1472 node: '{build-node}'
1473 disabled: '{disabled}'
1474 properties:
1475 - infra-properties:
1476 build-days-to-keep: '{build-days-to-keep}'
1477
1478 parameters:
1479 - infra-parameters:
1480 project: '{project}'
1481 branch: '{branch}'
1482 refspec: 'refs/heads/{branch}'
1483 artifacts: '{archive-artifacts}'
1484 - maven-exec:
1485 maven-version: '{maven-version}'
1486 - maven-params:
1487 mvn-params: '{mvn-params}'
1488
1489 scm:
1490 - gerrit-trigger-scm:
1491 refspec: ''
1492 choosing-strategy: 'default'
1493 submodule-recursive: '{submodule-recursive}'
1494
1495 wrappers:
1496 - infra-wrappers-docker-build:
1497 build-timeout: '{build-timeout}'
1498
1499 triggers:
1500 # 12 AM UTC
1501 - timed: 'H 12 * * *'
1502 - gerrit-trigger-release-manually:
1503 server: '{server-name}'
1504 project: '{project}'
1505 branch: '{branch}'
1506
1507 builders:
1508
1509 - provide-maven-settings:
1510 global-settings-file: 'global-settings'
1511 settings-file: '{mvn-settings}'
1512
1513 - inject:
1514 properties-file: version.properties
1515
1516 - maven-target:
1517 maven-version: '{maven-version}'
1518 goals: 'versions:set versions:update-child-modules versions:commit -B'
1519 properties:
1520 - 'newVersion=${{release_version}}'
1521 settings: '{mvn-settings}'
1522 settings-type: cfp
1523 global-settings: 'global-settings'
1524 global-settings-type: cfp
1525
1526 - docker-login
1527
1528 - maven-docker-push-daily:
1529 maven-version: '{maven-version}'
1530 mvn-settings: '{mvn-settings}'
1531 pom: '{docker-pom}'
1532 # use default as mvn-profile if profile is not needed
1533 mvn-profile: '{mvn-profile}'
1534 mvn-params: '{mvn-params}'
1535
1536 publishers:
1537 - infra-shiplogs:
1538 maven-version: '{maven-version}'
1539
1540- job-template:
1541 # Job template for building & pushing docker images
1542 #
1543 # The purpose of this job template is to run:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001544 # 1. inject a version.properties file and set versions
1545 # 2. login to the docker registry
1546 # 3. run a docker push
1547 #
1548 # This job supports subprojects.
1549 #
1550 # Required Variables:
1551 # pom: name/location of the pom.xml file relative to the workspace
1552 # maven-properties: properties passed to maven
1553
Zhaoxing49773042017-10-13 17:14:35 +08001554 name: '{project-name}-{stream}-{subproject}-docker-version-java-daily'
1555 project-type: freestyle
1556 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001557 disabled: '{disabled}'
Zhaoxing49773042017-10-13 17:14:35 +08001558 properties:
1559 - infra-properties:
1560 build-days-to-keep: '{build-days-to-keep}'
1561
1562 parameters:
1563 - infra-parameters:
1564 project: '{project}'
1565 branch: '{branch}'
1566 refspec: 'refs/heads/{branch}'
1567 artifacts: '{archive-artifacts}'
1568 - maven-exec:
1569 maven-version: '{maven-version}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -07001570 - maven-params:
1571 mvn-params: '{mvn-params}'
Zhaoxing49773042017-10-13 17:14:35 +08001572
1573 scm:
1574 - gerrit-trigger-scm:
1575 refspec: ''
1576 choosing-strategy: 'default'
1577 submodule-recursive: '{submodule-recursive}'
1578
1579 wrappers:
1580 - infra-wrappers:
1581 build-timeout: '{build-timeout}'
1582
1583 triggers:
1584 # 12 AM UTC
1585 - timed: 'H 12 * * *'
1586 - gerrit-trigger-release-manually:
1587 server: '{server-name}'
1588 project: '{project}'
1589 branch: '{branch}'
1590
1591 builders:
1592
1593 - provide-maven-settings:
1594 global-settings-file: 'global-settings'
1595 settings-file: '{mvn-settings}'
1596
1597 - inject:
1598 properties-file: version.properties
1599
1600 - maven-target:
1601 maven-version: '{maven-version}'
1602 pom: '{pom}'
1603 goals: 'versions:set versions:update-child-modules versions:commit -B'
1604 properties:
1605 - 'newVersion=${{release_version}}'
1606 settings: '{mvn-settings}'
1607 settings-type: cfp
1608 global-settings: 'global-settings'
1609 global-settings-type: cfp
1610
1611 - docker-login
1612
1613 - maven-docker-push-daily:
1614 maven-version: '{maven-version}'
1615 pom: '{pom}'
1616 mvn-settings: '{mvn-settings}'
1617 pom: '{docker-pom}'
1618 # use default as mvn-profile if profile is not needed
1619 mvn-profile: '{mvn-profile}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -07001620 mvn-params: '{mvn-params}'
Zhaoxing49773042017-10-13 17:14:35 +08001621
1622 publishers:
1623 - infra-shiplogs:
1624 maven-version: '{maven-version}'
1625
1626- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001627 # Job template for building & pushing docker images for AAI specific repos
1628 #
1629 # The purpose of this job template is to run:
1630 # 1. login to the docker registry
1631 # 2. run maven goals
1632 # 3. run include-docker-push.sh
1633 #
1634 # Required Variables:
1635 # pom: name/location of the pom.xml file relative to the workspace
1636 # maven-properties: properties passed to maven
1637
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001638 name: '{project-name}-{stream}-aai-docker-java-daily'
1639 project-type: freestyle
1640 node: 'ubuntu1604-docker-8c-8g'
Gary Wudc3f2952017-08-23 16:48:59 -07001641 docker-image-name: ''
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001642 disabled: '{disabled}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001643 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001644 - infra-properties:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001645 build-days-to-keep: '{build-days-to-keep}'
1646
1647 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001648 - infra-parameters:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001649 project: '{project}'
1650 branch: '{branch}'
1651 refspec: 'refs/heads/{branch}'
1652 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001653 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001654 maven-version: '{maven-version}'
Gary Wudc3f2952017-08-23 16:48:59 -07001655 - docker-image-name:
1656 docker-image-name: '{docker-image-name}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001657
1658 scm:
1659 - gerrit-trigger-scm:
1660 refspec: ''
1661 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001662 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001663
1664 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001665 - infra-wrappers:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001666 build-timeout: '{build-timeout}'
1667
1668 triggers:
1669 # 12 AM UTC
1670 - timed: 'H 12 * * *'
1671 - gerrit-trigger-release-manually:
1672 server: '{server-name}'
1673 project: '{project}'
1674 branch: '{branch}'
1675
1676 builders:
1677
1678 - provide-maven-settings:
1679 global-settings-file: 'global-settings'
1680 settings-file: '{mvn-settings}'
1681
1682 - docker-login
1683
1684 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001685 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001686 pom: 'pom.xml'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001687 goals: 'clean install -DskipTests -B
1688 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001689 settings: '{mvn-settings}'
1690 settings-type: cfp
1691 global-settings: 'global-settings'
1692 global-settings-type: cfp
1693
1694 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001695 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001696 pom: '{pom}'
1697 goals: '{mvn-goals}'
1698 settings: '{mvn-settings}'
1699 settings-type: cfp
1700 global-settings: 'global-settings'
1701 global-settings-type: cfp
1702 properties:
1703 - maven.test.skip=true
Jeremy Phelps48028ab2017-03-28 15:38:24 -05001704 - docker.pull.registry=nexus3.onap.org:10001
1705 - docker.push.registry=nexus3.onap.org:10003
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001706
Venkata Harish K Kajurbf07d0a2017-03-26 11:58:15 +00001707 - shell: !include-raw-escape: include-docker-push.sh
Carsten Lund2d06a692017-02-23 18:23:07 +00001708
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001709 publishers:
1710 - infra-shiplogs:
1711 maven-version: '{maven-version}'
1712
Carsten Lund2d06a692017-02-23 18:23:07 +00001713- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001714 # Job template for building & pushing docker images for AAI specific repos
1715 #
1716 # The purpose of this job template is to run:
1717 # 1. login to the docker registry
1718 # 2. run maven goals
1719 # 3. run include-docker-push.sh
1720 #
1721 # This job supports subprojects
1722 #
1723 # Required Variables:
1724 # pom: name/location of the pom.xml file relative to the workspace
1725 # maven-properties: properties passed to maven
1726
Jessica Wagantallfec94482017-09-19 11:49:15 -07001727 name: '{project-name}-{stream}-{subproject}-aai-docker-java-daily'
1728 project-type: freestyle
1729 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001730 disabled: '{disabled}'
Jessica Wagantallfec94482017-09-19 11:49:15 -07001731 docker-image-name: ''
1732
1733 properties:
1734 - infra-properties:
1735 build-days-to-keep: '{build-days-to-keep}'
1736
1737 parameters:
1738 - infra-parameters:
1739 project: '{project}'
1740 branch: '{branch}'
1741 refspec: 'refs/heads/{branch}'
1742 artifacts: '{archive-artifacts}'
1743 - maven-exec:
1744 maven-version: '{maven-version}'
1745 - docker-image-name:
1746 docker-image-name: '{docker-image-name}'
1747
1748 scm:
1749 - gerrit-trigger-scm:
1750 refspec: ''
1751 choosing-strategy: 'default'
1752 submodule-recursive: '{submodule-recursive}'
1753
1754 wrappers:
1755 - infra-wrappers:
1756 build-timeout: '{build-timeout}'
1757
1758 triggers:
1759 # 12 AM UTC
1760 - timed: 'H 12 * * *'
1761 - gerrit-trigger-release-manually:
1762 server: '{server-name}'
1763 project: '{project}'
1764 branch: '{branch}'
1765
1766 builders:
1767
1768 - provide-maven-settings:
1769 global-settings-file: 'global-settings'
1770 settings-file: '{mvn-settings}'
1771
1772 - docker-login
1773
1774 - maven-target:
1775 maven-version: '{maven-version}'
1776 pom: 'pom.xml'
1777 goals: 'clean install -DskipTests -B
1778 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
1779 settings: '{mvn-settings}'
1780 settings-type: cfp
1781 global-settings: 'global-settings'
1782 global-settings-type: cfp
1783
1784 - maven-target:
1785 maven-version: '{maven-version}'
1786 pom: '{pom}'
1787 goals: '{mvn-goals}'
1788 settings: '{mvn-settings}'
1789 settings-type: cfp
1790 global-settings: 'global-settings'
1791 global-settings-type: cfp
1792 properties:
1793 - maven.test.skip=true
1794 - docker.pull.registry=nexus3.onap.org:10001
1795 - docker.push.registry=nexus3.onap.org:10003
1796
1797 - shell: !include-raw-escape: include-docker-push.sh
1798
1799 publishers:
1800 - infra-shiplogs:
1801 maven-version: '{maven-version}'
1802
1803- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001804 # Job template for Java merge jobs for SDC specific repos
ig61339fdb9d22017-04-03 17:47:19 +03001805 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001806 # The purpose of this job template is to run:
1807 # 1. maven clean deploy
ig61339fdb9d22017-04-03 17:47:19 +03001808 #
1809 # Required Variables:
1810 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001811
ig61339fdb9d22017-04-03 17:47:19 +03001812 name: '{project-name}-{stream}-sdc-merge-java'
1813
1814 project-type: freestyle
ig6133cb3f8232017-04-05 14:22:42 +03001815 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall9a89de42018-04-18 11:35:17 -07001816 build-timeout: 120
ig61339fdb9d22017-04-03 17:47:19 +03001817
1818 properties:
1819 - infra-properties:
1820 build-days-to-keep: '{build-days-to-keep}'
1821
1822 parameters:
1823 - infra-parameters:
1824 project: '{project}'
1825 branch: '{branch}'
1826 refspec: 'refs/heads/{branch}'
1827 artifacts: '{archive-artifacts}'
1828 - maven-exec:
1829 maven-version: '{maven-version}'
1830
1831 scm:
1832 - gerrit-trigger-scm:
1833 refspec: ''
1834 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001835 submodule-recursive: '{submodule-recursive}'
ig61339fdb9d22017-04-03 17:47:19 +03001836
1837 wrappers:
1838 - infra-wrappers:
1839 build-timeout: '{build-timeout}'
1840
1841 triggers:
1842 - gerrit-trigger-patch-merged:
1843 server: '{server-name}'
1844 project: '{project}'
1845 branch: '{branch}'
1846 files: '**'
1847
1848 builders:
1849 - provide-maven-settings:
1850 global-settings-file: 'global-settings'
1851 settings-file: '{mvn-settings}'
ig61339fdb9d22017-04-03 17:47:19 +03001852
1853 - docker-login
1854
Jessica Wagantall9a03dac2018-03-19 09:27:18 -07001855 - maven-docker-push-daily-test:
ig61339fdb9d22017-04-03 17:47:19 +03001856 maven-version: '{maven-version}'
ig6133cb3f8232017-04-05 14:22:42 +03001857 mvn-settings: '{mvn-settings}'
1858 pom: '{docker-pom}'
1859 # use default as mvn-profile if profile is not needed
1860 mvn-profile: '{mvn-profile}'
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001861
1862 publishers:
1863 - infra-shiplogs:
1864 maven-version: '{maven-version}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04001865
1866- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001867 # Job template for building & pushing docker images for AAI specific repos
1868 #
1869 # The purpose of this job template is to run:
1870 # 1. login to the docker registry
1871 # 2. run maven clean install goals skipping tests
1872 # 3. run maven goals
1873 #
1874 # Required Variables:
1875 # pom: name/location of the pom.xml file relative to the workspace
1876 # maven-properties: properties passed to maven
1877
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04001878 name: '{project-name}-{stream}-aai-docker-java-version-daily'
1879 project-type: freestyle
1880 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001881 disabled: '{disabled}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04001882 properties:
1883 - infra-properties:
1884 build-days-to-keep: '{build-days-to-keep}'
1885
1886 parameters:
1887 - infra-parameters:
1888 project: '{project}'
1889 branch: '{branch}'
1890 refspec: 'refs/heads/{branch}'
1891 artifacts: '{archive-artifacts}'
1892 - maven-exec:
1893 maven-version: '{maven-version}'
1894
1895 scm:
1896 - gerrit-trigger-scm:
1897 refspec: ''
1898 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001899 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04001900
1901 wrappers:
1902 - infra-wrappers:
1903 build-timeout: '{build-timeout}'
1904
1905 triggers:
1906 # 12 AM UTC
1907 - timed: 'H 12 * * *'
1908 - gerrit-trigger-release-manually:
1909 server: '{server-name}'
1910 project: '{project}'
1911 branch: '{branch}'
1912
1913 builders:
1914
1915 - provide-maven-settings:
1916 global-settings-file: 'global-settings'
1917 settings-file: '{mvn-settings}'
1918
1919 - docker-login
1920
1921 - maven-target:
1922 maven-version: '{maven-version}'
1923 pom: 'pom.xml'
1924 goals: 'clean install -DskipTests -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
1925 settings: '{mvn-settings}'
1926 settings-type: cfp
1927 global-settings: 'global-settings'
1928 global-settings-type: cfp
1929
1930 - maven-target:
1931 maven-version: '{maven-version}'
1932 pom: '{pom}'
1933 goals: '{mvn-goals}'
1934 settings: '{mvn-settings}'
1935 settings-type: cfp
1936 global-settings: 'global-settings'
1937 global-settings-type: cfp
1938 properties:
1939 - maven.test.skip=true
1940 - docker.pull.registry=nexus3.onap.org:10001
1941 - docker.push.registry=nexus3.onap.org:10003
1942
1943 publishers:
1944 - infra-shiplogs:
1945 maven-version: '{maven-version}'
1946