blob: 768392414185c0784cbccf3bac0d3ed7d2fb514d [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}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -07001220 - maven-params:
1221 mvn-params: '{mvn-params}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001222
1223 scm:
1224 - gerrit-trigger-scm:
1225 refspec: ''
1226 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001227 submodule-recursive: '{submodule-recursive}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001228
Anaël Clossonabbafb52017-02-09 17:55:10 +01001229 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001230 - infra-wrappers:
Anaël Clossonabbafb52017-02-09 17:55:10 +01001231 build-timeout: '{build-timeout}'
1232
1233 triggers:
JulienBe0d8c2c32017-02-16 11:50:48 -08001234 # 12 AM UTC
Anaël Clossonabbafb52017-02-09 17:55:10 +01001235 - timed: 'H 12 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -08001236 - gerrit-trigger-release-manually:
1237 server: '{server-name}'
1238 project: '{project}'
1239 branch: '{branch}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001240
1241 builders:
Anaël Closson63e090e2017-02-15 14:50:45 +01001242
Anaël Clossonabbafb52017-02-09 17:55:10 +01001243 - provide-maven-settings:
1244 global-settings-file: 'global-settings'
1245 settings-file: '{mvn-settings}'
Anaël Closson7313fea2017-02-14 15:56:21 +01001246
Anaël Closson63e090e2017-02-15 14:50:45 +01001247 - docker-login
1248
Anaël Clossonabbafb52017-02-09 17:55:10 +01001249 - maven-docker-push-daily:
Andrew Grimberge2465882017-02-24 12:38:05 -08001250 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001251 mvn-settings: '{mvn-settings}'
1252 pom: '{docker-pom}'
Anaël Closson30a5c772017-02-16 15:02:56 +01001253 # use default as mvn-profile if profile is not needed
1254 mvn-profile: '{mvn-profile}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -07001255 mvn-params: '{mvn-params}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001256
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001257 publishers:
1258 - infra-shiplogs:
1259 maven-version: '{maven-version}'
1260
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001261- job-template:
JulienBe91c56ec2017-06-21 23:37:39 +02001262 # Job template for building & pushing docker images
1263 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001264 # The purpose of this job template is to run:
JulienBe91c56ec2017-06-21 23:37:39 +02001265 # 1. login to the docker registry
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001266 # 2. maven clean deploy on the specified profile
1267 #
1268 # This job uses a conditional regex match step to set versions.
1269 # This template supports maven properties.
JulienBe91c56ec2017-06-21 23:37:39 +02001270 #
1271 # Required Variables:
1272 # pom: name/location of the pom.xml file relative to the workspace
1273 # profile: the docker profile defined in the pom
1274 # maven-properties: properties passed to maven
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001275
JulienBe91c56ec2017-06-21 23:37:39 +02001276 name: '{project-name}-{stream}-docker-java-properties-daily'
1277 project-type: freestyle
1278 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001279 disabled: '{disabled}'
JulienBe91c56ec2017-06-21 23:37:39 +02001280 properties:
1281 - infra-properties:
1282 build-days-to-keep: '{build-days-to-keep}'
1283 parameters:
1284 - infra-parameters:
1285 project: '{project}'
1286 branch: '{branch}'
1287 refspec: 'refs/heads/{branch}'
1288 artifacts: '{archive-artifacts}'
1289 - maven-exec:
1290 maven-version: '{maven-version}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -07001291 - maven-params:
1292 mvn-params: '{mvn-params}'
JulienBe91c56ec2017-06-21 23:37:39 +02001293 scm:
1294 - gerrit-trigger-scm:
1295 refspec: ''
1296 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001297 submodule-recursive: '{submodule-recursive}'
JulienBe91c56ec2017-06-21 23:37:39 +02001298 wrappers:
1299 - infra-wrappers:
1300 build-timeout: '{build-timeout}'
1301 triggers:
1302 # 12 AM UTC
1303 - timed: 'H 12 * * *'
1304 - gerrit-trigger-release-manually:
1305 server: '{server-name}'
1306 project: '{project}'
1307 branch: '{branch}'
1308 builders:
1309 - provide-maven-settings:
1310 global-settings-file: 'global-settings'
1311 settings-file: '{mvn-settings}'
JulienBecda17972017-10-17 13:46:51 +02001312 - conditional-step:
1313 condition-kind: regex-match
1314 regex: DoSetVersion
1315 label: '{setVersion}'
1316 steps:
1317 - inject:
1318 properties-file: version.properties
1319 - maven-target:
1320 maven-version: '{maven-version}'
1321 goals: 'versions:set versions:update-child-modules versions:commit -B'
1322 properties:
1323 - 'newVersion=${{release_version}}'
1324 settings: '{mvn-settings}'
1325 settings-type: cfp
1326 global-settings: 'global-settings'
1327 global-settings-type: cfp
JulienBe91c56ec2017-06-21 23:37:39 +02001328 - docker-login
1329 - maven-docker-push-daily:
1330 maven-version: '{maven-version}'
1331 mvn-settings: '{mvn-settings}'
1332 pom: '{docker-pom}'
1333 properties: '{maven-properties}'
1334 # use default as mvn-profile if profile is not needed
1335 mvn-profile: '{mvn-profile}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -07001336 mvn-params: '{mvn-params}'
JulienBe91c56ec2017-06-21 23:37:39 +02001337 publishers:
1338 - infra-shiplogs:
1339 maven-version: '{maven-version}'
1340
1341- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001342 # Job template for building & pushing docker images
1343 #
1344 # The purpose of this job template is to run:
1345 # 1. login to the docker registry
1346 # 2. run a specified shell builder
1347 #
1348 # Required Variables:
1349 # pom: name/location of the pom.xml file relative to the workspace
1350 # maven-properties: properties passed to maven
1351
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001352 name: '{project-name}-{stream}-docker-java-shell-daily'
1353 project-type: freestyle
1354 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001355 disabled: '{disabled}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001356 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001357 - infra-properties:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001358 build-days-to-keep: '{build-days-to-keep}'
1359
1360 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001361 - infra-parameters:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001362 project: '{project}'
1363 branch: '{branch}'
1364 refspec: 'refs/heads/{branch}'
1365 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001366 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001367 maven-version: '{maven-version}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001368
1369 scm:
1370 - gerrit-trigger-scm:
1371 refspec: ''
1372 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001373 submodule-recursive: '{submodule-recursive}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001374
1375 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001376 - infra-wrappers:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001377 build-timeout: '{build-timeout}'
1378
1379 triggers:
1380 # 12 AM UTC
1381 - timed: 'H 12 * * *'
1382 - gerrit-trigger-release-manually:
1383 server: '{server-name}'
1384 project: '{project}'
1385 branch: '{branch}'
1386
1387 builders:
1388
1389 - provide-maven-settings:
1390 global-settings-file: 'global-settings'
1391 settings-file: '{mvn-settings}'
1392
1393 - docker-login
1394
Pamela Dragosh366fbc32017-02-19 20:09:09 -05001395 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001396 maven-version: '{maven-version}'
Pamela Dragosh366fbc32017-02-19 20:09:09 -05001397 goals: '{mvn-goals}'
1398 settings: '{mvn-settings}'
1399 settings-type: cfp
1400 global-settings: 'global-settings'
1401 global-settings-type: cfp
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001402
1403 - shell: '{script}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001404
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001405 publishers:
1406 - infra-shiplogs:
1407 maven-version: '{maven-version}'
1408
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001409- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001410 # Job template for building & pushing docker images
1411 #
1412 # The purpose of this job template is to run:
1413 # 1. login to the docker registry
1414 # 2. inject a version.properties file and set versions
1415 # 3. run a specified shell builder
1416 #
1417 # Required Variables:
1418 # pom: name/location of the pom.xml file relative to the workspace
1419 # maven-properties: properties passed to maven
1420
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001421 name: '{project-name}-{stream}-docker-java-version-shell-daily'
1422 project-type: freestyle
1423 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001424 disabled: '{disabled}'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001425 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001426 - infra-properties:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001427 build-days-to-keep: '{build-days-to-keep}'
1428
1429 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001430 - infra-parameters:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001431 project: '{project}'
1432 branch: '{branch}'
1433 refspec: 'refs/heads/{branch}'
1434 artifacts: '{archive-artifacts}'
1435 - maven-exec:
1436 maven-version: '{maven-version}'
1437
1438 scm:
1439 - gerrit-trigger-scm:
1440 refspec: ''
1441 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001442 submodule-recursive: '{submodule-recursive}'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001443
1444 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001445 - infra-wrappers:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001446 build-timeout: '{build-timeout}'
1447
1448 triggers:
1449 # 12 AM UTC
1450 - timed: 'H 12 * * *'
1451 - gerrit-trigger-release-manually:
1452 server: '{server-name}'
1453 project: '{project}'
1454 branch: '{branch}'
1455
1456 builders:
1457
1458 - provide-maven-settings:
1459 global-settings-file: 'global-settings'
1460 settings-file: '{mvn-settings}'
1461
1462 - inject:
1463 properties-file: version.properties
1464
1465 - maven-target:
1466 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001467 goals: 'versions:set versions:update-child-modules versions:commit -B'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001468 properties:
1469 - 'newVersion=${{release_version}}'
1470 settings: '{mvn-settings}'
1471 settings-type: cfp
1472 global-settings: 'global-settings'
1473 global-settings-type: cfp
1474
1475 - docker-login
1476
1477 - maven-target:
1478 maven-version: '{maven-version}'
1479 goals: '{mvn-goals}'
1480 settings: '{mvn-settings}'
1481 settings-type: cfp
1482 global-settings: 'global-settings'
1483 global-settings-type: cfp
1484
1485 - shell: '{script}'
1486
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001487 publishers:
1488 - infra-shiplogs:
1489 maven-version: '{maven-version}'
1490
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001491- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001492 # Job template for building & pushing docker images
1493 #
1494 # The purpose of this job template is to run:
1495 # 1. login to the docker registry
1496 # 2. inject a version.properties file and set versions
1497 # 3. run a specified shell builder
1498 #
1499 # This template supports subprojects.
1500 #
1501 # Required Variables:
1502 # pom: name/location of the pom.xml file relative to the workspace
1503 # maven-properties: properties passed to maven
1504
Zhaoxing49773042017-10-13 17:14:35 +08001505 name: '{project-name}-{stream}-{subproject}-docker-java-version-shell-daily'
1506 project-type: freestyle
1507 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001508 disabled: '{disabled}'
Zhaoxing49773042017-10-13 17:14:35 +08001509 properties:
1510 - infra-properties:
1511 build-days-to-keep: '{build-days-to-keep}'
1512
1513 parameters:
1514 - infra-parameters:
1515 project: '{project}'
1516 branch: '{branch}'
1517 refspec: 'refs/heads/{branch}'
1518 artifacts: '{archive-artifacts}'
1519 - maven-exec:
1520 maven-version: '{maven-version}'
1521
1522 scm:
1523 - gerrit-trigger-scm:
1524 refspec: ''
1525 choosing-strategy: 'default'
1526 submodule-recursive: '{submodule-recursive}'
1527
1528 wrappers:
1529 - infra-wrappers:
1530 build-timeout: '{build-timeout}'
1531
1532 triggers:
1533 # 12 AM UTC
1534 - timed: 'H 12 * * *'
1535 - gerrit-trigger-release-manually:
1536 server: '{server-name}'
1537 project: '{project}'
1538 branch: '{branch}'
1539
1540 builders:
1541
1542 - provide-maven-settings:
1543 global-settings-file: 'global-settings'
1544 settings-file: '{mvn-settings}'
1545
1546 - inject:
1547 properties-file: version.properties
1548
1549 - maven-target:
1550 maven-version: '{maven-version}'
1551 pom: '{pom}'
1552 goals: 'versions:set versions:update-child-modules versions:commit -B'
1553 properties:
1554 - 'newVersion=${{release_version}}'
1555 settings: '{mvn-settings}'
1556 settings-type: cfp
1557 global-settings: 'global-settings'
1558 global-settings-type: cfp
1559
1560 - docker-login
1561
1562 - maven-target:
1563 maven-version: '{maven-version}'
1564 pom: '{pom}'
1565 goals: '{mvn-goals}'
1566 settings: '{mvn-settings}'
1567 settings-type: cfp
1568 global-settings: 'global-settings'
1569 global-settings-type: cfp
1570
1571 - shell: '{script}'
1572
1573 publishers:
1574 - infra-shiplogs:
1575 maven-version: '{maven-version}'
1576
1577- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001578 # Job template for building & pushing docker images
1579 #
1580 # The purpose of this job template is to run:
1581 # 1. login to the docker registry
1582 # 2. inject a version.properties file and set versions
1583 # 3. run a docker push
1584 #
1585 # Required Variables:
1586 # pom: name/location of the pom.xml file relative to the workspace
1587 # profile: the docker profile defined in the pom
1588 # maven-properties: properties passed to maven
1589
Patrick Brady39f388a2017-03-09 11:26:59 -08001590 name: '{project-name}-{stream}-docker-version-java-daily'
1591 project-type: freestyle
1592 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001593 disabled: '{disabled}'
Patrick Brady39f388a2017-03-09 11:26:59 -08001594 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001595 - infra-properties:
Patrick Brady39f388a2017-03-09 11:26:59 -08001596 build-days-to-keep: '{build-days-to-keep}'
1597
1598 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001599 - infra-parameters:
Patrick Brady39f388a2017-03-09 11:26:59 -08001600 project: '{project}'
1601 branch: '{branch}'
1602 refspec: 'refs/heads/{branch}'
1603 artifacts: '{archive-artifacts}'
1604 - maven-exec:
1605 maven-version: '{maven-version}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -07001606 - maven-params:
1607 mvn-params: '{mvn-params}'
Patrick Brady39f388a2017-03-09 11:26:59 -08001608
1609 scm:
1610 - gerrit-trigger-scm:
1611 refspec: ''
1612 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001613 submodule-recursive: '{submodule-recursive}'
Patrick Brady39f388a2017-03-09 11:26:59 -08001614
1615 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001616 - infra-wrappers:
Patrick Brady39f388a2017-03-09 11:26:59 -08001617 build-timeout: '{build-timeout}'
1618
1619 triggers:
1620 # 12 AM UTC
1621 - timed: 'H 12 * * *'
1622 - gerrit-trigger-release-manually:
1623 server: '{server-name}'
1624 project: '{project}'
1625 branch: '{branch}'
1626
1627 builders:
1628
1629 - provide-maven-settings:
1630 global-settings-file: 'global-settings'
1631 settings-file: '{mvn-settings}'
1632
1633 - inject:
1634 properties-file: version.properties
1635
1636 - maven-target:
1637 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001638 goals: 'versions:set versions:update-child-modules versions:commit -B'
Patrick Brady39f388a2017-03-09 11:26:59 -08001639 properties:
1640 - 'newVersion=${{release_version}}'
1641 settings: '{mvn-settings}'
1642 settings-type: cfp
1643 global-settings: 'global-settings'
1644 global-settings-type: cfp
1645
1646 - docker-login
1647
1648 - maven-docker-push-daily:
1649 maven-version: '{maven-version}'
1650 mvn-settings: '{mvn-settings}'
1651 pom: '{docker-pom}'
1652 # use default as mvn-profile if profile is not needed
1653 mvn-profile: '{mvn-profile}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -07001654 mvn-params: '{mvn-params}'
Patrick Brady39f388a2017-03-09 11:26:59 -08001655
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001656 publishers:
1657 - infra-shiplogs:
1658 maven-version: '{maven-version}'
1659
Patrick Brady39f388a2017-03-09 11:26:59 -08001660- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001661 # Job template for building & pushing docker images
1662 #
1663 # The purpose of this job template is to run:
1664 # 1. inject a version.properties file and set versions
1665 # 2. login to the docker registry
1666 # 3. run a docker push
1667 #
1668 # This job supports subprojects.
1669 #
1670 # Required Variables:
1671 # pom: name/location of the pom.xml file relative to the workspace
1672 # maven-properties: properties passed to maven
1673
Zhaoxing49773042017-10-13 17:14:35 +08001674 name: '{project-name}-{stream}-{subproject}-docker-version-java-daily'
1675 project-type: freestyle
1676 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001677 disabled: '{disabled}'
Zhaoxing49773042017-10-13 17:14:35 +08001678 properties:
1679 - infra-properties:
1680 build-days-to-keep: '{build-days-to-keep}'
1681
1682 parameters:
1683 - infra-parameters:
1684 project: '{project}'
1685 branch: '{branch}'
1686 refspec: 'refs/heads/{branch}'
1687 artifacts: '{archive-artifacts}'
1688 - maven-exec:
1689 maven-version: '{maven-version}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -07001690 - maven-params:
1691 mvn-params: '{mvn-params}'
Zhaoxing49773042017-10-13 17:14:35 +08001692
1693 scm:
1694 - gerrit-trigger-scm:
1695 refspec: ''
1696 choosing-strategy: 'default'
1697 submodule-recursive: '{submodule-recursive}'
1698
1699 wrappers:
1700 - infra-wrappers:
1701 build-timeout: '{build-timeout}'
1702
1703 triggers:
1704 # 12 AM UTC
1705 - timed: 'H 12 * * *'
1706 - gerrit-trigger-release-manually:
1707 server: '{server-name}'
1708 project: '{project}'
1709 branch: '{branch}'
1710
1711 builders:
1712
1713 - provide-maven-settings:
1714 global-settings-file: 'global-settings'
1715 settings-file: '{mvn-settings}'
1716
1717 - inject:
1718 properties-file: version.properties
1719
1720 - maven-target:
1721 maven-version: '{maven-version}'
1722 pom: '{pom}'
1723 goals: 'versions:set versions:update-child-modules versions:commit -B'
1724 properties:
1725 - 'newVersion=${{release_version}}'
1726 settings: '{mvn-settings}'
1727 settings-type: cfp
1728 global-settings: 'global-settings'
1729 global-settings-type: cfp
1730
1731 - docker-login
1732
1733 - maven-docker-push-daily:
1734 maven-version: '{maven-version}'
1735 pom: '{pom}'
1736 mvn-settings: '{mvn-settings}'
1737 pom: '{docker-pom}'
1738 # use default as mvn-profile if profile is not needed
1739 mvn-profile: '{mvn-profile}'
Jessica Wagantallf8f030a2018-05-07 11:13:19 -07001740 mvn-params: '{mvn-params}'
Zhaoxing49773042017-10-13 17:14:35 +08001741
1742 publishers:
1743 - infra-shiplogs:
1744 maven-version: '{maven-version}'
1745
1746- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001747 # Job template for building & pushing docker images for AAI specific repos
1748 #
1749 # The purpose of this job template is to run:
1750 # 1. login to the docker registry
1751 # 2. run maven goals
1752 # 3. run include-docker-push.sh
1753 #
1754 # Required Variables:
1755 # pom: name/location of the pom.xml file relative to the workspace
1756 # maven-properties: properties passed to maven
1757
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001758 name: '{project-name}-{stream}-aai-docker-java-daily'
1759 project-type: freestyle
1760 node: 'ubuntu1604-docker-8c-8g'
Gary Wudc3f2952017-08-23 16:48:59 -07001761 docker-image-name: ''
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001762 disabled: '{disabled}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001763 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001764 - infra-properties:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001765 build-days-to-keep: '{build-days-to-keep}'
1766
1767 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001768 - infra-parameters:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001769 project: '{project}'
1770 branch: '{branch}'
1771 refspec: 'refs/heads/{branch}'
1772 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001773 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001774 maven-version: '{maven-version}'
Gary Wudc3f2952017-08-23 16:48:59 -07001775 - docker-image-name:
1776 docker-image-name: '{docker-image-name}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001777
1778 scm:
1779 - gerrit-trigger-scm:
1780 refspec: ''
1781 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001782 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001783
1784 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001785 - infra-wrappers:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001786 build-timeout: '{build-timeout}'
1787
1788 triggers:
1789 # 12 AM UTC
1790 - timed: 'H 12 * * *'
1791 - gerrit-trigger-release-manually:
1792 server: '{server-name}'
1793 project: '{project}'
1794 branch: '{branch}'
1795
1796 builders:
1797
1798 - provide-maven-settings:
1799 global-settings-file: 'global-settings'
1800 settings-file: '{mvn-settings}'
1801
1802 - docker-login
1803
1804 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001805 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001806 pom: 'pom.xml'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001807 goals: 'clean install -DskipTests -B
1808 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001809 settings: '{mvn-settings}'
1810 settings-type: cfp
1811 global-settings: 'global-settings'
1812 global-settings-type: cfp
1813
1814 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001815 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001816 pom: '{pom}'
1817 goals: '{mvn-goals}'
1818 settings: '{mvn-settings}'
1819 settings-type: cfp
1820 global-settings: 'global-settings'
1821 global-settings-type: cfp
1822 properties:
1823 - maven.test.skip=true
Jeremy Phelps48028ab2017-03-28 15:38:24 -05001824 - docker.pull.registry=nexus3.onap.org:10001
1825 - docker.push.registry=nexus3.onap.org:10003
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001826
Venkata Harish K Kajurbf07d0a2017-03-26 11:58:15 +00001827 - shell: !include-raw-escape: include-docker-push.sh
Carsten Lund2d06a692017-02-23 18:23:07 +00001828
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001829 publishers:
1830 - infra-shiplogs:
1831 maven-version: '{maven-version}'
1832
Carsten Lund2d06a692017-02-23 18:23:07 +00001833- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001834 # Job template for building & pushing docker images for AAI specific repos
1835 #
1836 # The purpose of this job template is to run:
1837 # 1. login to the docker registry
1838 # 2. run maven goals
1839 # 3. run include-docker-push.sh
1840 #
1841 # This job supports subprojects
1842 #
1843 # Required Variables:
1844 # pom: name/location of the pom.xml file relative to the workspace
1845 # maven-properties: properties passed to maven
1846
Jessica Wagantallfec94482017-09-19 11:49:15 -07001847 name: '{project-name}-{stream}-{subproject}-aai-docker-java-daily'
1848 project-type: freestyle
1849 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001850 disabled: '{disabled}'
Jessica Wagantallfec94482017-09-19 11:49:15 -07001851 docker-image-name: ''
1852
1853 properties:
1854 - infra-properties:
1855 build-days-to-keep: '{build-days-to-keep}'
1856
1857 parameters:
1858 - infra-parameters:
1859 project: '{project}'
1860 branch: '{branch}'
1861 refspec: 'refs/heads/{branch}'
1862 artifacts: '{archive-artifacts}'
1863 - maven-exec:
1864 maven-version: '{maven-version}'
1865 - docker-image-name:
1866 docker-image-name: '{docker-image-name}'
1867
1868 scm:
1869 - gerrit-trigger-scm:
1870 refspec: ''
1871 choosing-strategy: 'default'
1872 submodule-recursive: '{submodule-recursive}'
1873
1874 wrappers:
1875 - infra-wrappers:
1876 build-timeout: '{build-timeout}'
1877
1878 triggers:
1879 # 12 AM UTC
1880 - timed: 'H 12 * * *'
1881 - gerrit-trigger-release-manually:
1882 server: '{server-name}'
1883 project: '{project}'
1884 branch: '{branch}'
1885
1886 builders:
1887
1888 - provide-maven-settings:
1889 global-settings-file: 'global-settings'
1890 settings-file: '{mvn-settings}'
1891
1892 - docker-login
1893
1894 - maven-target:
1895 maven-version: '{maven-version}'
1896 pom: 'pom.xml'
1897 goals: 'clean install -DskipTests -B
1898 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
1899 settings: '{mvn-settings}'
1900 settings-type: cfp
1901 global-settings: 'global-settings'
1902 global-settings-type: cfp
1903
1904 - maven-target:
1905 maven-version: '{maven-version}'
1906 pom: '{pom}'
1907 goals: '{mvn-goals}'
1908 settings: '{mvn-settings}'
1909 settings-type: cfp
1910 global-settings: 'global-settings'
1911 global-settings-type: cfp
1912 properties:
1913 - maven.test.skip=true
1914 - docker.pull.registry=nexus3.onap.org:10001
1915 - docker.push.registry=nexus3.onap.org:10003
1916
1917 - shell: !include-raw-escape: include-docker-push.sh
1918
1919 publishers:
1920 - infra-shiplogs:
1921 maven-version: '{maven-version}'
1922
1923- job-template:
Carsten Lund2d06a692017-02-23 18:23:07 +00001924 # Job template for Java daily release jobs
1925 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001926 # The purpose of this job template is to run:
1927 # 1. inject a version.properties file and set versions
1928 # 2. change version in all POM files to the release version specified
1929 # in version.properties. This is done using a script instread of
1930 # the mvn version plugin that assumes some specific parent structure
Carsten Lund2d06a692017-02-23 18:23:07 +00001931 #
1932 # The POM files are required to use the Maven staging plugin so the deploy
1933 # does not deploy directly to the release repo.
1934 #
1935 # Required Variables:
1936 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001937
Carsten Lund2d06a692017-02-23 18:23:07 +00001938 name: '{project-name}-{stream}-release-version2-java-daily'
1939
1940 project-type: freestyle
1941 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001942 disabled: '{disabled}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001943 maven-deploy-properties:
1944 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001945 - infra-properties:
Carsten Lund2d06a692017-02-23 18:23:07 +00001946 build-days-to-keep: '{build-days-to-keep}'
1947
1948 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001949 - infra-parameters:
Carsten Lund2d06a692017-02-23 18:23:07 +00001950 project: '{project}'
1951 branch: '{branch}'
1952 refspec: 'refs/heads/{branch}'
1953 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001954 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001955 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001956
1957 scm:
1958 - gerrit-trigger-scm:
1959 refspec: ''
1960 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001961 submodule-recursive: '{submodule-recursive}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001962
1963 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001964 - infra-wrappers:
Carsten Lund2d06a692017-02-23 18:23:07 +00001965 build-timeout: '{build-timeout}'
1966
1967 triggers:
1968 # 11 AM UTC
1969 - timed: 'H 11 * * *'
1970 - gerrit-trigger-release-manually:
1971 server: '{server-name}'
1972 project: '{project}'
1973 branch: '{branch}'
1974
1975 builders:
1976 - provide-maven-settings:
1977 global-settings-file: 'global-settings'
1978 settings-file: '{mvn-settings}'
Andrew Grimbergb7f16152017-02-24 13:13:15 -08001979 - maven-install:
1980 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001981
1982 - inject:
1983 properties-file: version.properties
1984
1985 - shell: !include-raw-escape: include-update-pom-versions.sh
1986
1987 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001988 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -08001989 goals: 'clean deploy site:site site:stage-deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -04001990 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lund2d06a692017-02-23 18:23:07 +00001991 properties:
1992 - '{maven-deploy-properties}'
1993 settings: '{mvn-settings}'
1994 settings-type: cfp
1995 global-settings: 'global-settings'
1996 global-settings-type: cfp
1997
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001998 publishers:
1999 - infra-shiplogs:
2000 maven-version: '{maven-version}'
2001
Carsten Lund2d06a692017-02-23 18:23:07 +00002002- job-template:
2003 # Job template for Java daily release jobs
2004 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002005 # The purpose of this job template is to run:
2006 # 1. inject a version.properties file and set versions
2007 # 2. change version in all POM files to the release version specified
Carsten Lund2d06a692017-02-23 18:23:07 +00002008 # in version.properties. This is done using a script instread of
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002009 # the mvn version plugin that assumes some specific parent structure
Carsten Lund2d06a692017-02-23 18:23:07 +00002010 #
2011 # The POM files are required to use the Maven staging plugin so the deploy
2012 # does not deploy directly to the release repo.
2013 #
2014 # Required Variables:
2015 # branch: git branch (eg. stable/lithium or master)
2016 # pom: name/location of the pom.xml file relative to the workspace
2017 # pattern: ant file-path pattern relative to the workspace used to
2018 # trigger the job
2019
2020 name: '{project-name}-{stream}-{subproject}-release-version2-java-daily'
2021
2022 project-type: freestyle
2023 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07002024 disabled: '{disabled}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002025 maven-deploy-properties:
2026 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002027 - infra-properties:
Carsten Lund2d06a692017-02-23 18:23:07 +00002028 build-days-to-keep: '{build-days-to-keep}'
2029
2030 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002031 - infra-parameters:
Carsten Lund2d06a692017-02-23 18:23:07 +00002032 project: '{project}'
2033 branch: '{branch}'
2034 refspec: 'refs/heads/{branch}'
2035 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08002036 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08002037 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002038
2039 scm:
2040 - gerrit-trigger-scm:
2041 refspec: ''
2042 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002043 submodule-recursive: '{submodule-recursive}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002044
2045 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002046 - infra-wrappers:
Carsten Lund2d06a692017-02-23 18:23:07 +00002047 build-timeout: '{build-timeout}'
2048
2049 triggers:
2050 # 11 AM UTC
2051 - timed: 'H 11 * * *'
2052 - gerrit-trigger-release-manually:
2053 server: '{server-name}'
2054 project: '{project}'
2055 branch: '{branch}'
2056 files: '{pattern}'
2057
2058 builders:
2059 - provide-maven-settings:
2060 global-settings-file: 'global-settings'
2061 settings-file: '{mvn-settings}'
Andrew Grimbergb7f16152017-02-24 13:13:15 -08002062 - maven-install:
2063 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002064
2065 - inject:
2066 properties-file: version.properties
2067
2068 - shell: !include-raw-escape: include-update-pom-versions.sh
2069
2070 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08002071 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002072 pom: '{pom}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -08002073 goals: 'clean deploy site:site site:stage-deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -04002074 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lund2d06a692017-02-23 18:23:07 +00002075 properties:
2076 - '{maven-deploy-properties}'
2077 settings: '{mvn-settings}'
2078 settings-type: cfp
2079 global-settings: 'global-settings'
2080 global-settings-type: cfp
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002081
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07002082 publishers:
2083 - infra-shiplogs:
2084 maven-version: '{maven-version}'
2085
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002086- job-template:
Dan Timoneya44e0b42017-10-06 09:52:29 -04002087 # Job template for Java daily release jobs
2088 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002089 # The purpose of this job template is to run:
2090 # 1. inject a version.properties file and set versions
2091 # 2. change version in all POM files to the release version specified
Dan Timoneya44e0b42017-10-06 09:52:29 -04002092 # in version.properties. This is done using a script instread of
2093 # the mvn version plugin that assumes some specific parent structure
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002094 # This version does NOT change the version within the <parent> tag
Dan Timoneya44e0b42017-10-06 09:52:29 -04002095 #
2096 # The POM files are required to use the Maven staging plugin so the deploy
2097 # does not deploy directly to the release repo.
2098 #
2099 # Required Variables:
2100 # branch: git branch (eg. stable/lithium or master)
2101 # pom: name/location of the pom.xml file relative to the workspace
2102 # pattern: ant file-path pattern relative to the workspace used to
2103 # trigger the job
2104
2105 name: '{project-name}-{stream}-{subproject}-release-version3-java-daily'
2106
2107 project-type: freestyle
2108 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07002109 disabled: '{disabled}'
Dan Timoneya44e0b42017-10-06 09:52:29 -04002110 maven-deploy-properties:
2111 properties:
2112 - infra-properties:
2113 build-days-to-keep: '{build-days-to-keep}'
2114
2115 parameters:
2116 - infra-parameters:
2117 project: '{project}'
2118 branch: '{branch}'
2119 refspec: 'refs/heads/{branch}'
2120 artifacts: '{archive-artifacts}'
2121 - maven-exec:
2122 maven-version: '{maven-version}'
2123
2124 scm:
2125 - gerrit-trigger-scm:
2126 refspec: ''
2127 choosing-strategy: 'default'
2128 submodule-recursive: '{submodule-recursive}'
2129
2130 wrappers:
2131 - infra-wrappers:
2132 build-timeout: '{build-timeout}'
2133
2134 triggers:
2135 # 11 AM UTC
2136 - timed: 'H 11 * * *'
2137 - gerrit-trigger-release-manually:
2138 server: '{server-name}'
2139 project: '{project}'
2140 branch: '{branch}'
2141 files: '{pattern}'
2142
2143 builders:
2144 - provide-maven-settings:
2145 global-settings-file: 'global-settings'
2146 settings-file: '{mvn-settings}'
2147 - maven-install:
2148 maven-version: '{maven-version}'
2149
2150 - inject:
2151 properties-file: version.properties
2152
2153 - shell: !include-raw-escape: include-update-pom-versions-not-parent.sh
2154
2155 - maven-target:
2156 maven-version: '{maven-version}'
2157 pom: '{pom}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -08002158 goals: 'clean deploy site:site site:stage-deploy -B
Dan Timoneya44e0b42017-10-06 09:52:29 -04002159 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
2160 properties:
2161 - '{maven-deploy-properties}'
2162 settings: '{mvn-settings}'
2163 settings-type: cfp
2164 global-settings: 'global-settings'
2165 global-settings-type: cfp
2166
2167 publishers:
2168 - infra-shiplogs:
2169 maven-version: '{maven-version}'
2170
2171- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002172 # Job template for Java merge jobs for SDC specific repos
ig61339fdb9d22017-04-03 17:47:19 +03002173 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002174 # The purpose of this job template is to run:
2175 # 1. maven clean deploy
ig61339fdb9d22017-04-03 17:47:19 +03002176 #
2177 # Required Variables:
2178 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002179
ig61339fdb9d22017-04-03 17:47:19 +03002180 name: '{project-name}-{stream}-sdc-merge-java'
2181
2182 project-type: freestyle
ig6133cb3f8232017-04-05 14:22:42 +03002183 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall9a89de42018-04-18 11:35:17 -07002184 build-timeout: 120
ig61339fdb9d22017-04-03 17:47:19 +03002185
2186 properties:
2187 - infra-properties:
2188 build-days-to-keep: '{build-days-to-keep}'
2189
2190 parameters:
2191 - infra-parameters:
2192 project: '{project}'
2193 branch: '{branch}'
2194 refspec: 'refs/heads/{branch}'
2195 artifacts: '{archive-artifacts}'
2196 - maven-exec:
2197 maven-version: '{maven-version}'
2198
2199 scm:
2200 - gerrit-trigger-scm:
2201 refspec: ''
2202 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002203 submodule-recursive: '{submodule-recursive}'
ig61339fdb9d22017-04-03 17:47:19 +03002204
2205 wrappers:
2206 - infra-wrappers:
2207 build-timeout: '{build-timeout}'
2208
2209 triggers:
2210 - gerrit-trigger-patch-merged:
2211 server: '{server-name}'
2212 project: '{project}'
2213 branch: '{branch}'
2214 files: '**'
2215
2216 builders:
2217 - provide-maven-settings:
2218 global-settings-file: 'global-settings'
2219 settings-file: '{mvn-settings}'
ig61339fdb9d22017-04-03 17:47:19 +03002220
2221 - docker-login
2222
Jessica Wagantall9a03dac2018-03-19 09:27:18 -07002223 - maven-docker-push-daily-test:
ig61339fdb9d22017-04-03 17:47:19 +03002224 maven-version: '{maven-version}'
ig6133cb3f8232017-04-05 14:22:42 +03002225 mvn-settings: '{mvn-settings}'
2226 pom: '{docker-pom}'
2227 # use default as mvn-profile if profile is not needed
2228 mvn-profile: '{mvn-profile}'
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07002229
2230 publishers:
2231 - infra-shiplogs:
2232 maven-version: '{maven-version}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002233
2234- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002235 # Job template for building & pushing docker images for AAI specific repos
2236 #
2237 # The purpose of this job template is to run:
2238 # 1. login to the docker registry
2239 # 2. run maven clean install goals skipping tests
2240 # 3. run maven goals
2241 #
2242 # Required Variables:
2243 # pom: name/location of the pom.xml file relative to the workspace
2244 # maven-properties: properties passed to maven
2245
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002246 name: '{project-name}-{stream}-aai-docker-java-version-daily'
2247 project-type: freestyle
2248 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07002249 disabled: '{disabled}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002250 properties:
2251 - infra-properties:
2252 build-days-to-keep: '{build-days-to-keep}'
2253
2254 parameters:
2255 - infra-parameters:
2256 project: '{project}'
2257 branch: '{branch}'
2258 refspec: 'refs/heads/{branch}'
2259 artifacts: '{archive-artifacts}'
2260 - maven-exec:
2261 maven-version: '{maven-version}'
2262
2263 scm:
2264 - gerrit-trigger-scm:
2265 refspec: ''
2266 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002267 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002268
2269 wrappers:
2270 - infra-wrappers:
2271 build-timeout: '{build-timeout}'
2272
2273 triggers:
2274 # 12 AM UTC
2275 - timed: 'H 12 * * *'
2276 - gerrit-trigger-release-manually:
2277 server: '{server-name}'
2278 project: '{project}'
2279 branch: '{branch}'
2280
2281 builders:
2282
2283 - provide-maven-settings:
2284 global-settings-file: 'global-settings'
2285 settings-file: '{mvn-settings}'
2286
2287 - docker-login
2288
2289 - maven-target:
2290 maven-version: '{maven-version}'
2291 pom: 'pom.xml'
2292 goals: 'clean install -DskipTests -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
2293 settings: '{mvn-settings}'
2294 settings-type: cfp
2295 global-settings: 'global-settings'
2296 global-settings-type: cfp
2297
2298 - maven-target:
2299 maven-version: '{maven-version}'
2300 pom: '{pom}'
2301 goals: '{mvn-goals}'
2302 settings: '{mvn-settings}'
2303 settings-type: cfp
2304 global-settings: 'global-settings'
2305 global-settings-type: cfp
2306 properties:
2307 - maven.test.skip=true
2308 - docker.pull.registry=nexus3.onap.org:10001
2309 - docker.push.registry=nexus3.onap.org:10003
2310
2311 publishers:
2312 - infra-shiplogs:
2313 maven-version: '{maven-version}'
2314