blob: a98457482e9508d8f0bb60e8b20c6c159a0a141c [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:
6 # 1. maven clean install -DskipTests=true
Andrew Grimbergebc710a2017-01-30 12:59:38 -08007 #
8 # Required Variables:
9 # branch: git branch (eg. stable/lithium or master)
10
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050011 name: '{project-name}-{stream}-verify-java-skip-tests'
12
13 project-type: freestyle
14 concurrent: true
15 node: '{build-node}'
16
17 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -070018 - infra-properties:
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050019 build-days-to-keep: '{build-days-to-keep}'
20
21 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -070022 - infra-parameters:
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050023 project: '{project}'
24 branch: '{branch}'
25 refspec: 'refs/heads/{branch}'
26 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -080027 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -080028 maven-version: '{maven-version}'
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050029
30 scm:
31 - gerrit-trigger-scm:
32 refspec: '$GERRIT_REFSPEC'
33 choosing-strategy: 'gerrit'
Jeremy Phelps11f5d412017-06-30 13:56:19 -050034 submodule-recursive: '{submodule-recursive}'
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050035
36 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -070037 - infra-wrappers:
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050038 build-timeout: '{build-timeout}'
39
40 triggers:
41 - gerrit-trigger-patch-submitted:
42 server: '{server-name}'
43 project: '{project}'
44 branch: '{branch}'
45 files: '**'
46
47 builders:
48 - provide-maven-settings:
49 global-settings-file: 'global-settings'
50 settings-file: '{mvn-settings}'
51 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -080052 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -040053 goals: 'clean install -DskipTests=true -B
54 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050055 settings: '{mvn-settings}'
56 settings-type: cfp
57 global-settings: 'global-settings'
58 global-settings-type: cfp
59 maven-opts:
60 - maven.test.skip=true
61
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -070062 publishers:
63 - infra-shiplogs:
64 maven-version: '{maven-version}'
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050065
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050066- job-template:
67 # Job template for Java verify jobs
68 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -080069 # The purpose of this job template is to run:
70 # 1. maven clean install
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050071 #
72 # Required Variables:
73 # branch: git branch (eg. stable/lithium or master)
74
Andrew Grimbergce2286c2017-01-31 05:50:39 -080075 name: '{project-name}-{stream}-verify-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080076
77 project-type: freestyle
78 concurrent: true
79 node: '{build-node}'
80
81 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -070082 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -080083 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080084
85 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -070086 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -080087 project: '{project}'
88 branch: '{branch}'
89 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -080090 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -080091 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -080092 maven-version: '{maven-version}'
Jessica Wagantalld25908c2018-03-28 12:06:39 -070093 - maven-params:
94 mvn-params: '{mvn-params}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080095
96 scm:
97 - gerrit-trigger-scm:
98 refspec: '$GERRIT_REFSPEC'
99 choosing-strategy: 'gerrit'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500100 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800101
102 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700103 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800104 build-timeout: '{build-timeout}'
105
106 triggers:
107 - gerrit-trigger-patch-submitted:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800108 server: '{server-name}'
109 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800110 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800111 files: '**'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800112
113 builders:
114 - provide-maven-settings:
115 global-settings-file: 'global-settings'
116 settings-file: '{mvn-settings}'
117 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800118 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400119 goals: 'clean install -B
Jessica Wagantalld25908c2018-03-28 12:06:39 -0700120 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn {mvn-params}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800121 settings: '{mvn-settings}'
122 settings-type: cfp
123 global-settings: 'global-settings'
124 global-settings-type: cfp
125
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700126 publishers:
127 - infra-shiplogs:
128 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800129
130- job-template:
JulienBe77903ed2017-07-17 15:30:26 +0200131 # Job template for Java verify jobs running checkstyle at the end
132 # When checkstyle will be fully incorporated, it is meant to replace
133 # '{project-name}-{stream}-verify-java-checkstyle'
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800134 #
135 # The purpose of this job template is to run:
136 # 1. maven clean install
137 #
138 # This job publishes checkstyle results.
JulienBe77903ed2017-07-17 15:30:26 +0200139 #
140 # Required Variables:
141 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800142
JulienBe77903ed2017-07-17 15:30:26 +0200143 name: '{project-name}-{stream}-verify-java-checkstyle'
144 project-type: freestyle
145 concurrent: true
146 node: '{build-node}'
147 properties:
148 - infra-properties:
149 build-days-to-keep: '{build-days-to-keep}'
150 parameters:
151 - infra-parameters:
152 project: '{project}'
153 branch: '{branch}'
154 refspec: 'refs/heads/{branch}'
155 artifacts: '{archive-artifacts}'
156 - maven-exec:
157 maven-version: '{maven-version}'
ac2550ef92ed92018-04-04 13:39:53 +0200158 - maven-params:
159 mvn-params: '{mvn-params}'
JulienBe77903ed2017-07-17 15:30:26 +0200160 scm:
161 - gerrit-trigger-scm:
162 refspec: '$GERRIT_REFSPEC'
163 choosing-strategy: 'gerrit'
164 submodule-recursive: '{submodule-recursive}'
165 wrappers:
166 - infra-wrappers:
167 build-timeout: '{build-timeout}'
168 triggers:
169 - gerrit-trigger-patch-submitted:
170 server: '{server-name}'
171 project: '{project}'
172 branch: '{branch}'
173 files: '**'
174 builders:
175 - provide-maven-settings:
176 global-settings-file: 'global-settings'
177 settings-file: '{mvn-settings}'
178 - maven-target:
179 maven-version: '{maven-version}'
180 goals: 'clean install -B
ac2550ef92ed92018-04-04 13:39:53 +0200181 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn {mvn-params}'
JulienBe77903ed2017-07-17 15:30:26 +0200182 settings: '{mvn-settings}'
183 settings-type: cfp
184 global-settings: 'global-settings'
185 global-settings-type: cfp
186 publishers:
187 - infra-shiplogs:
188 maven-version: '{maven-version}'
189 - checkstyle-result
190
191- job-template:
JulienBeef823f12017-04-12 04:52:40 -0700192 # Job template for Java verify jobs that takes a maven template
193 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800194 # The purpose of this job template is to run:
195 # 1. maven clean install -P {mvn-profile}
JulienBeef823f12017-04-12 04:52:40 -0700196 #
197 # Required Variables:
198 # branch: git branch (eg. stable/lithium or master)
199
200 name: '{project-name}-{stream}-verify-profile-java'
201
202 project-type: freestyle
203 concurrent: true
204 node: '{build-node}'
205
206 properties:
207 - infra-properties:
208 build-days-to-keep: '{build-days-to-keep}'
209
210 parameters:
211 - infra-parameters:
212 project: '{project}'
213 branch: '{branch}'
214 refspec: 'refs/heads/{branch}'
215 artifacts: '{archive-artifacts}'
216 - maven-exec:
217 maven-version: '{maven-version}'
218
219 scm:
220 - gerrit-trigger-scm:
221 refspec: '$GERRIT_REFSPEC'
222 choosing-strategy: 'gerrit'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500223 submodule-recursive: '{submodule-recursive}'
JulienBeef823f12017-04-12 04:52:40 -0700224
225 wrappers:
226 - infra-wrappers:
227 build-timeout: '{build-timeout}'
228
229 triggers:
230 - gerrit-trigger-patch-submitted:
231 server: '{server-name}'
232 project: '{project}'
233 branch: '{branch}'
Jessica Wagantallf5f2ccc2018-03-30 10:37:38 -0700234 files: '{files}'
JulienBeef823f12017-04-12 04:52:40 -0700235
236 builders:
237 - provide-maven-settings:
238 global-settings-file: 'global-settings'
239 settings-file: '{mvn-settings}'
240 - maven-target:
241 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400242 goals: 'clean install -P {mvn-profile} -B
243 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBeef823f12017-04-12 04:52:40 -0700244 settings: '{mvn-settings}'
245 settings-type: cfp
246 global-settings: 'global-settings'
247 global-settings-type: cfp
248
249 publishers:
250 - infra-shiplogs:
251 maven-version: '{maven-version}'
252
253- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800254 # Job template for Java verify jobs with POM not at the root
255 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800256 # The purpose of this job template is to run:
257 # 1. maven clean install
258 #
259 # This job supports subprojects.
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800260 #
261 # Required Variables:
262 # branch: git branch (eg. stable/lithium or master)
263 # pom: name/location of the pom.xml file relative to the workspace
264 # pattern: ant file-path pattern relative to the workspace used to
265 # trigger the job
266
Andrew Grimbergce2286c2017-01-31 05:50:39 -0800267 name: '{project-name}-{stream}-{subproject}-verify-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800268
269 project-type: freestyle
270 concurrent: true
271 node: '{build-node}'
272
273 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700274 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800275 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800276
277 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700278 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800279 project: '{project}'
280 branch: '{branch}'
281 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -0800282 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800283 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800284 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800285
286 scm:
287 - gerrit-trigger-scm:
288 refspec: '$GERRIT_REFSPEC'
289 choosing-strategy: 'gerrit'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500290 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800291
292 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700293 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800294 build-timeout: '{build-timeout}'
295
296 triggers:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800297 - gerrit-trigger-patch-submitted:
298 server: '{server-name}'
299 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800300 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800301 files: '{pattern}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800302
303 builders:
304 - provide-maven-settings:
305 global-settings-file: 'global-settings'
306 settings-file: '{mvn-settings}'
307 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800308 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800309 pom: '{pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400310 goals: 'clean install -B
311 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800312 settings: '{mvn-settings}'
313 settings-type: cfp
314 global-settings: 'global-settings'
315 global-settings-type: cfp
316
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700317 publishers:
318 - infra-shiplogs:
319 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800320
321- job-template:
JulienBe2f4ee072017-02-01 21:42:32 +0100322 # Job template for Java daily release jobs
323 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800324 # The purpose of this job template is to run:
325 # 1. maven clean deploy with Sonar scans
JulienBe2f4ee072017-02-01 21:42:32 +0100326 #
327 # Required Variables:
328 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800329
JulienBe2f4ee072017-02-01 21:42:32 +0100330 name: '{project-name}-{stream}-release-java-daily'
331
332 project-type: freestyle
333 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -0700334 disabled: '{disabled}'
JulienBe2f4ee072017-02-01 21:42:32 +0100335 maven-deploy-properties:
336 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700337 - infra-properties:
JulienBe2f4ee072017-02-01 21:42:32 +0100338 build-days-to-keep: '{build-days-to-keep}'
339
340 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700341 - infra-parameters:
JulienBe2f4ee072017-02-01 21:42:32 +0100342 project: '{project}'
343 branch: '{branch}'
344 refspec: 'refs/heads/{branch}'
345 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800346 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800347 maven-version: '{maven-version}'
JulienBe2f4ee072017-02-01 21:42:32 +0100348
349 scm:
350 - gerrit-trigger-scm:
351 refspec: ''
352 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500353 submodule-recursive: '{submodule-recursive}'
JulienBe2f4ee072017-02-01 21:42:32 +0100354
355 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700356 - infra-wrappers:
JulienBe2f4ee072017-02-01 21:42:32 +0100357 build-timeout: '{build-timeout}'
358
359 triggers:
360 # 11 AM UTC
361 - timed: 'H 11 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -0800362 - gerrit-trigger-release-manually:
363 server: '{server-name}'
364 project: '{project}'
365 branch: '{branch}'
JulienBe2f4ee072017-02-01 21:42:32 +0100366
367 builders:
368 - provide-maven-settings:
369 global-settings-file: 'global-settings'
370 settings-file: '{mvn-settings}'
371
JulienBe5641aa02017-02-17 01:08:38 -0800372 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800373 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800374 goals: 'clean deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -0400375 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBe5641aa02017-02-17 01:08:38 -0800376 properties:
377 - '{maven-deploy-properties}'
Jessica Wagantall6223d1d2017-08-07 14:46:58 -0700378 java-opts:
379 - '-Xmx4096m -XX:MaxPermSize=512m'
JulienBe5641aa02017-02-17 01:08:38 -0800380 settings: '{mvn-settings}'
381 settings-type: cfp
382 global-settings: 'global-settings'
383 global-settings-type: cfp
384
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700385 publishers:
386 - infra-shiplogs:
387 maven-version: '{maven-version}'
388
JulienBe5641aa02017-02-17 01:08:38 -0800389- job-template:
JulienBe77903ed2017-07-17 15:30:26 +0200390 # Job template for Java daily release jobs running checkstyle at the end
391 # When checkstyle will be fully incorporated, it is meant to replace
392 # '{project-name}-{stream}-release-java-daily'
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800393 #
394 # The purpose of this job template is to run:
395 # 1. maven clean deploy with Sonar scans
396 #
397 # This job publishes checkstyle results.
398 # This job uses a conditional regex match step to set versions.
JulienBe77903ed2017-07-17 15:30:26 +0200399 #
400 # Required Variables:
401 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800402
JulienBe77903ed2017-07-17 15:30:26 +0200403 name: '{project-name}-{stream}-release-java-daily-checkstyle'
404 project-type: freestyle
405 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -0700406 disabled: '{disabled}'
JulienBe77903ed2017-07-17 15:30:26 +0200407 maven-deploy-properties:
408 properties:
409 - infra-properties:
410 build-days-to-keep: '{build-days-to-keep}'
411 parameters:
412 - infra-parameters:
413 project: '{project}'
414 branch: '{branch}'
415 refspec: 'refs/heads/{branch}'
416 artifacts: '{archive-artifacts}'
417 - maven-exec:
418 maven-version: '{maven-version}'
419 scm:
420 - gerrit-trigger-scm:
421 refspec: ''
422 choosing-strategy: 'default'
423 submodule-recursive: '{submodule-recursive}'
424 wrappers:
425 - infra-wrappers:
426 build-timeout: '{build-timeout}'
427 triggers:
428 # 11 AM UTC
429 - timed: 'H 11 * * *'
430 - gerrit-trigger-release-manually:
431 server: '{server-name}'
432 project: '{project}'
433 branch: '{branch}'
434 builders:
435 - provide-maven-settings:
436 global-settings-file: 'global-settings'
437 settings-file: '{mvn-settings}'
JulienBed91a33a2017-09-25 15:56:34 +0200438 - conditional-step:
439 condition-kind: regex-match
440 regex: DoSetVersion
441 label: '{setVersion}'
442 steps:
443 - inject:
444 properties-file: version.properties
445 - maven-target:
446 maven-version: '{maven-version}'
447 goals: 'versions:set versions:update-child-modules versions:commit -B'
448 properties:
449 - 'newVersion=${{release_version}}'
450 settings: '{mvn-settings}'
451 settings-type: cfp
452 global-settings: 'global-settings'
453 global-settings-type: cfp
JulienBe77903ed2017-07-17 15:30:26 +0200454 - maven-target:
455 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800456 goals: 'clean deploy -B
JulienBe77903ed2017-07-17 15:30:26 +0200457 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBec9d90e22017-08-08 10:44:10 +0200458 properties: '{obj:mvn_properties}'
JulienBe77903ed2017-07-17 15:30:26 +0200459 settings: '{mvn-settings}'
460 settings-type: cfp
461 global-settings: 'global-settings'
462 global-settings-type: cfp
463 publishers:
464 - infra-shiplogs:
465 maven-version: '{maven-version}'
466 - checkstyle-result-daily
467
468- job-template:
JulienBe5641aa02017-02-17 01:08:38 -0800469 # Job template for Java daily release jobs
470 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800471 # The purpose of this job template is to run:
472 # 1. maven set versions
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800473 # 2. maven clean deploy with Sonar scans
Pamela Dragosh55ceb8f2017-05-23 12:23:16 -0400474 #
475 # Required Variables:
476 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800477
JulienBe5641aa02017-02-17 01:08:38 -0800478 name: '{project-name}-{stream}-release-version-java-daily'
479
480 project-type: freestyle
Jessica Wagantall27a8a392018-03-16 17:22:11 -0700481 disabled: '{disabled}'
JulienBe5641aa02017-02-17 01:08:38 -0800482 node: '{build-node}'
483 maven-deploy-properties:
484 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700485 - infra-properties:
JulienBe5641aa02017-02-17 01:08:38 -0800486 build-days-to-keep: '{build-days-to-keep}'
487
488 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700489 - infra-parameters:
JulienBe5641aa02017-02-17 01:08:38 -0800490 project: '{project}'
491 branch: '{branch}'
492 refspec: 'refs/heads/{branch}'
493 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800494 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800495 maven-version: '{maven-version}'
JulienBe5641aa02017-02-17 01:08:38 -0800496
497 scm:
498 - gerrit-trigger-scm:
499 refspec: ''
500 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500501 submodule-recursive: '{submodule-recursive}'
JulienBe5641aa02017-02-17 01:08:38 -0800502
503 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700504 - infra-wrappers:
JulienBe5641aa02017-02-17 01:08:38 -0800505 build-timeout: '{build-timeout}'
506
507 triggers:
508 # 11 AM UTC
Jessica Wagantall77494942017-10-02 15:12:14 -0700509 - timed: 'H H(10-17) * * *'
JulienBe5641aa02017-02-17 01:08:38 -0800510 - gerrit-trigger-release-manually:
511 server: '{server-name}'
512 project: '{project}'
513 branch: '{branch}'
514
515 builders:
516 - provide-maven-settings:
517 global-settings-file: 'global-settings'
518 settings-file: '{mvn-settings}'
519
JulienBe2f4ee072017-02-01 21:42:32 +0100520 - inject:
521 properties-file: version.properties
522 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800523 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -0400524 goals: 'versions:set versions:update-child-modules versions:commit -B'
JulienBe2f4ee072017-02-01 21:42:32 +0100525 properties:
526 - 'newVersion=${{release_version}}'
527 settings: '{mvn-settings}'
528 settings-type: cfp
529 global-settings: 'global-settings'
530 global-settings-type: cfp
531
532 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800533 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800534 goals: 'clean deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -0400535 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimberg24443ee2017-02-02 08:29:12 -0800536 properties:
537 - '{maven-deploy-properties}'
JulienBe2f4ee072017-02-01 21:42:32 +0100538 settings: '{mvn-settings}'
539 settings-type: cfp
540 global-settings: 'global-settings'
541 global-settings-type: cfp
542
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700543 publishers:
544 - infra-shiplogs:
545 maven-version: '{maven-version}'
546
JulienBe2f4ee072017-02-01 21:42:32 +0100547- job-template:
JulienBe645951d2017-09-28 18:44:18 +0200548 # Job template for Java daily release jobs
549 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800550 # The purpose of this job template is to run:
551 # 1. maven set versions
552 # 2. maven clean deploy -P {mvn-profile} with Sonar scans
JulienBe645951d2017-09-28 18:44:18 +0200553 #
554 # Required Variables:
555 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800556
JulienBe645951d2017-09-28 18:44:18 +0200557 name: '{project-name}-{stream}-release-version-profile-java-daily'
558
559 project-type: freestyle
560 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -0700561 disabled: '{disabled}'
JulienBe645951d2017-09-28 18:44:18 +0200562 maven-deploy-properties:
563 properties:
564 - infra-properties:
565 build-days-to-keep: '{build-days-to-keep}'
566
567 parameters:
568 - infra-parameters:
569 project: '{project}'
570 branch: '{branch}'
571 refspec: 'refs/heads/{branch}'
572 artifacts: '{archive-artifacts}'
573 - maven-exec:
574 maven-version: '{maven-version}'
575
576 scm:
577 - gerrit-trigger-scm:
578 refspec: ''
579 choosing-strategy: 'default'
580 submodule-recursive: '{submodule-recursive}'
581
582 wrappers:
583 - infra-wrappers:
584 build-timeout: '{build-timeout}'
585
586 triggers:
587 # 11 AM UTC
588 - timed: 'H 11 * * *'
589 - gerrit-trigger-release-manually:
590 server: '{server-name}'
591 project: '{project}'
592 branch: '{branch}'
593
594 builders:
595 - provide-maven-settings:
596 global-settings-file: 'global-settings'
597 settings-file: '{mvn-settings}'
598
599 - inject:
600 properties-file: version.properties
601 - maven-target:
602 maven-version: '{maven-version}'
603 goals: 'versions:set versions:update-child-modules versions:commit -B'
604 properties:
605 - 'newVersion=${{release_version}}'
606 settings: '{mvn-settings}'
607 settings-type: cfp
608 global-settings: 'global-settings'
609 global-settings-type: cfp
610
611 - maven-target:
612 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800613 goals: 'clean deploy -P {mvn-profile} -B
JulienBe645951d2017-09-28 18:44:18 +0200614 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
615 properties:
616 - '{maven-deploy-properties}'
617 settings: '{mvn-settings}'
618 settings-type: cfp
619 global-settings: 'global-settings'
620 global-settings-type: cfp
621
622 publishers:
623 - infra-shiplogs:
624 maven-version: '{maven-version}'
625
626
627- job-template:
Carsten Lundda8b6972017-02-15 23:59:25 +0000628 # Job template for Java daily release jobs with POM not at the root
629 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800630 # The purpose of this job template is to run:
631 # 1. maven clean deploy with Sonar scans
632 #
633 # This job supports subprojects.
Carsten Lundda8b6972017-02-15 23:59:25 +0000634 #
635 # Required Variables:
636 # branch: git branch (eg. stable/lithium or master)
637 # pom: name/location of the pom.xml file relative to the workspace
638
Carsten Lundda8b6972017-02-15 23:59:25 +0000639 name: '{project-name}-{stream}-{subproject}-release-java-daily'
640
641 project-type: freestyle
642 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -0700643 disabled: '{disabled}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000644 maven-deploy-properties:
645 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700646 - infra-properties:
Carsten Lundda8b6972017-02-15 23:59:25 +0000647 build-days-to-keep: '{build-days-to-keep}'
648
649 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700650 - infra-parameters:
Carsten Lundda8b6972017-02-15 23:59:25 +0000651 project: '{project}'
652 branch: '{branch}'
653 refspec: 'refs/heads/{branch}'
654 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800655 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800656 maven-version: '{maven-version}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000657
658 scm:
659 - gerrit-trigger-scm:
660 refspec: ''
661 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500662 submodule-recursive: '{submodule-recursive}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000663
664 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700665 - infra-wrappers:
Carsten Lundda8b6972017-02-15 23:59:25 +0000666 build-timeout: '{build-timeout}'
667
668 triggers:
669 # 11 AM UTC
670 - timed: 'H 11 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -0800671 - gerrit-trigger-release-manually:
672 server: '{server-name}'
673 project: '{project}'
674 branch: '{branch}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000675
676 builders:
677 - provide-maven-settings:
678 global-settings-file: 'global-settings'
679 settings-file: '{mvn-settings}'
680
Carsten Lundda8b6972017-02-15 23:59:25 +0000681 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800682 maven-version: '{maven-version}'
Carsten Lund63cd3b82017-02-18 18:19:22 +0000683 pom: '{pom}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800684 goals: 'clean deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -0400685 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lundda8b6972017-02-15 23:59:25 +0000686 properties:
687 - '{maven-deploy-properties}'
Jessica Wagantall30f0d782017-08-08 13:37:25 -0700688 java-opts:
689 - '-Xmx4096m -XX:MaxPermSize=512m'
Carsten Lundda8b6972017-02-15 23:59:25 +0000690 settings: '{mvn-settings}'
691 settings-type: cfp
692 global-settings: 'global-settings'
693 global-settings-type: cfp
694
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700695 publishers:
696 - infra-shiplogs:
697 maven-version: '{maven-version}'
698
Carsten Lundda8b6972017-02-15 23:59:25 +0000699- job-template:
Jessica Wagantallae897942017-09-28 10:56:55 -0700700 # Job template for Java daily release jobs with POM not at the root
701 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800702 # The purpose of this job template is to run:
703 # 1. maven set versions
704 # 2. maven clean deploy with Sonar scans
705 #
706 # This job supports subprojects.
Jessica Wagantallae897942017-09-28 10:56:55 -0700707 #
708 # Required Variables:
709 # branch: git branch (eg. stable/lithium or master)
710 # pom: name/location of the pom.xml file relative to the workspace
711
Zhaoxinga77c0412017-10-11 09:05:49 +0800712 name: '{project-name}-{stream}-{subproject}-release-version-java-daily'
713
714 project-type: freestyle
715 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -0700716 disabled: '{disabled}'
Zhaoxinga77c0412017-10-11 09:05:49 +0800717 maven-deploy-properties:
718 properties:
719 - infra-properties:
720 build-days-to-keep: '{build-days-to-keep}'
721
722 parameters:
723 - infra-parameters:
724 project: '{project}'
725 branch: '{branch}'
726 refspec: 'refs/heads/{branch}'
727 artifacts: '{archive-artifacts}'
728 - maven-exec:
729 maven-version: '{maven-version}'
730
731 scm:
732 - gerrit-trigger-scm:
733 refspec: ''
734 choosing-strategy: 'default'
735 submodule-recursive: '{submodule-recursive}'
736
737 wrappers:
738 - infra-wrappers:
739 build-timeout: '{build-timeout}'
740
741 triggers:
742 # 11 AM UTC
743 - timed: 'H 11 * * *'
744 - gerrit-trigger-release-manually:
745 server: '{server-name}'
746 project: '{project}'
747 branch: '{branch}'
748
749 builders:
750 - provide-maven-settings:
751 global-settings-file: 'global-settings'
752 settings-file: '{mvn-settings}'
753
754 - inject:
755 properties-file: version.properties
756 - maven-target:
757 maven-version: '{maven-version}'
Zhaoxing327f9592017-10-13 13:37:17 +0800758 pom: '{pom}'
Zhaoxinga77c0412017-10-11 09:05:49 +0800759 goals: 'versions:set versions:update-child-modules versions:commit -B'
760 properties:
761 - 'newVersion=${{release_version}}'
762 settings: '{mvn-settings}'
763 settings-type: cfp
764 global-settings: 'global-settings'
765 global-settings-type: cfp
766
767 - maven-target:
768 maven-version: '{maven-version}'
769 pom: '{pom}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800770 goals: 'clean deploy -B
Zhaoxinga77c0412017-10-11 09:05:49 +0800771 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
772 properties:
773 - '{maven-deploy-properties}'
774 settings: '{mvn-settings}'
775 settings-type: cfp
776 global-settings: 'global-settings'
777 global-settings-type: cfp
778
779 publishers:
780 - infra-shiplogs:
781 maven-version: '{maven-version}'
782
783- job-template:
Jessica Wagantall91685e12018-03-20 17:13:40 -0700784 # Job template for Java daily release jobs with POM not at the root
785 #
786 # The purpose of this job template is to run:
787 # 1. maven set versions
788 # 2. maven clean deploy with Sonar scans
789 #
790 # This job supports subprojects.
791 #
792 # Required Variables:
793 # branch: git branch (eg. stable/lithium or master)
794 # pom: name/location of the pom.xml file relative to the workspace
795
796 name: '{project-name}-{stream}-{subproject}-release-version-java-shell-daily'
797
798 project-type: freestyle
799 node: '{build-node}'
800 disabled: '{disabled}'
801 maven-deploy-properties:
802 properties:
803 - infra-properties:
804 build-days-to-keep: '{build-days-to-keep}'
805
806 parameters:
807 - infra-parameters:
808 project: '{project}'
809 branch: '{branch}'
810 refspec: 'refs/heads/{branch}'
811 artifacts: '{archive-artifacts}'
812 - maven-exec:
813 maven-version: '{maven-version}'
814
815 scm:
816 - gerrit-trigger-scm:
817 refspec: ''
818 choosing-strategy: 'default'
819 submodule-recursive: '{submodule-recursive}'
820
821 wrappers:
822 - infra-wrappers:
823 build-timeout: '{build-timeout}'
824
825 triggers:
826 # 11 AM UTC
827 - timed: 'H 11 * * *'
828 - gerrit-trigger-release-manually:
829 server: '{server-name}'
830 project: '{project}'
831 branch: '{branch}'
832
833 builders:
834 - provide-maven-settings:
835 global-settings-file: 'global-settings'
836 settings-file: '{mvn-settings}'
837
838 - inject:
839 properties-file: version.properties
840 - maven-target:
841 maven-version: '{maven-version}'
842 pom: '{pom}'
843 goals: 'versions:set versions:update-child-modules versions:commit -B'
844 properties:
845 - 'newVersion=${{release_version}}'
846 settings: '{mvn-settings}'
847 settings-type: cfp
848 global-settings: 'global-settings'
849 global-settings-type: cfp
850
851 - shell: '{script}'
852
853 - maven-target:
854 maven-version: '{maven-version}'
855 pom: '{pom}'
856 goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B
857 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
858 properties:
859 - '{maven-deploy-properties}'
860 settings: '{mvn-settings}'
861 settings-type: cfp
862 global-settings: 'global-settings'
863 global-settings-type: cfp
864
865 publishers:
866 - infra-shiplogs:
867 maven-version: '{maven-version}'
868
869- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800870 # Job template for Java merge jobs
871 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800872 # The purpose of this job template is to run:
873 # 1. maven clean deploy
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800874 #
875 # Required Variables:
876 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800877
Andrew Grimbergce2286c2017-01-31 05:50:39 -0800878 name: '{project-name}-{stream}-merge-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800879
880 project-type: freestyle
881 node: '{build-node}'
882
883 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700884 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800885 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800886
887 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700888 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800889 project: '{project}'
890 branch: '{branch}'
891 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -0800892 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800893 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800894 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800895
896 scm:
897 - gerrit-trigger-scm:
898 refspec: ''
899 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500900 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800901
902 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700903 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800904 build-timeout: '{build-timeout}'
905
906 triggers:
907 - gerrit-trigger-patch-merged:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800908 server: '{server-name}'
909 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800910 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800911 files: '**'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800912
913 builders:
914 - provide-maven-settings:
915 global-settings-file: 'global-settings'
916 settings-file: '{mvn-settings}'
917 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800918 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400919 goals: 'clean deploy -B
920 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800921 settings: '{mvn-settings}'
922 settings-type: cfp
923 global-settings: 'global-settings'
924 global-settings-type: cfp
925
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700926 publishers:
927 - infra-shiplogs:
928 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800929
930- job-template:
JulienBea4868a62017-07-28 17:13:11 +0200931 # Job template for Java merge jobs based on
932 # '{project-name}-{stream}-merge-java'
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800933 # The purpose of this job template is to run:
934 # 1. maven clean deploy
935 #
936 # This project supports maven properties.
JulienBea4868a62017-07-28 17:13:11 +0200937 #
938 # Required Variables:
939 # branch: git branch (eg. stable/lithium or master)
940 # maven-properties: properties passed to maven
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800941
JulienBea4868a62017-07-28 17:13:11 +0200942 name: '{project-name}-{stream}-merge-properties-java'
943
944 project-type: freestyle
945 node: '{build-node}'
946
947 properties:
948 - infra-properties:
949 build-days-to-keep: '{build-days-to-keep}'
950
951 parameters:
952 - infra-parameters:
953 project: '{project}'
954 branch: '{branch}'
955 refspec: 'refs/heads/{branch}'
956 artifacts: '{archive-artifacts}'
957 - maven-exec:
958 maven-version: '{maven-version}'
959
960 scm:
961 - gerrit-trigger-scm:
962 refspec: ''
963 choosing-strategy: 'default'
964 submodule-recursive: '{submodule-recursive}'
965
966 wrappers:
967 - infra-wrappers:
968 build-timeout: '{build-timeout}'
969
970 triggers:
971 - gerrit-trigger-patch-merged:
972 server: '{server-name}'
973 project: '{project}'
974 branch: '{branch}'
975 files: '**'
976
977 builders:
978 - provide-maven-settings:
979 global-settings-file: 'global-settings'
980 settings-file: '{mvn-settings}'
981 - maven-target:
982 maven-version: '{maven-version}'
983 goals: 'clean deploy -B
984 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
985 settings: '{mvn-settings}'
986 settings-type: cfp
987 global-settings: 'global-settings'
988 global-settings-type: cfp
JulienBec9d90e22017-08-08 10:44:10 +0200989 properties: '{obj:mvn_properties}'
JulienBea4868a62017-07-28 17:13:11 +0200990
991 publishers:
992 - infra-shiplogs:
993 maven-version: '{maven-version}'
994
995- job-template:
JulienBeef823f12017-04-12 04:52:40 -0700996 # Job template for Java merge jobs that takes a maven template
997 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800998 # The purpose of this job template is to run:
999 # 1. maven clean deploy -P {mvn-profile}
JulienBeef823f12017-04-12 04:52:40 -07001000 #
1001 # Required Variables:
1002 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001003
JulienBeef823f12017-04-12 04:52:40 -07001004 name: '{project-name}-{stream}-merge-profile-java'
1005
1006 project-type: freestyle
1007 node: '{build-node}'
1008
1009 properties:
1010 - infra-properties:
1011 build-days-to-keep: '{build-days-to-keep}'
1012
1013 parameters:
1014 - infra-parameters:
1015 project: '{project}'
1016 branch: '{branch}'
1017 refspec: 'refs/heads/{branch}'
1018 artifacts: '{archive-artifacts}'
1019 - maven-exec:
1020 maven-version: '{maven-version}'
1021
1022 scm:
1023 - gerrit-trigger-scm:
1024 refspec: ''
1025 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001026 submodule-recursive: '{submodule-recursive}'
JulienBeef823f12017-04-12 04:52:40 -07001027
1028 wrappers:
1029 - infra-wrappers:
1030 build-timeout: '{build-timeout}'
1031
1032 triggers:
1033 - gerrit-trigger-patch-merged:
1034 server: '{server-name}'
1035 project: '{project}'
1036 branch: '{branch}'
Jessica Wagantallf5f2ccc2018-03-30 10:37:38 -07001037 files: '{files}'
JulienBeef823f12017-04-12 04:52:40 -07001038
1039 builders:
1040 - provide-maven-settings:
1041 global-settings-file: 'global-settings'
1042 settings-file: '{mvn-settings}'
Determe, Sebastien (sd378r)62e4e662017-04-26 08:00:00 -07001043
1044 - docker-login
1045
JulienBeef823f12017-04-12 04:52:40 -07001046 - maven-target:
1047 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001048 goals: 'clean deploy -P {mvn-profile} -B
1049 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBeef823f12017-04-12 04:52:40 -07001050 settings: '{mvn-settings}'
1051 settings-type: cfp
1052 global-settings: 'global-settings'
1053 global-settings-type: cfp
Determe, Sebastien (sd378r)345956b2017-04-28 08:45:52 -07001054 properties:
1055 - docker.pull.registry=nexus3.onap.org:10001
1056 - docker.push.registry=nexus3.onap.org:10003
JulienBeef823f12017-04-12 04:52:40 -07001057
1058 publishers:
1059 - infra-shiplogs:
1060 maven-version: '{maven-version}'
1061
1062- job-template:
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001063 # Job template for Java merge jobs that should also be triggered by upstream
1064 # merges
1065 #
1066 # Required Variables:
1067 # stream: release stream
1068 # branch: git branch
1069 # dependencies: fully qualified upstream job name to trigger on
1070 # this may be ''
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001071
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001072 name: '{project-name}-{stream}-downstream-merge-java'
1073
1074 project-type: freestyle
1075 node: '{build-node}'
1076
1077 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001078 - infra-properties:
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001079 build-days-to-keep: '{build-days-to-keep}'
1080
1081 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001082 - infra-parameters:
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001083 project: '{project}'
1084 branch: '{branch}'
1085 refspec: 'refs/heads/{branch}'
1086 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001087 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001088 maven-version: '{maven-version}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001089
1090 scm:
1091 - gerrit-trigger-scm:
1092 refspec: ''
1093 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001094 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001095
1096 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001097 - infra-wrappers:
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001098 build-timeout: '{build-timeout}'
1099
1100 triggers:
1101 - reverse:
1102 jobs: '{dependencies}'
1103 result: 'success'
1104 - gerrit-trigger-patch-merged:
1105 server: '{server-name}'
1106 project: '{project}'
1107 branch: '{branch}'
1108 files: '**'
1109
1110 builders:
1111 - provide-maven-settings:
1112 global-settings-file: 'global-settings'
1113 settings-file: '{mvn-settings}'
1114 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001115 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001116 goals: 'clean deploy -B
1117 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001118 settings: '{mvn-settings}'
1119 settings-type: cfp
1120 global-settings: 'global-settings'
1121 global-settings-type: cfp
1122
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001123 publishers:
1124 - infra-shiplogs:
1125 maven-version: '{maven-version}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001126
1127- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001128 # Job template for Java merge jobs with POM not at the root
1129 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001130 # The purpose of this job template is to run:
1131 # 1. maven clean deploy
1132 #
1133 # This job supports subprojects.
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001134 #
1135 # Required Variables:
1136 # branch: git branch (eg. stable/lithium or master)
1137 # pom: name/location of the pom.xml file relative to the workspace
1138 # pattern: ant file-path pattern relative to the workspace used to
1139 # trigger the job
1140
Andrew Grimbergce2286c2017-01-31 05:50:39 -08001141 name: '{project-name}-{stream}-{subproject}-merge-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001142
1143 project-type: freestyle
1144 node: '{build-node}'
1145
1146 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001147 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001148 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001149
1150 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001151 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001152 project: '{project}'
1153 branch: '{branch}'
1154 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -08001155 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001156 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001157 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001158
1159 scm:
1160 - gerrit-trigger-scm:
1161 refspec: ''
1162 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001163 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001164
1165 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001166 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001167 build-timeout: '{build-timeout}'
1168
1169 triggers:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001170 - gerrit-trigger-patch-merged:
1171 server: '{server-name}'
1172 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001173 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001174 files: '{pattern}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001175
1176 builders:
1177 - provide-maven-settings:
1178 global-settings-file: 'global-settings'
1179 settings-file: '{mvn-settings}'
1180 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001181 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001182 pom: '{pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001183 goals: 'clean deploy -B
1184 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001185 settings: '{mvn-settings}'
1186 settings-type: cfp
1187 global-settings: 'global-settings'
1188 global-settings-type: cfp
1189
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001190 publishers:
1191 - infra-shiplogs:
1192 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001193
1194- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001195 # Job template for Docker daily jobs
1196 #
1197 # The purpose of this job template is to run:
1198 # 1. login to the docker registry
1199 # 2. docker push
1200 #
1201 # Required Variables:
1202 # branch: git branch (eg. stable/lithium or master)
1203
Anaël Clossonabbafb52017-02-09 17:55:10 +01001204 name: '{project-name}-{stream}-docker-java-daily'
1205 project-type: freestyle
Andrew Grimberg2137b1d2017-02-15 07:24:53 -08001206 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001207 disabled: '{disabled}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001208 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001209 - infra-properties:
Anaël Clossonabbafb52017-02-09 17:55:10 +01001210 build-days-to-keep: '{build-days-to-keep}'
1211
1212 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001213 - infra-parameters:
Anaël Clossonabbafb52017-02-09 17:55:10 +01001214 project: '{project}'
1215 branch: '{branch}'
1216 refspec: 'refs/heads/{branch}'
1217 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001218 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001219 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001220
1221 scm:
1222 - gerrit-trigger-scm:
1223 refspec: ''
1224 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001225 submodule-recursive: '{submodule-recursive}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001226
Anaël Clossonabbafb52017-02-09 17:55:10 +01001227 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001228 - infra-wrappers:
Anaël Clossonabbafb52017-02-09 17:55:10 +01001229 build-timeout: '{build-timeout}'
1230
1231 triggers:
JulienBe0d8c2c32017-02-16 11:50:48 -08001232 # 12 AM UTC
Anaël Clossonabbafb52017-02-09 17:55:10 +01001233 - timed: 'H 12 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -08001234 - gerrit-trigger-release-manually:
1235 server: '{server-name}'
1236 project: '{project}'
1237 branch: '{branch}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001238
1239 builders:
Anaël Closson63e090e2017-02-15 14:50:45 +01001240
Anaël Clossonabbafb52017-02-09 17:55:10 +01001241 - provide-maven-settings:
1242 global-settings-file: 'global-settings'
1243 settings-file: '{mvn-settings}'
Anaël Closson7313fea2017-02-14 15:56:21 +01001244
Anaël Closson63e090e2017-02-15 14:50:45 +01001245 - docker-login
1246
Anaël Clossonabbafb52017-02-09 17:55:10 +01001247 - maven-docker-push-daily:
Andrew Grimberge2465882017-02-24 12:38:05 -08001248 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001249 mvn-settings: '{mvn-settings}'
1250 pom: '{docker-pom}'
Anaël Closson30a5c772017-02-16 15:02:56 +01001251 # use default as mvn-profile if profile is not needed
1252 mvn-profile: '{mvn-profile}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001253
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001254 publishers:
1255 - infra-shiplogs:
1256 maven-version: '{maven-version}'
1257
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001258- job-template:
JulienBe91c56ec2017-06-21 23:37:39 +02001259 # Job template for building & pushing docker images
1260 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001261 # The purpose of this job template is to run:
JulienBe91c56ec2017-06-21 23:37:39 +02001262 # 1. login to the docker registry
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001263 # 2. maven clean deploy on the specified profile
1264 #
1265 # This job uses a conditional regex match step to set versions.
1266 # This template supports maven properties.
JulienBe91c56ec2017-06-21 23:37:39 +02001267 #
1268 # Required Variables:
1269 # pom: name/location of the pom.xml file relative to the workspace
1270 # profile: the docker profile defined in the pom
1271 # maven-properties: properties passed to maven
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001272
JulienBe91c56ec2017-06-21 23:37:39 +02001273 name: '{project-name}-{stream}-docker-java-properties-daily'
1274 project-type: freestyle
1275 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001276 disabled: '{disabled}'
JulienBe91c56ec2017-06-21 23:37:39 +02001277 properties:
1278 - infra-properties:
1279 build-days-to-keep: '{build-days-to-keep}'
1280 parameters:
1281 - infra-parameters:
1282 project: '{project}'
1283 branch: '{branch}'
1284 refspec: 'refs/heads/{branch}'
1285 artifacts: '{archive-artifacts}'
1286 - maven-exec:
1287 maven-version: '{maven-version}'
1288 scm:
1289 - gerrit-trigger-scm:
1290 refspec: ''
1291 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001292 submodule-recursive: '{submodule-recursive}'
JulienBe91c56ec2017-06-21 23:37:39 +02001293 wrappers:
1294 - infra-wrappers:
1295 build-timeout: '{build-timeout}'
1296 triggers:
1297 # 12 AM UTC
1298 - timed: 'H 12 * * *'
1299 - gerrit-trigger-release-manually:
1300 server: '{server-name}'
1301 project: '{project}'
1302 branch: '{branch}'
1303 builders:
1304 - provide-maven-settings:
1305 global-settings-file: 'global-settings'
1306 settings-file: '{mvn-settings}'
JulienBecda17972017-10-17 13:46:51 +02001307 - conditional-step:
1308 condition-kind: regex-match
1309 regex: DoSetVersion
1310 label: '{setVersion}'
1311 steps:
1312 - inject:
1313 properties-file: version.properties
1314 - maven-target:
1315 maven-version: '{maven-version}'
1316 goals: 'versions:set versions:update-child-modules versions:commit -B'
1317 properties:
1318 - 'newVersion=${{release_version}}'
1319 settings: '{mvn-settings}'
1320 settings-type: cfp
1321 global-settings: 'global-settings'
1322 global-settings-type: cfp
JulienBe91c56ec2017-06-21 23:37:39 +02001323 - docker-login
1324 - maven-docker-push-daily:
1325 maven-version: '{maven-version}'
1326 mvn-settings: '{mvn-settings}'
1327 pom: '{docker-pom}'
1328 properties: '{maven-properties}'
1329 # use default as mvn-profile if profile is not needed
1330 mvn-profile: '{mvn-profile}'
1331 publishers:
1332 - infra-shiplogs:
1333 maven-version: '{maven-version}'
1334
1335- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001336 # Job template for building & pushing docker images
1337 #
1338 # The purpose of this job template is to run:
1339 # 1. login to the docker registry
1340 # 2. run a specified shell builder
1341 #
1342 # Required Variables:
1343 # pom: name/location of the pom.xml file relative to the workspace
1344 # maven-properties: properties passed to maven
1345
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001346 name: '{project-name}-{stream}-docker-java-shell-daily'
1347 project-type: freestyle
1348 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001349 disabled: '{disabled}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001350 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001351 - infra-properties:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001352 build-days-to-keep: '{build-days-to-keep}'
1353
1354 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001355 - infra-parameters:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001356 project: '{project}'
1357 branch: '{branch}'
1358 refspec: 'refs/heads/{branch}'
1359 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001360 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001361 maven-version: '{maven-version}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001362
1363 scm:
1364 - gerrit-trigger-scm:
1365 refspec: ''
1366 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001367 submodule-recursive: '{submodule-recursive}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001368
1369 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001370 - infra-wrappers:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001371 build-timeout: '{build-timeout}'
1372
1373 triggers:
1374 # 12 AM UTC
1375 - timed: 'H 12 * * *'
1376 - gerrit-trigger-release-manually:
1377 server: '{server-name}'
1378 project: '{project}'
1379 branch: '{branch}'
1380
1381 builders:
1382
1383 - provide-maven-settings:
1384 global-settings-file: 'global-settings'
1385 settings-file: '{mvn-settings}'
1386
1387 - docker-login
1388
Pamela Dragosh366fbc32017-02-19 20:09:09 -05001389 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001390 maven-version: '{maven-version}'
Pamela Dragosh366fbc32017-02-19 20:09:09 -05001391 goals: '{mvn-goals}'
1392 settings: '{mvn-settings}'
1393 settings-type: cfp
1394 global-settings: 'global-settings'
1395 global-settings-type: cfp
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001396
1397 - shell: '{script}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001398
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001399 publishers:
1400 - infra-shiplogs:
1401 maven-version: '{maven-version}'
1402
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001403- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001404 # Job template for building & pushing docker images
1405 #
1406 # The purpose of this job template is to run:
1407 # 1. login to the docker registry
1408 # 2. inject a version.properties file and set versions
1409 # 3. run a specified shell builder
1410 #
1411 # Required Variables:
1412 # pom: name/location of the pom.xml file relative to the workspace
1413 # maven-properties: properties passed to maven
1414
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001415 name: '{project-name}-{stream}-docker-java-version-shell-daily'
1416 project-type: freestyle
1417 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001418 disabled: '{disabled}'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001419 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001420 - infra-properties:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001421 build-days-to-keep: '{build-days-to-keep}'
1422
1423 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001424 - infra-parameters:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001425 project: '{project}'
1426 branch: '{branch}'
1427 refspec: 'refs/heads/{branch}'
1428 artifacts: '{archive-artifacts}'
1429 - maven-exec:
1430 maven-version: '{maven-version}'
1431
1432 scm:
1433 - gerrit-trigger-scm:
1434 refspec: ''
1435 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001436 submodule-recursive: '{submodule-recursive}'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001437
1438 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001439 - infra-wrappers:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001440 build-timeout: '{build-timeout}'
1441
1442 triggers:
1443 # 12 AM UTC
1444 - timed: 'H 12 * * *'
1445 - gerrit-trigger-release-manually:
1446 server: '{server-name}'
1447 project: '{project}'
1448 branch: '{branch}'
1449
1450 builders:
1451
1452 - provide-maven-settings:
1453 global-settings-file: 'global-settings'
1454 settings-file: '{mvn-settings}'
1455
1456 - inject:
1457 properties-file: version.properties
1458
1459 - maven-target:
1460 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001461 goals: 'versions:set versions:update-child-modules versions:commit -B'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001462 properties:
1463 - 'newVersion=${{release_version}}'
1464 settings: '{mvn-settings}'
1465 settings-type: cfp
1466 global-settings: 'global-settings'
1467 global-settings-type: cfp
1468
1469 - docker-login
1470
1471 - maven-target:
1472 maven-version: '{maven-version}'
1473 goals: '{mvn-goals}'
1474 settings: '{mvn-settings}'
1475 settings-type: cfp
1476 global-settings: 'global-settings'
1477 global-settings-type: cfp
1478
1479 - shell: '{script}'
1480
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001481 publishers:
1482 - infra-shiplogs:
1483 maven-version: '{maven-version}'
1484
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001485- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001486 # Job template for building & pushing docker images
1487 #
1488 # The purpose of this job template is to run:
1489 # 1. login to the docker registry
1490 # 2. inject a version.properties file and set versions
1491 # 3. run a specified shell builder
1492 #
1493 # This template supports subprojects.
1494 #
1495 # Required Variables:
1496 # pom: name/location of the pom.xml file relative to the workspace
1497 # maven-properties: properties passed to maven
1498
Zhaoxing49773042017-10-13 17:14:35 +08001499 name: '{project-name}-{stream}-{subproject}-docker-java-version-shell-daily'
1500 project-type: freestyle
1501 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001502 disabled: '{disabled}'
Zhaoxing49773042017-10-13 17:14:35 +08001503 properties:
1504 - infra-properties:
1505 build-days-to-keep: '{build-days-to-keep}'
1506
1507 parameters:
1508 - infra-parameters:
1509 project: '{project}'
1510 branch: '{branch}'
1511 refspec: 'refs/heads/{branch}'
1512 artifacts: '{archive-artifacts}'
1513 - maven-exec:
1514 maven-version: '{maven-version}'
1515
1516 scm:
1517 - gerrit-trigger-scm:
1518 refspec: ''
1519 choosing-strategy: 'default'
1520 submodule-recursive: '{submodule-recursive}'
1521
1522 wrappers:
1523 - infra-wrappers:
1524 build-timeout: '{build-timeout}'
1525
1526 triggers:
1527 # 12 AM UTC
1528 - timed: 'H 12 * * *'
1529 - gerrit-trigger-release-manually:
1530 server: '{server-name}'
1531 project: '{project}'
1532 branch: '{branch}'
1533
1534 builders:
1535
1536 - provide-maven-settings:
1537 global-settings-file: 'global-settings'
1538 settings-file: '{mvn-settings}'
1539
1540 - inject:
1541 properties-file: version.properties
1542
1543 - maven-target:
1544 maven-version: '{maven-version}'
1545 pom: '{pom}'
1546 goals: 'versions:set versions:update-child-modules versions:commit -B'
1547 properties:
1548 - 'newVersion=${{release_version}}'
1549 settings: '{mvn-settings}'
1550 settings-type: cfp
1551 global-settings: 'global-settings'
1552 global-settings-type: cfp
1553
1554 - docker-login
1555
1556 - maven-target:
1557 maven-version: '{maven-version}'
1558 pom: '{pom}'
1559 goals: '{mvn-goals}'
1560 settings: '{mvn-settings}'
1561 settings-type: cfp
1562 global-settings: 'global-settings'
1563 global-settings-type: cfp
1564
1565 - shell: '{script}'
1566
1567 publishers:
1568 - infra-shiplogs:
1569 maven-version: '{maven-version}'
1570
1571- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001572 # Job template for building & pushing docker images
1573 #
1574 # The purpose of this job template is to run:
1575 # 1. login to the docker registry
1576 # 2. inject a version.properties file and set versions
1577 # 3. run a docker push
1578 #
1579 # Required Variables:
1580 # pom: name/location of the pom.xml file relative to the workspace
1581 # profile: the docker profile defined in the pom
1582 # maven-properties: properties passed to maven
1583
Patrick Brady39f388a2017-03-09 11:26:59 -08001584 name: '{project-name}-{stream}-docker-version-java-daily'
1585 project-type: freestyle
1586 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001587 disabled: '{disabled}'
Patrick Brady39f388a2017-03-09 11:26:59 -08001588 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001589 - infra-properties:
Patrick Brady39f388a2017-03-09 11:26:59 -08001590 build-days-to-keep: '{build-days-to-keep}'
1591
1592 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001593 - infra-parameters:
Patrick Brady39f388a2017-03-09 11:26:59 -08001594 project: '{project}'
1595 branch: '{branch}'
1596 refspec: 'refs/heads/{branch}'
1597 artifacts: '{archive-artifacts}'
1598 - maven-exec:
1599 maven-version: '{maven-version}'
1600
1601 scm:
1602 - gerrit-trigger-scm:
1603 refspec: ''
1604 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001605 submodule-recursive: '{submodule-recursive}'
Patrick Brady39f388a2017-03-09 11:26:59 -08001606
1607 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001608 - infra-wrappers:
Patrick Brady39f388a2017-03-09 11:26:59 -08001609 build-timeout: '{build-timeout}'
1610
1611 triggers:
1612 # 12 AM UTC
1613 - timed: 'H 12 * * *'
1614 - gerrit-trigger-release-manually:
1615 server: '{server-name}'
1616 project: '{project}'
1617 branch: '{branch}'
1618
1619 builders:
1620
1621 - provide-maven-settings:
1622 global-settings-file: 'global-settings'
1623 settings-file: '{mvn-settings}'
1624
1625 - inject:
1626 properties-file: version.properties
1627
1628 - maven-target:
1629 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001630 goals: 'versions:set versions:update-child-modules versions:commit -B'
Patrick Brady39f388a2017-03-09 11:26:59 -08001631 properties:
1632 - 'newVersion=${{release_version}}'
1633 settings: '{mvn-settings}'
1634 settings-type: cfp
1635 global-settings: 'global-settings'
1636 global-settings-type: cfp
1637
1638 - docker-login
1639
1640 - maven-docker-push-daily:
1641 maven-version: '{maven-version}'
1642 mvn-settings: '{mvn-settings}'
1643 pom: '{docker-pom}'
1644 # use default as mvn-profile if profile is not needed
1645 mvn-profile: '{mvn-profile}'
1646
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001647 publishers:
1648 - infra-shiplogs:
1649 maven-version: '{maven-version}'
1650
Patrick Brady39f388a2017-03-09 11:26:59 -08001651- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001652 # Job template for building & pushing docker images
1653 #
1654 # The purpose of this job template is to run:
1655 # 1. inject a version.properties file and set versions
1656 # 2. login to the docker registry
1657 # 3. run a docker push
1658 #
1659 # This job supports subprojects.
1660 #
1661 # Required Variables:
1662 # pom: name/location of the pom.xml file relative to the workspace
1663 # maven-properties: properties passed to maven
1664
Zhaoxing49773042017-10-13 17:14:35 +08001665 name: '{project-name}-{stream}-{subproject}-docker-version-java-daily'
1666 project-type: freestyle
1667 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001668 disabled: '{disabled}'
Zhaoxing49773042017-10-13 17:14:35 +08001669 properties:
1670 - infra-properties:
1671 build-days-to-keep: '{build-days-to-keep}'
1672
1673 parameters:
1674 - infra-parameters:
1675 project: '{project}'
1676 branch: '{branch}'
1677 refspec: 'refs/heads/{branch}'
1678 artifacts: '{archive-artifacts}'
1679 - maven-exec:
1680 maven-version: '{maven-version}'
1681
1682 scm:
1683 - gerrit-trigger-scm:
1684 refspec: ''
1685 choosing-strategy: 'default'
1686 submodule-recursive: '{submodule-recursive}'
1687
1688 wrappers:
1689 - infra-wrappers:
1690 build-timeout: '{build-timeout}'
1691
1692 triggers:
1693 # 12 AM UTC
1694 - timed: 'H 12 * * *'
1695 - gerrit-trigger-release-manually:
1696 server: '{server-name}'
1697 project: '{project}'
1698 branch: '{branch}'
1699
1700 builders:
1701
1702 - provide-maven-settings:
1703 global-settings-file: 'global-settings'
1704 settings-file: '{mvn-settings}'
1705
1706 - inject:
1707 properties-file: version.properties
1708
1709 - maven-target:
1710 maven-version: '{maven-version}'
1711 pom: '{pom}'
1712 goals: 'versions:set versions:update-child-modules versions:commit -B'
1713 properties:
1714 - 'newVersion=${{release_version}}'
1715 settings: '{mvn-settings}'
1716 settings-type: cfp
1717 global-settings: 'global-settings'
1718 global-settings-type: cfp
1719
1720 - docker-login
1721
1722 - maven-docker-push-daily:
1723 maven-version: '{maven-version}'
1724 pom: '{pom}'
1725 mvn-settings: '{mvn-settings}'
1726 pom: '{docker-pom}'
1727 # use default as mvn-profile if profile is not needed
1728 mvn-profile: '{mvn-profile}'
1729
1730 publishers:
1731 - infra-shiplogs:
1732 maven-version: '{maven-version}'
1733
1734- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001735 # Job template for building & pushing docker images for AAI specific repos
1736 #
1737 # The purpose of this job template is to run:
1738 # 1. login to the docker registry
1739 # 2. run maven goals
1740 # 3. run include-docker-push.sh
1741 #
1742 # Required Variables:
1743 # pom: name/location of the pom.xml file relative to the workspace
1744 # maven-properties: properties passed to maven
1745
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001746 name: '{project-name}-{stream}-aai-docker-java-daily'
1747 project-type: freestyle
1748 node: 'ubuntu1604-docker-8c-8g'
Gary Wudc3f2952017-08-23 16:48:59 -07001749 docker-image-name: ''
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001750 disabled: '{disabled}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001751 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001752 - infra-properties:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001753 build-days-to-keep: '{build-days-to-keep}'
1754
1755 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001756 - infra-parameters:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001757 project: '{project}'
1758 branch: '{branch}'
1759 refspec: 'refs/heads/{branch}'
1760 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001761 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001762 maven-version: '{maven-version}'
Gary Wudc3f2952017-08-23 16:48:59 -07001763 - docker-image-name:
1764 docker-image-name: '{docker-image-name}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001765
1766 scm:
1767 - gerrit-trigger-scm:
1768 refspec: ''
1769 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001770 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001771
1772 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001773 - infra-wrappers:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001774 build-timeout: '{build-timeout}'
1775
1776 triggers:
1777 # 12 AM UTC
1778 - timed: 'H 12 * * *'
1779 - gerrit-trigger-release-manually:
1780 server: '{server-name}'
1781 project: '{project}'
1782 branch: '{branch}'
1783
1784 builders:
1785
1786 - provide-maven-settings:
1787 global-settings-file: 'global-settings'
1788 settings-file: '{mvn-settings}'
1789
1790 - docker-login
1791
1792 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001793 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001794 pom: 'pom.xml'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001795 goals: 'clean install -DskipTests -B
1796 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001797 settings: '{mvn-settings}'
1798 settings-type: cfp
1799 global-settings: 'global-settings'
1800 global-settings-type: cfp
1801
1802 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001803 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001804 pom: '{pom}'
1805 goals: '{mvn-goals}'
1806 settings: '{mvn-settings}'
1807 settings-type: cfp
1808 global-settings: 'global-settings'
1809 global-settings-type: cfp
1810 properties:
1811 - maven.test.skip=true
Jeremy Phelps48028ab2017-03-28 15:38:24 -05001812 - docker.pull.registry=nexus3.onap.org:10001
1813 - docker.push.registry=nexus3.onap.org:10003
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001814
Venkata Harish K Kajurbf07d0a2017-03-26 11:58:15 +00001815 - shell: !include-raw-escape: include-docker-push.sh
Carsten Lund2d06a692017-02-23 18:23:07 +00001816
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001817 publishers:
1818 - infra-shiplogs:
1819 maven-version: '{maven-version}'
1820
Carsten Lund2d06a692017-02-23 18:23:07 +00001821- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001822 # Job template for building & pushing docker images for AAI specific repos
1823 #
1824 # The purpose of this job template is to run:
1825 # 1. login to the docker registry
1826 # 2. run maven goals
1827 # 3. run include-docker-push.sh
1828 #
1829 # This job supports subprojects
1830 #
1831 # Required Variables:
1832 # pom: name/location of the pom.xml file relative to the workspace
1833 # maven-properties: properties passed to maven
1834
Jessica Wagantallfec94482017-09-19 11:49:15 -07001835 name: '{project-name}-{stream}-{subproject}-aai-docker-java-daily'
1836 project-type: freestyle
1837 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001838 disabled: '{disabled}'
Jessica Wagantallfec94482017-09-19 11:49:15 -07001839 docker-image-name: ''
1840
1841 properties:
1842 - infra-properties:
1843 build-days-to-keep: '{build-days-to-keep}'
1844
1845 parameters:
1846 - infra-parameters:
1847 project: '{project}'
1848 branch: '{branch}'
1849 refspec: 'refs/heads/{branch}'
1850 artifacts: '{archive-artifacts}'
1851 - maven-exec:
1852 maven-version: '{maven-version}'
1853 - docker-image-name:
1854 docker-image-name: '{docker-image-name}'
1855
1856 scm:
1857 - gerrit-trigger-scm:
1858 refspec: ''
1859 choosing-strategy: 'default'
1860 submodule-recursive: '{submodule-recursive}'
1861
1862 wrappers:
1863 - infra-wrappers:
1864 build-timeout: '{build-timeout}'
1865
1866 triggers:
1867 # 12 AM UTC
1868 - timed: 'H 12 * * *'
1869 - gerrit-trigger-release-manually:
1870 server: '{server-name}'
1871 project: '{project}'
1872 branch: '{branch}'
1873
1874 builders:
1875
1876 - provide-maven-settings:
1877 global-settings-file: 'global-settings'
1878 settings-file: '{mvn-settings}'
1879
1880 - docker-login
1881
1882 - maven-target:
1883 maven-version: '{maven-version}'
1884 pom: 'pom.xml'
1885 goals: 'clean install -DskipTests -B
1886 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
1887 settings: '{mvn-settings}'
1888 settings-type: cfp
1889 global-settings: 'global-settings'
1890 global-settings-type: cfp
1891
1892 - maven-target:
1893 maven-version: '{maven-version}'
1894 pom: '{pom}'
1895 goals: '{mvn-goals}'
1896 settings: '{mvn-settings}'
1897 settings-type: cfp
1898 global-settings: 'global-settings'
1899 global-settings-type: cfp
1900 properties:
1901 - maven.test.skip=true
1902 - docker.pull.registry=nexus3.onap.org:10001
1903 - docker.push.registry=nexus3.onap.org:10003
1904
1905 - shell: !include-raw-escape: include-docker-push.sh
1906
1907 publishers:
1908 - infra-shiplogs:
1909 maven-version: '{maven-version}'
1910
1911- job-template:
Carsten Lund2d06a692017-02-23 18:23:07 +00001912 # Job template for Java daily release jobs
1913 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001914 # The purpose of this job template is to run:
1915 # 1. inject a version.properties file and set versions
1916 # 2. change version in all POM files to the release version specified
1917 # in version.properties. This is done using a script instread of
1918 # the mvn version plugin that assumes some specific parent structure
Carsten Lund2d06a692017-02-23 18:23:07 +00001919 #
1920 # The POM files are required to use the Maven staging plugin so the deploy
1921 # does not deploy directly to the release repo.
1922 #
1923 # Required Variables:
1924 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001925
Carsten Lund2d06a692017-02-23 18:23:07 +00001926 name: '{project-name}-{stream}-release-version2-java-daily'
1927
1928 project-type: freestyle
1929 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001930 disabled: '{disabled}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001931 maven-deploy-properties:
1932 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001933 - infra-properties:
Carsten Lund2d06a692017-02-23 18:23:07 +00001934 build-days-to-keep: '{build-days-to-keep}'
1935
1936 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001937 - infra-parameters:
Carsten Lund2d06a692017-02-23 18:23:07 +00001938 project: '{project}'
1939 branch: '{branch}'
1940 refspec: 'refs/heads/{branch}'
1941 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001942 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001943 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001944
1945 scm:
1946 - gerrit-trigger-scm:
1947 refspec: ''
1948 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001949 submodule-recursive: '{submodule-recursive}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001950
1951 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001952 - infra-wrappers:
Carsten Lund2d06a692017-02-23 18:23:07 +00001953 build-timeout: '{build-timeout}'
1954
1955 triggers:
1956 # 11 AM UTC
1957 - timed: 'H 11 * * *'
1958 - gerrit-trigger-release-manually:
1959 server: '{server-name}'
1960 project: '{project}'
1961 branch: '{branch}'
1962
1963 builders:
1964 - provide-maven-settings:
1965 global-settings-file: 'global-settings'
1966 settings-file: '{mvn-settings}'
Andrew Grimbergb7f16152017-02-24 13:13:15 -08001967 - maven-install:
1968 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001969
1970 - inject:
1971 properties-file: version.properties
1972
1973 - shell: !include-raw-escape: include-update-pom-versions.sh
1974
1975 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001976 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -08001977 goals: 'clean deploy site:site site:stage-deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -04001978 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lund2d06a692017-02-23 18:23:07 +00001979 properties:
1980 - '{maven-deploy-properties}'
1981 settings: '{mvn-settings}'
1982 settings-type: cfp
1983 global-settings: 'global-settings'
1984 global-settings-type: cfp
1985
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001986 publishers:
1987 - infra-shiplogs:
1988 maven-version: '{maven-version}'
1989
Carsten Lund2d06a692017-02-23 18:23:07 +00001990- job-template:
1991 # Job template for Java daily release jobs
1992 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001993 # The purpose of this job template is to run:
1994 # 1. inject a version.properties file and set versions
1995 # 2. change version in all POM files to the release version specified
Carsten Lund2d06a692017-02-23 18:23:07 +00001996 # in version.properties. This is done using a script instread of
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001997 # the mvn version plugin that assumes some specific parent structure
Carsten Lund2d06a692017-02-23 18:23:07 +00001998 #
1999 # The POM files are required to use the Maven staging plugin so the deploy
2000 # does not deploy directly to the release repo.
2001 #
2002 # Required Variables:
2003 # branch: git branch (eg. stable/lithium or master)
2004 # pom: name/location of the pom.xml file relative to the workspace
2005 # pattern: ant file-path pattern relative to the workspace used to
2006 # trigger the job
2007
2008 name: '{project-name}-{stream}-{subproject}-release-version2-java-daily'
2009
2010 project-type: freestyle
2011 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07002012 disabled: '{disabled}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002013 maven-deploy-properties:
2014 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002015 - infra-properties:
Carsten Lund2d06a692017-02-23 18:23:07 +00002016 build-days-to-keep: '{build-days-to-keep}'
2017
2018 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002019 - infra-parameters:
Carsten Lund2d06a692017-02-23 18:23:07 +00002020 project: '{project}'
2021 branch: '{branch}'
2022 refspec: 'refs/heads/{branch}'
2023 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08002024 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08002025 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002026
2027 scm:
2028 - gerrit-trigger-scm:
2029 refspec: ''
2030 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002031 submodule-recursive: '{submodule-recursive}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002032
2033 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002034 - infra-wrappers:
Carsten Lund2d06a692017-02-23 18:23:07 +00002035 build-timeout: '{build-timeout}'
2036
2037 triggers:
2038 # 11 AM UTC
2039 - timed: 'H 11 * * *'
2040 - gerrit-trigger-release-manually:
2041 server: '{server-name}'
2042 project: '{project}'
2043 branch: '{branch}'
2044 files: '{pattern}'
2045
2046 builders:
2047 - provide-maven-settings:
2048 global-settings-file: 'global-settings'
2049 settings-file: '{mvn-settings}'
Andrew Grimbergb7f16152017-02-24 13:13:15 -08002050 - maven-install:
2051 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002052
2053 - inject:
2054 properties-file: version.properties
2055
2056 - shell: !include-raw-escape: include-update-pom-versions.sh
2057
2058 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08002059 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002060 pom: '{pom}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -08002061 goals: 'clean deploy site:site site:stage-deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -04002062 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lund2d06a692017-02-23 18:23:07 +00002063 properties:
2064 - '{maven-deploy-properties}'
2065 settings: '{mvn-settings}'
2066 settings-type: cfp
2067 global-settings: 'global-settings'
2068 global-settings-type: cfp
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002069
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07002070 publishers:
2071 - infra-shiplogs:
2072 maven-version: '{maven-version}'
2073
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002074- job-template:
Dan Timoneya44e0b42017-10-06 09:52:29 -04002075 # Job template for Java daily release jobs
2076 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002077 # The purpose of this job template is to run:
2078 # 1. inject a version.properties file and set versions
2079 # 2. change version in all POM files to the release version specified
Dan Timoneya44e0b42017-10-06 09:52:29 -04002080 # in version.properties. This is done using a script instread of
2081 # the mvn version plugin that assumes some specific parent structure
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002082 # This version does NOT change the version within the <parent> tag
Dan Timoneya44e0b42017-10-06 09:52:29 -04002083 #
2084 # The POM files are required to use the Maven staging plugin so the deploy
2085 # does not deploy directly to the release repo.
2086 #
2087 # Required Variables:
2088 # branch: git branch (eg. stable/lithium or master)
2089 # pom: name/location of the pom.xml file relative to the workspace
2090 # pattern: ant file-path pattern relative to the workspace used to
2091 # trigger the job
2092
2093 name: '{project-name}-{stream}-{subproject}-release-version3-java-daily'
2094
2095 project-type: freestyle
2096 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07002097 disabled: '{disabled}'
Dan Timoneya44e0b42017-10-06 09:52:29 -04002098 maven-deploy-properties:
2099 properties:
2100 - infra-properties:
2101 build-days-to-keep: '{build-days-to-keep}'
2102
2103 parameters:
2104 - infra-parameters:
2105 project: '{project}'
2106 branch: '{branch}'
2107 refspec: 'refs/heads/{branch}'
2108 artifacts: '{archive-artifacts}'
2109 - maven-exec:
2110 maven-version: '{maven-version}'
2111
2112 scm:
2113 - gerrit-trigger-scm:
2114 refspec: ''
2115 choosing-strategy: 'default'
2116 submodule-recursive: '{submodule-recursive}'
2117
2118 wrappers:
2119 - infra-wrappers:
2120 build-timeout: '{build-timeout}'
2121
2122 triggers:
2123 # 11 AM UTC
2124 - timed: 'H 11 * * *'
2125 - gerrit-trigger-release-manually:
2126 server: '{server-name}'
2127 project: '{project}'
2128 branch: '{branch}'
2129 files: '{pattern}'
2130
2131 builders:
2132 - provide-maven-settings:
2133 global-settings-file: 'global-settings'
2134 settings-file: '{mvn-settings}'
2135 - maven-install:
2136 maven-version: '{maven-version}'
2137
2138 - inject:
2139 properties-file: version.properties
2140
2141 - shell: !include-raw-escape: include-update-pom-versions-not-parent.sh
2142
2143 - maven-target:
2144 maven-version: '{maven-version}'
2145 pom: '{pom}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -08002146 goals: 'clean deploy site:site site:stage-deploy -B
Dan Timoneya44e0b42017-10-06 09:52:29 -04002147 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
2148 properties:
2149 - '{maven-deploy-properties}'
2150 settings: '{mvn-settings}'
2151 settings-type: cfp
2152 global-settings: 'global-settings'
2153 global-settings-type: cfp
2154
2155 publishers:
2156 - infra-shiplogs:
2157 maven-version: '{maven-version}'
2158
2159- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002160 # Job template for Java merge jobs for SDC specific repos
ig61339fdb9d22017-04-03 17:47:19 +03002161 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002162 # The purpose of this job template is to run:
2163 # 1. maven clean deploy
ig61339fdb9d22017-04-03 17:47:19 +03002164 #
2165 # Required Variables:
2166 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002167
ig61339fdb9d22017-04-03 17:47:19 +03002168 name: '{project-name}-{stream}-sdc-merge-java'
2169
2170 project-type: freestyle
ig6133cb3f8232017-04-05 14:22:42 +03002171 node: 'ubuntu1604-docker-8c-8g'
ig61339fdb9d22017-04-03 17:47:19 +03002172
2173 properties:
2174 - infra-properties:
2175 build-days-to-keep: '{build-days-to-keep}'
2176
2177 parameters:
2178 - infra-parameters:
2179 project: '{project}'
2180 branch: '{branch}'
2181 refspec: 'refs/heads/{branch}'
2182 artifacts: '{archive-artifacts}'
2183 - maven-exec:
2184 maven-version: '{maven-version}'
2185
2186 scm:
2187 - gerrit-trigger-scm:
2188 refspec: ''
2189 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002190 submodule-recursive: '{submodule-recursive}'
ig61339fdb9d22017-04-03 17:47:19 +03002191
2192 wrappers:
2193 - infra-wrappers:
2194 build-timeout: '{build-timeout}'
2195
2196 triggers:
2197 - gerrit-trigger-patch-merged:
2198 server: '{server-name}'
2199 project: '{project}'
2200 branch: '{branch}'
2201 files: '**'
2202
2203 builders:
2204 - provide-maven-settings:
2205 global-settings-file: 'global-settings'
2206 settings-file: '{mvn-settings}'
ig61339fdb9d22017-04-03 17:47:19 +03002207
2208 - docker-login
2209
Jessica Wagantall9a03dac2018-03-19 09:27:18 -07002210 - maven-docker-push-daily-test:
ig61339fdb9d22017-04-03 17:47:19 +03002211 maven-version: '{maven-version}'
ig6133cb3f8232017-04-05 14:22:42 +03002212 mvn-settings: '{mvn-settings}'
2213 pom: '{docker-pom}'
2214 # use default as mvn-profile if profile is not needed
2215 mvn-profile: '{mvn-profile}'
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07002216
2217 publishers:
2218 - infra-shiplogs:
2219 maven-version: '{maven-version}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002220
2221- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002222 # Job template for building & pushing docker images for AAI specific repos
2223 #
2224 # The purpose of this job template is to run:
2225 # 1. login to the docker registry
2226 # 2. run maven clean install goals skipping tests
2227 # 3. run maven goals
2228 #
2229 # Required Variables:
2230 # pom: name/location of the pom.xml file relative to the workspace
2231 # maven-properties: properties passed to maven
2232
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002233 name: '{project-name}-{stream}-aai-docker-java-version-daily'
2234 project-type: freestyle
2235 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07002236 disabled: '{disabled}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002237 properties:
2238 - infra-properties:
2239 build-days-to-keep: '{build-days-to-keep}'
2240
2241 parameters:
2242 - infra-parameters:
2243 project: '{project}'
2244 branch: '{branch}'
2245 refspec: 'refs/heads/{branch}'
2246 artifacts: '{archive-artifacts}'
2247 - maven-exec:
2248 maven-version: '{maven-version}'
2249
2250 scm:
2251 - gerrit-trigger-scm:
2252 refspec: ''
2253 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002254 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002255
2256 wrappers:
2257 - infra-wrappers:
2258 build-timeout: '{build-timeout}'
2259
2260 triggers:
2261 # 12 AM UTC
2262 - timed: 'H 12 * * *'
2263 - gerrit-trigger-release-manually:
2264 server: '{server-name}'
2265 project: '{project}'
2266 branch: '{branch}'
2267
2268 builders:
2269
2270 - provide-maven-settings:
2271 global-settings-file: 'global-settings'
2272 settings-file: '{mvn-settings}'
2273
2274 - docker-login
2275
2276 - maven-target:
2277 maven-version: '{maven-version}'
2278 pom: 'pom.xml'
2279 goals: 'clean install -DskipTests -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
2280 settings: '{mvn-settings}'
2281 settings-type: cfp
2282 global-settings: 'global-settings'
2283 global-settings-type: cfp
2284
2285 - maven-target:
2286 maven-version: '{maven-version}'
2287 pom: '{pom}'
2288 goals: '{mvn-goals}'
2289 settings: '{mvn-settings}'
2290 settings-type: cfp
2291 global-settings: 'global-settings'
2292 global-settings-type: cfp
2293 properties:
2294 - maven.test.skip=true
2295 - docker.pull.registry=nexus3.onap.org:10001
2296 - docker.push.registry=nexus3.onap.org:10003
2297
2298 publishers:
2299 - infra-shiplogs:
2300 maven-version: '{maven-version}'
2301