blob: c8d566500dd62af291d1d6b2e9534a5c5e710e7f [file] [log] [blame]
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001---
2- job-template:
3 # Job template for Java verify jobs
4 #
5 # The purpose of this job template is to run "maven clean install" for
6 # projects using this template.
7 #
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 #
69 # The purpose of this job template is to run "maven clean install" for
70 # projects using this template.
71 #
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}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080093
94 scm:
95 - gerrit-trigger-scm:
96 refspec: '$GERRIT_REFSPEC'
97 choosing-strategy: 'gerrit'
Jeremy Phelps11f5d412017-06-30 13:56:19 -050098 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080099
100 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700101 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800102 build-timeout: '{build-timeout}'
103
104 triggers:
105 - gerrit-trigger-patch-submitted:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800106 server: '{server-name}'
107 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800108 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800109 files: '**'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800110
111 builders:
112 - provide-maven-settings:
113 global-settings-file: 'global-settings'
114 settings-file: '{mvn-settings}'
115 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800116 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400117 goals: 'clean install -B
118 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800119 settings: '{mvn-settings}'
120 settings-type: cfp
121 global-settings: 'global-settings'
122 global-settings-type: cfp
123
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700124 publishers:
125 - infra-shiplogs:
126 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800127
128- job-template:
JulienBe77903ed2017-07-17 15:30:26 +0200129 # Job template for Java verify jobs running checkstyle at the end
130 # When checkstyle will be fully incorporated, it is meant to replace
131 # '{project-name}-{stream}-verify-java-checkstyle'
132 # The purpose of this job template is to run "maven clean install" for
133 # projects using this template.
134 #
135 # Required Variables:
136 # branch: git branch (eg. stable/lithium or master)
137 name: '{project-name}-{stream}-verify-java-checkstyle'
138 project-type: freestyle
139 concurrent: true
140 node: '{build-node}'
141 properties:
142 - infra-properties:
143 build-days-to-keep: '{build-days-to-keep}'
144 parameters:
145 - infra-parameters:
146 project: '{project}'
147 branch: '{branch}'
148 refspec: 'refs/heads/{branch}'
149 artifacts: '{archive-artifacts}'
150 - maven-exec:
151 maven-version: '{maven-version}'
152 scm:
153 - gerrit-trigger-scm:
154 refspec: '$GERRIT_REFSPEC'
155 choosing-strategy: 'gerrit'
156 submodule-recursive: '{submodule-recursive}'
157 wrappers:
158 - infra-wrappers:
159 build-timeout: '{build-timeout}'
160 triggers:
161 - gerrit-trigger-patch-submitted:
162 server: '{server-name}'
163 project: '{project}'
164 branch: '{branch}'
165 files: '**'
166 builders:
167 - provide-maven-settings:
168 global-settings-file: 'global-settings'
169 settings-file: '{mvn-settings}'
170 - maven-target:
171 maven-version: '{maven-version}'
172 goals: 'clean install -B
173 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
174 settings: '{mvn-settings}'
175 settings-type: cfp
176 global-settings: 'global-settings'
177 global-settings-type: cfp
178 publishers:
179 - infra-shiplogs:
180 maven-version: '{maven-version}'
181 - checkstyle-result
182
183- job-template:
JulienBeef823f12017-04-12 04:52:40 -0700184 # Job template for Java verify jobs that takes a maven template
185 #
186 # The purpose of this job template is to run "maven clean install -P {x}"
187 # for projects using this template.
188 #
189 # Required Variables:
190 # branch: git branch (eg. stable/lithium or master)
191
192 name: '{project-name}-{stream}-verify-profile-java'
193
194 project-type: freestyle
195 concurrent: true
196 node: '{build-node}'
197
198 properties:
199 - infra-properties:
200 build-days-to-keep: '{build-days-to-keep}'
201
202 parameters:
203 - infra-parameters:
204 project: '{project}'
205 branch: '{branch}'
206 refspec: 'refs/heads/{branch}'
207 artifacts: '{archive-artifacts}'
208 - maven-exec:
209 maven-version: '{maven-version}'
210
211 scm:
212 - gerrit-trigger-scm:
213 refspec: '$GERRIT_REFSPEC'
214 choosing-strategy: 'gerrit'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500215 submodule-recursive: '{submodule-recursive}'
JulienBeef823f12017-04-12 04:52:40 -0700216
217 wrappers:
218 - infra-wrappers:
219 build-timeout: '{build-timeout}'
220
221 triggers:
222 - gerrit-trigger-patch-submitted:
223 server: '{server-name}'
224 project: '{project}'
225 branch: '{branch}'
226 files: '**'
227
228 builders:
229 - provide-maven-settings:
230 global-settings-file: 'global-settings'
231 settings-file: '{mvn-settings}'
232 - maven-target:
233 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400234 goals: 'clean install -P {mvn-profile} -B
235 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBeef823f12017-04-12 04:52:40 -0700236 settings: '{mvn-settings}'
237 settings-type: cfp
238 global-settings: 'global-settings'
239 global-settings-type: cfp
240
241 publishers:
242 - infra-shiplogs:
243 maven-version: '{maven-version}'
244
245- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800246 # Job template for Java verify jobs with POM not at the root
247 #
248 # The purpose of this job template is to run "maven clean install" for
249 # projects using this template.
250 #
251 # Required Variables:
252 # branch: git branch (eg. stable/lithium or master)
253 # pom: name/location of the pom.xml file relative to the workspace
254 # pattern: ant file-path pattern relative to the workspace used to
255 # trigger the job
256
Andrew Grimbergce2286c2017-01-31 05:50:39 -0800257 name: '{project-name}-{stream}-{subproject}-verify-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800258
259 project-type: freestyle
260 concurrent: true
261 node: '{build-node}'
262
263 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700264 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800265 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800266
267 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700268 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800269 project: '{project}'
270 branch: '{branch}'
271 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -0800272 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800273 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800274 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800275
276 scm:
277 - gerrit-trigger-scm:
278 refspec: '$GERRIT_REFSPEC'
279 choosing-strategy: 'gerrit'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500280 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800281
282 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700283 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800284 build-timeout: '{build-timeout}'
285
286 triggers:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800287 - gerrit-trigger-patch-submitted:
288 server: '{server-name}'
289 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800290 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800291 files: '{pattern}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800292
293 builders:
294 - provide-maven-settings:
295 global-settings-file: 'global-settings'
296 settings-file: '{mvn-settings}'
297 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800298 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800299 pom: '{pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400300 goals: 'clean install -B
301 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800302 settings: '{mvn-settings}'
303 settings-type: cfp
304 global-settings: 'global-settings'
305 global-settings-type: cfp
306
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700307 publishers:
308 - infra-shiplogs:
309 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800310
311- job-template:
JulienBe2f4ee072017-02-01 21:42:32 +0100312 # Job template for Java daily release jobs
313 #
Andrew Grimberg24443ee2017-02-02 08:29:12 -0800314 # The purpose of this job template is to run "maven version && maven clean
315 # deploy" for projects using this template.
JulienBe2f4ee072017-02-01 21:42:32 +0100316 #
317 # Required Variables:
318 # branch: git branch (eg. stable/lithium or master)
319 name: '{project-name}-{stream}-release-java-daily'
320
321 project-type: freestyle
322 node: '{build-node}'
323 maven-deploy-properties:
324 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700325 - infra-properties:
JulienBe2f4ee072017-02-01 21:42:32 +0100326 build-days-to-keep: '{build-days-to-keep}'
327
328 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700329 - infra-parameters:
JulienBe2f4ee072017-02-01 21:42:32 +0100330 project: '{project}'
331 branch: '{branch}'
332 refspec: 'refs/heads/{branch}'
333 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800334 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800335 maven-version: '{maven-version}'
JulienBe2f4ee072017-02-01 21:42:32 +0100336
337 scm:
338 - gerrit-trigger-scm:
339 refspec: ''
340 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500341 submodule-recursive: '{submodule-recursive}'
JulienBe2f4ee072017-02-01 21:42:32 +0100342
343 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700344 - infra-wrappers:
JulienBe2f4ee072017-02-01 21:42:32 +0100345 build-timeout: '{build-timeout}'
346
347 triggers:
348 # 11 AM UTC
349 - timed: 'H 11 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -0800350 - gerrit-trigger-release-manually:
351 server: '{server-name}'
352 project: '{project}'
353 branch: '{branch}'
JulienBe2f4ee072017-02-01 21:42:32 +0100354
355 builders:
356 - provide-maven-settings:
357 global-settings-file: 'global-settings'
358 settings-file: '{mvn-settings}'
359
JulienBe5641aa02017-02-17 01:08:38 -0800360 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800361 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400362 goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B
363 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBe5641aa02017-02-17 01:08:38 -0800364 properties:
365 - '{maven-deploy-properties}'
Jessica Wagantall6223d1d2017-08-07 14:46:58 -0700366 java-opts:
367 - '-Xmx4096m -XX:MaxPermSize=512m'
JulienBe5641aa02017-02-17 01:08:38 -0800368 settings: '{mvn-settings}'
369 settings-type: cfp
370 global-settings: 'global-settings'
371 global-settings-type: cfp
372
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700373 publishers:
374 - infra-shiplogs:
375 maven-version: '{maven-version}'
376
JulienBe5641aa02017-02-17 01:08:38 -0800377- job-template:
Jessica Wagantallae897942017-09-28 10:56:55 -0700378 # Job template for Java daily release jobs
379 #
380 # The purpose of this job template is to run "maven version && maven clean
381 # deploy" for projects using this template.
382 #
383 # Required Variables:
384 # branch: git branch (eg. stable/lithium or master)
385 name: '{project-name}-{stream}-release-java-daily-no-sonar'
386
387 project-type: freestyle
388 node: '{build-node}'
389 maven-deploy-properties:
390 properties:
391 - infra-properties:
392 build-days-to-keep: '{build-days-to-keep}'
393
394 parameters:
395 - infra-parameters:
396 project: '{project}'
397 branch: '{branch}'
398 refspec: 'refs/heads/{branch}'
399 artifacts: '{archive-artifacts}'
400 - maven-exec:
401 maven-version: '{maven-version}'
402
403 scm:
404 - gerrit-trigger-scm:
405 refspec: ''
406 choosing-strategy: 'default'
407 submodule-recursive: '{submodule-recursive}'
408
409 wrappers:
410 - infra-wrappers:
411 build-timeout: '{build-timeout}'
412
413 triggers:
414 # 11 AM UTC
415 - timed: 'H 11 * * *'
416 - gerrit-trigger-release-manually:
417 server: '{server-name}'
418 project: '{project}'
419 branch: '{branch}'
420
421 builders:
422 - provide-maven-settings:
423 global-settings-file: 'global-settings'
424 settings-file: '{mvn-settings}'
425
426 - maven-target:
427 maven-version: '{maven-version}'
428 goals: 'clean deploy -B
429 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
430 properties:
431 - '{maven-deploy-properties}'
432 java-opts:
433 - '-Xmx4096m -XX:MaxPermSize=512m'
434 settings: '{mvn-settings}'
435 settings-type: cfp
436 global-settings: 'global-settings'
437 global-settings-type: cfp
438
439 publishers:
440 - infra-shiplogs:
441 maven-version: '{maven-version}'
442
443- job-template:
JulienBe77903ed2017-07-17 15:30:26 +0200444 # Job template for Java daily release jobs running checkstyle at the end
445 # When checkstyle will be fully incorporated, it is meant to replace
446 # '{project-name}-{stream}-release-java-daily'
447 # The purpose of this job template is to run "maven version && maven clean
448 # deploy" for projects using this template.
449 #
450 # Required Variables:
451 # branch: git branch (eg. stable/lithium or master)
452 name: '{project-name}-{stream}-release-java-daily-checkstyle'
453 project-type: freestyle
454 node: '{build-node}'
455 maven-deploy-properties:
456 properties:
457 - infra-properties:
458 build-days-to-keep: '{build-days-to-keep}'
459 parameters:
460 - infra-parameters:
461 project: '{project}'
462 branch: '{branch}'
463 refspec: 'refs/heads/{branch}'
464 artifacts: '{archive-artifacts}'
465 - maven-exec:
466 maven-version: '{maven-version}'
467 scm:
468 - gerrit-trigger-scm:
469 refspec: ''
470 choosing-strategy: 'default'
471 submodule-recursive: '{submodule-recursive}'
472 wrappers:
473 - infra-wrappers:
474 build-timeout: '{build-timeout}'
475 triggers:
476 # 11 AM UTC
477 - timed: 'H 11 * * *'
478 - gerrit-trigger-release-manually:
479 server: '{server-name}'
480 project: '{project}'
481 branch: '{branch}'
482 builders:
483 - provide-maven-settings:
484 global-settings-file: 'global-settings'
485 settings-file: '{mvn-settings}'
JulienBed91a33a2017-09-25 15:56:34 +0200486 - conditional-step:
487 condition-kind: regex-match
488 regex: DoSetVersion
489 label: '{setVersion}'
490 steps:
491 - inject:
492 properties-file: version.properties
493 - maven-target:
494 maven-version: '{maven-version}'
495 goals: 'versions:set versions:update-child-modules versions:commit -B'
496 properties:
497 - 'newVersion=${{release_version}}'
498 settings: '{mvn-settings}'
499 settings-type: cfp
500 global-settings: 'global-settings'
501 global-settings-type: cfp
JulienBe77903ed2017-07-17 15:30:26 +0200502 - maven-target:
503 maven-version: '{maven-version}'
504 goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B
505 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBec9d90e22017-08-08 10:44:10 +0200506 properties: '{obj:mvn_properties}'
JulienBe77903ed2017-07-17 15:30:26 +0200507 settings: '{mvn-settings}'
508 settings-type: cfp
509 global-settings: 'global-settings'
510 global-settings-type: cfp
511 publishers:
512 - infra-shiplogs:
513 maven-version: '{maven-version}'
514 - checkstyle-result-daily
515
516- job-template:
JulienBe5641aa02017-02-17 01:08:38 -0800517 # Job template for Java daily release jobs
518 #
519 # The purpose of this job template is to run "maven version && maven clean
520 # deploy" for projects using this template.
521 #
522 # Required Variables:
523 # branch: git branch (eg. stable/lithium or master)
Pamela Dragosh55ceb8f2017-05-23 12:23:16 -0400524 name: '{project-name}-{stream}-release-version-java-daily-no-sonar'
525
526 project-type: freestyle
527 node: '{build-node}'
528 maven-deploy-properties:
529 properties:
530 - infra-properties:
531 build-days-to-keep: '{build-days-to-keep}'
532
533 parameters:
534 - infra-parameters:
535 project: '{project}'
536 branch: '{branch}'
537 refspec: 'refs/heads/{branch}'
538 artifacts: '{archive-artifacts}'
539 - maven-exec:
540 maven-version: '{maven-version}'
541
542 scm:
543 - gerrit-trigger-scm:
544 refspec: ''
545 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500546 submodule-recursive: '{submodule-recursive}'
Pamela Dragosh55ceb8f2017-05-23 12:23:16 -0400547
548 wrappers:
549 - infra-wrappers:
550 build-timeout: '{build-timeout}'
551
552 triggers:
553 # 11 AM UTC
Jessica Wagantall77494942017-10-02 15:12:14 -0700554 - timed: 'H H(10-17) * * *'
Pamela Dragosh55ceb8f2017-05-23 12:23:16 -0400555 - gerrit-trigger-release-manually:
556 server: '{server-name}'
557 project: '{project}'
558 branch: '{branch}'
559
560 builders:
561 - provide-maven-settings:
562 global-settings-file: 'global-settings'
563 settings-file: '{mvn-settings}'
564
565 - inject:
566 properties-file: version.properties
567 - maven-target:
568 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -0400569 goals: 'versions:set versions:update-child-modules versions:commit -B'
Pamela Dragosh55ceb8f2017-05-23 12:23:16 -0400570 properties:
571 - 'newVersion=${{release_version}}'
572 settings: '{mvn-settings}'
573 settings-type: cfp
574 global-settings: 'global-settings'
575 global-settings-type: cfp
576
577 - maven-target:
578 maven-version: '{maven-version}'
579 goals: 'clean deploy -B
580 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
581 properties:
582 - '{maven-deploy-properties}'
583 settings: '{mvn-settings}'
584 settings-type: cfp
585 global-settings: 'global-settings'
586 global-settings-type: cfp
587
588 publishers:
589 - infra-shiplogs:
590 maven-version: '{maven-version}'
591
592- job-template:
593 # Job template for Java daily release jobs
594 #
595 # The purpose of this job template is to run "maven version && maven clean
596 # deploy" for projects using this template.
Jessica Wagantallfcfde432017-09-18 13:48:33 -0700597 # This template supports subprojects.
598 #
599 # Required Variables:
600 # branch: git branch (eg. stable/lithium or master)
601 name: '{project-name}-{stream}-{subproject}-release-version-java-daily-no-sonar'
602
603 project-type: freestyle
604 node: '{build-node}'
605 maven-deploy-properties:
606 properties:
607 - infra-properties:
608 build-days-to-keep: '{build-days-to-keep}'
609
610 parameters:
611 - infra-parameters:
612 project: '{project}'
613 branch: '{branch}'
614 refspec: 'refs/heads/{branch}'
615 artifacts: '{archive-artifacts}'
616 - maven-exec:
617 maven-version: '{maven-version}'
618
619 scm:
620 - gerrit-trigger-scm:
621 refspec: ''
622 choosing-strategy: 'default'
623 submodule-recursive: '{submodule-recursive}'
624
625 wrappers:
626 - infra-wrappers:
627 build-timeout: '{build-timeout}'
628
629 triggers:
630 # 11 AM UTC
Jessica Wagantall77494942017-10-02 15:12:14 -0700631 - timed: 'H H(10-17) * * *'
Jessica Wagantallfcfde432017-09-18 13:48:33 -0700632 - gerrit-trigger-release-manually:
633 server: '{server-name}'
634 project: '{project}'
635 branch: '{branch}'
636
637 builders:
638 - provide-maven-settings:
639 global-settings-file: 'global-settings'
640 settings-file: '{mvn-settings}'
641
642 - inject:
643 properties-file: version.properties
644 - maven-target:
645 maven-version: '{maven-version}'
646 pom: '{pom}'
647 goals: 'versions:set versions:update-child-modules versions:commit -B'
648 properties:
649 - 'newVersion=${{release_version}}'
650 settings: '{mvn-settings}'
651 settings-type: cfp
652 global-settings: 'global-settings'
653 global-settings-type: cfp
654
655 - maven-target:
656 maven-version: '{maven-version}'
657 pom: '{pom}'
658 goals: 'clean deploy -B
659 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
660 properties:
661 - '{maven-deploy-properties}'
662 settings: '{mvn-settings}'
663 settings-type: cfp
664 global-settings: 'global-settings'
665 global-settings-type: cfp
666
667 publishers:
668 - infra-shiplogs:
669 maven-version: '{maven-version}'
670
671- job-template:
672 # Job template for Java daily release jobs
673 #
674 # The purpose of this job template is to run "maven version && maven clean
675 # deploy" for projects using this template.
Pamela Dragosh55ceb8f2017-05-23 12:23:16 -0400676 #
677 # Required Variables:
678 # branch: git branch (eg. stable/lithium or master)
JulienBe5641aa02017-02-17 01:08:38 -0800679 name: '{project-name}-{stream}-release-version-java-daily'
680
681 project-type: freestyle
682 node: '{build-node}'
683 maven-deploy-properties:
684 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700685 - infra-properties:
JulienBe5641aa02017-02-17 01:08:38 -0800686 build-days-to-keep: '{build-days-to-keep}'
687
688 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700689 - infra-parameters:
JulienBe5641aa02017-02-17 01:08:38 -0800690 project: '{project}'
691 branch: '{branch}'
692 refspec: 'refs/heads/{branch}'
693 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800694 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800695 maven-version: '{maven-version}'
JulienBe5641aa02017-02-17 01:08:38 -0800696
697 scm:
698 - gerrit-trigger-scm:
699 refspec: ''
700 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500701 submodule-recursive: '{submodule-recursive}'
JulienBe5641aa02017-02-17 01:08:38 -0800702
703 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700704 - infra-wrappers:
JulienBe5641aa02017-02-17 01:08:38 -0800705 build-timeout: '{build-timeout}'
706
707 triggers:
708 # 11 AM UTC
Jessica Wagantall77494942017-10-02 15:12:14 -0700709 - timed: 'H H(10-17) * * *'
JulienBe5641aa02017-02-17 01:08:38 -0800710 - gerrit-trigger-release-manually:
711 server: '{server-name}'
712 project: '{project}'
713 branch: '{branch}'
714
715 builders:
716 - provide-maven-settings:
717 global-settings-file: 'global-settings'
718 settings-file: '{mvn-settings}'
719
JulienBe2f4ee072017-02-01 21:42:32 +0100720 - inject:
721 properties-file: version.properties
722 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800723 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -0400724 goals: 'versions:set versions:update-child-modules versions:commit -B'
JulienBe2f4ee072017-02-01 21:42:32 +0100725 properties:
726 - 'newVersion=${{release_version}}'
727 settings: '{mvn-settings}'
728 settings-type: cfp
729 global-settings: 'global-settings'
730 global-settings-type: cfp
731
732 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800733 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400734 goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B
735 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimberg24443ee2017-02-02 08:29:12 -0800736 properties:
737 - '{maven-deploy-properties}'
JulienBe2f4ee072017-02-01 21:42:32 +0100738 settings: '{mvn-settings}'
739 settings-type: cfp
740 global-settings: 'global-settings'
741 global-settings-type: cfp
742
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700743 publishers:
744 - infra-shiplogs:
745 maven-version: '{maven-version}'
746
JulienBe2f4ee072017-02-01 21:42:32 +0100747- job-template:
JulienBe645951d2017-09-28 18:44:18 +0200748 # Job template for Java daily release jobs
749 #
750 # The purpose of this job template is to run "maven version && maven clean
751 # deploy" for projects using this template.
752 #
753 # Required Variables:
754 # branch: git branch (eg. stable/lithium or master)
755 name: '{project-name}-{stream}-release-version-profile-java-daily'
756
757 project-type: freestyle
758 node: '{build-node}'
759 maven-deploy-properties:
760 properties:
761 - infra-properties:
762 build-days-to-keep: '{build-days-to-keep}'
763
764 parameters:
765 - infra-parameters:
766 project: '{project}'
767 branch: '{branch}'
768 refspec: 'refs/heads/{branch}'
769 artifacts: '{archive-artifacts}'
770 - maven-exec:
771 maven-version: '{maven-version}'
772
773 scm:
774 - gerrit-trigger-scm:
775 refspec: ''
776 choosing-strategy: 'default'
777 submodule-recursive: '{submodule-recursive}'
778
779 wrappers:
780 - infra-wrappers:
781 build-timeout: '{build-timeout}'
782
783 triggers:
784 # 11 AM UTC
785 - timed: 'H 11 * * *'
786 - gerrit-trigger-release-manually:
787 server: '{server-name}'
788 project: '{project}'
789 branch: '{branch}'
790
791 builders:
792 - provide-maven-settings:
793 global-settings-file: 'global-settings'
794 settings-file: '{mvn-settings}'
795
796 - inject:
797 properties-file: version.properties
798 - maven-target:
799 maven-version: '{maven-version}'
800 goals: 'versions:set versions:update-child-modules versions:commit -B'
801 properties:
802 - 'newVersion=${{release_version}}'
803 settings: '{mvn-settings}'
804 settings-type: cfp
805 global-settings: 'global-settings'
806 global-settings-type: cfp
807
808 - maven-target:
809 maven-version: '{maven-version}'
810 goals: 'clean deploy sonar:sonar -P {mvn-profile} -Dsonar.host.url=${{SONAR}} -B
811 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
812 properties:
813 - '{maven-deploy-properties}'
814 settings: '{mvn-settings}'
815 settings-type: cfp
816 global-settings: 'global-settings'
817 global-settings-type: cfp
818
819 publishers:
820 - infra-shiplogs:
821 maven-version: '{maven-version}'
822
823
824- job-template:
Carsten Lundda8b6972017-02-15 23:59:25 +0000825 # Job template for Java daily release jobs with POM not at the root
826 #
827 # The purpose of this job template is to run "maven version && maven clean
828 # deploy" for projects using this template.
829 #
830 # Required Variables:
831 # branch: git branch (eg. stable/lithium or master)
832 # pom: name/location of the pom.xml file relative to the workspace
833
834
835 name: '{project-name}-{stream}-{subproject}-release-java-daily'
836
837 project-type: freestyle
838 node: '{build-node}'
839 maven-deploy-properties:
840 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700841 - infra-properties:
Carsten Lundda8b6972017-02-15 23:59:25 +0000842 build-days-to-keep: '{build-days-to-keep}'
843
844 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700845 - infra-parameters:
Carsten Lundda8b6972017-02-15 23:59:25 +0000846 project: '{project}'
847 branch: '{branch}'
848 refspec: 'refs/heads/{branch}'
849 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800850 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800851 maven-version: '{maven-version}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000852
853 scm:
854 - gerrit-trigger-scm:
855 refspec: ''
856 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500857 submodule-recursive: '{submodule-recursive}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000858
859 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700860 - infra-wrappers:
Carsten Lundda8b6972017-02-15 23:59:25 +0000861 build-timeout: '{build-timeout}'
862
863 triggers:
864 # 11 AM UTC
865 - timed: 'H 11 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -0800866 - gerrit-trigger-release-manually:
867 server: '{server-name}'
868 project: '{project}'
869 branch: '{branch}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000870
871 builders:
872 - provide-maven-settings:
873 global-settings-file: 'global-settings'
874 settings-file: '{mvn-settings}'
875
Carsten Lundda8b6972017-02-15 23:59:25 +0000876 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800877 maven-version: '{maven-version}'
Carsten Lund63cd3b82017-02-18 18:19:22 +0000878 pom: '{pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400879 goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B
880 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lundda8b6972017-02-15 23:59:25 +0000881 properties:
882 - '{maven-deploy-properties}'
Jessica Wagantall30f0d782017-08-08 13:37:25 -0700883 java-opts:
884 - '-Xmx4096m -XX:MaxPermSize=512m'
Carsten Lundda8b6972017-02-15 23:59:25 +0000885 settings: '{mvn-settings}'
886 settings-type: cfp
887 global-settings: 'global-settings'
888 global-settings-type: cfp
889
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700890 publishers:
891 - infra-shiplogs:
892 maven-version: '{maven-version}'
893
Carsten Lundda8b6972017-02-15 23:59:25 +0000894- job-template:
Jessica Wagantallae897942017-09-28 10:56:55 -0700895 # Job template for Java daily release jobs with POM not at the root
896 #
897 # The purpose of this job template is to run "maven version && maven clean
898 # deploy" for projects using this template.
899 #
900 # Required Variables:
901 # branch: git branch (eg. stable/lithium or master)
902 # pom: name/location of the pom.xml file relative to the workspace
903
904
Zhaoxinga77c0412017-10-11 09:05:49 +0800905 name: '{project-name}-{stream}-{subproject}-release-version-java-daily'
906
907 project-type: freestyle
908 node: '{build-node}'
909 maven-deploy-properties:
910 properties:
911 - infra-properties:
912 build-days-to-keep: '{build-days-to-keep}'
913
914 parameters:
915 - infra-parameters:
916 project: '{project}'
917 branch: '{branch}'
918 refspec: 'refs/heads/{branch}'
919 artifacts: '{archive-artifacts}'
920 - maven-exec:
921 maven-version: '{maven-version}'
922
923 scm:
924 - gerrit-trigger-scm:
925 refspec: ''
926 choosing-strategy: 'default'
927 submodule-recursive: '{submodule-recursive}'
928
929 wrappers:
930 - infra-wrappers:
931 build-timeout: '{build-timeout}'
932
933 triggers:
934 # 11 AM UTC
935 - timed: 'H 11 * * *'
936 - gerrit-trigger-release-manually:
937 server: '{server-name}'
938 project: '{project}'
939 branch: '{branch}'
940
941 builders:
942 - provide-maven-settings:
943 global-settings-file: 'global-settings'
944 settings-file: '{mvn-settings}'
945
946 - inject:
947 properties-file: version.properties
948 - maven-target:
949 maven-version: '{maven-version}'
Zhaoxing327f9592017-10-13 13:37:17 +0800950 pom: '{pom}'
Zhaoxinga77c0412017-10-11 09:05:49 +0800951 goals: 'versions:set versions:update-child-modules versions:commit -B'
952 properties:
953 - 'newVersion=${{release_version}}'
954 settings: '{mvn-settings}'
955 settings-type: cfp
956 global-settings: 'global-settings'
957 global-settings-type: cfp
958
959 - maven-target:
960 maven-version: '{maven-version}'
961 pom: '{pom}'
962 goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B
963 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
964 properties:
965 - '{maven-deploy-properties}'
966 settings: '{mvn-settings}'
967 settings-type: cfp
968 global-settings: 'global-settings'
969 global-settings-type: cfp
970
971 publishers:
972 - infra-shiplogs:
973 maven-version: '{maven-version}'
974
975- job-template:
976 # Job template for Java daily release jobs with POM not at the root
977 #
978 # The purpose of this job template is to run "maven version && maven clean
979 # deploy" for projects using this template.
980 #
981 # Required Variables:
982 # branch: git branch (eg. stable/lithium or master)
983 # pom: name/location of the pom.xml file relative to the workspace
984
985
Jessica Wagantallae897942017-09-28 10:56:55 -0700986 name: '{project-name}-{stream}-{subproject}-release-java-daily-no-sonar'
987
988 project-type: freestyle
989 node: '{build-node}'
990 maven-deploy-properties:
991 properties:
992 - infra-properties:
993 build-days-to-keep: '{build-days-to-keep}'
994
995 parameters:
996 - infra-parameters:
997 project: '{project}'
998 branch: '{branch}'
999 refspec: 'refs/heads/{branch}'
1000 artifacts: '{archive-artifacts}'
1001 - maven-exec:
1002 maven-version: '{maven-version}'
1003
1004 scm:
1005 - gerrit-trigger-scm:
1006 refspec: ''
1007 choosing-strategy: 'default'
1008 submodule-recursive: '{submodule-recursive}'
1009
1010 wrappers:
1011 - infra-wrappers:
1012 build-timeout: '{build-timeout}'
1013
1014 triggers:
1015 # 11 AM UTC
1016 - timed: 'H 11 * * *'
1017 - gerrit-trigger-release-manually:
1018 server: '{server-name}'
1019 project: '{project}'
1020 branch: '{branch}'
1021
1022 builders:
1023 - provide-maven-settings:
1024 global-settings-file: 'global-settings'
1025 settings-file: '{mvn-settings}'
1026
1027 - maven-target:
1028 maven-version: '{maven-version}'
1029 pom: '{pom}'
1030 goals: 'clean deploy -B
1031 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
1032 properties:
1033 - '{maven-deploy-properties}'
1034 java-opts:
1035 - '-Xmx4096m -XX:MaxPermSize=512m'
1036 settings: '{mvn-settings}'
1037 settings-type: cfp
1038 global-settings: 'global-settings'
1039 global-settings-type: cfp
1040
1041 publishers:
1042 - infra-shiplogs:
1043 maven-version: '{maven-version}'
1044
1045- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001046 # Job template for Java merge jobs
1047 #
1048 # The purpose of this job template is to run "maven clean deploy" for
1049 # projects using this template.
1050 #
1051 # Required Variables:
1052 # branch: git branch (eg. stable/lithium or master)
Andrew Grimbergce2286c2017-01-31 05:50:39 -08001053 name: '{project-name}-{stream}-merge-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001054
1055 project-type: freestyle
1056 node: '{build-node}'
1057
1058 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001059 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001060 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001061
1062 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001063 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001064 project: '{project}'
1065 branch: '{branch}'
1066 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -08001067 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001068 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001069 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001070
1071 scm:
1072 - gerrit-trigger-scm:
1073 refspec: ''
1074 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001075 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001076
1077 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001078 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001079 build-timeout: '{build-timeout}'
1080
1081 triggers:
1082 - gerrit-trigger-patch-merged:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001083 server: '{server-name}'
1084 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001085 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001086 files: '**'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001087
1088 builders:
1089 - provide-maven-settings:
1090 global-settings-file: 'global-settings'
1091 settings-file: '{mvn-settings}'
1092 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001093 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001094 goals: 'clean deploy -B
1095 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001096 settings: '{mvn-settings}'
1097 settings-type: cfp
1098 global-settings: 'global-settings'
1099 global-settings-type: cfp
1100
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001101 publishers:
1102 - infra-shiplogs:
1103 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001104
1105- job-template:
JulienBea4868a62017-07-28 17:13:11 +02001106 # Job template for Java merge jobs based on
1107 # '{project-name}-{stream}-merge-java'
1108 # The purpose of this job template is to run "maven clean deploy" for
1109 # projects using this template.
1110 #
1111 # Required Variables:
1112 # branch: git branch (eg. stable/lithium or master)
1113 # maven-properties: properties passed to maven
1114 name: '{project-name}-{stream}-merge-properties-java'
1115
1116 project-type: freestyle
1117 node: '{build-node}'
1118
1119 properties:
1120 - infra-properties:
1121 build-days-to-keep: '{build-days-to-keep}'
1122
1123 parameters:
1124 - infra-parameters:
1125 project: '{project}'
1126 branch: '{branch}'
1127 refspec: 'refs/heads/{branch}'
1128 artifacts: '{archive-artifacts}'
1129 - maven-exec:
1130 maven-version: '{maven-version}'
1131
1132 scm:
1133 - gerrit-trigger-scm:
1134 refspec: ''
1135 choosing-strategy: 'default'
1136 submodule-recursive: '{submodule-recursive}'
1137
1138 wrappers:
1139 - infra-wrappers:
1140 build-timeout: '{build-timeout}'
1141
1142 triggers:
1143 - gerrit-trigger-patch-merged:
1144 server: '{server-name}'
1145 project: '{project}'
1146 branch: '{branch}'
1147 files: '**'
1148
1149 builders:
1150 - provide-maven-settings:
1151 global-settings-file: 'global-settings'
1152 settings-file: '{mvn-settings}'
1153 - maven-target:
1154 maven-version: '{maven-version}'
1155 goals: 'clean deploy -B
1156 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
1157 settings: '{mvn-settings}'
1158 settings-type: cfp
1159 global-settings: 'global-settings'
1160 global-settings-type: cfp
JulienBec9d90e22017-08-08 10:44:10 +02001161 properties: '{obj:mvn_properties}'
JulienBea4868a62017-07-28 17:13:11 +02001162
1163 publishers:
1164 - infra-shiplogs:
1165 maven-version: '{maven-version}'
1166
1167- job-template:
JulienBeef823f12017-04-12 04:52:40 -07001168 # Job template for Java merge jobs that takes a maven template
1169 #
1170 # The purpose of this job template is to run "maven clean deploy -P {x}"
1171 # for projects using this template.
1172 #
1173 # Required Variables:
1174 # branch: git branch (eg. stable/lithium or master)
1175 name: '{project-name}-{stream}-merge-profile-java'
1176
1177 project-type: freestyle
1178 node: '{build-node}'
1179
1180 properties:
1181 - infra-properties:
1182 build-days-to-keep: '{build-days-to-keep}'
1183
1184 parameters:
1185 - infra-parameters:
1186 project: '{project}'
1187 branch: '{branch}'
1188 refspec: 'refs/heads/{branch}'
1189 artifacts: '{archive-artifacts}'
1190 - maven-exec:
1191 maven-version: '{maven-version}'
1192
1193 scm:
1194 - gerrit-trigger-scm:
1195 refspec: ''
1196 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001197 submodule-recursive: '{submodule-recursive}'
JulienBeef823f12017-04-12 04:52:40 -07001198
1199 wrappers:
1200 - infra-wrappers:
1201 build-timeout: '{build-timeout}'
1202
1203 triggers:
1204 - gerrit-trigger-patch-merged:
1205 server: '{server-name}'
1206 project: '{project}'
1207 branch: '{branch}'
1208 files: '**'
1209
1210 builders:
1211 - provide-maven-settings:
1212 global-settings-file: 'global-settings'
1213 settings-file: '{mvn-settings}'
Determe, Sebastien (sd378r)62e4e662017-04-26 08:00:00 -07001214
1215 - docker-login
1216
JulienBeef823f12017-04-12 04:52:40 -07001217 - maven-target:
1218 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001219 goals: 'clean deploy -P {mvn-profile} -B
1220 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBeef823f12017-04-12 04:52:40 -07001221 settings: '{mvn-settings}'
1222 settings-type: cfp
1223 global-settings: 'global-settings'
1224 global-settings-type: cfp
Determe, Sebastien (sd378r)345956b2017-04-28 08:45:52 -07001225 properties:
1226 - docker.pull.registry=nexus3.onap.org:10001
1227 - docker.push.registry=nexus3.onap.org:10003
JulienBeef823f12017-04-12 04:52:40 -07001228
1229 publishers:
1230 - infra-shiplogs:
1231 maven-version: '{maven-version}'
1232
1233- job-template:
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001234 # Job template for Java merge jobs that should also be triggered by upstream
1235 # merges
1236 #
1237 # Required Variables:
1238 # stream: release stream
1239 # branch: git branch
1240 # dependencies: fully qualified upstream job name to trigger on
1241 # this may be ''
1242 name: '{project-name}-{stream}-downstream-merge-java'
1243
1244 project-type: freestyle
1245 node: '{build-node}'
1246
1247 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001248 - infra-properties:
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001249 build-days-to-keep: '{build-days-to-keep}'
1250
1251 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001252 - infra-parameters:
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001253 project: '{project}'
1254 branch: '{branch}'
1255 refspec: 'refs/heads/{branch}'
1256 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001257 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001258 maven-version: '{maven-version}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001259
1260 scm:
1261 - gerrit-trigger-scm:
1262 refspec: ''
1263 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001264 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001265
1266 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001267 - infra-wrappers:
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001268 build-timeout: '{build-timeout}'
1269
1270 triggers:
1271 - reverse:
1272 jobs: '{dependencies}'
1273 result: 'success'
1274 - gerrit-trigger-patch-merged:
1275 server: '{server-name}'
1276 project: '{project}'
1277 branch: '{branch}'
1278 files: '**'
1279
1280 builders:
1281 - provide-maven-settings:
1282 global-settings-file: 'global-settings'
1283 settings-file: '{mvn-settings}'
1284 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001285 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001286 goals: 'clean deploy -B
1287 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001288 settings: '{mvn-settings}'
1289 settings-type: cfp
1290 global-settings: 'global-settings'
1291 global-settings-type: cfp
1292
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001293 publishers:
1294 - infra-shiplogs:
1295 maven-version: '{maven-version}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001296
1297- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001298 # Job template for Java merge jobs with POM not at the root
1299 #
1300 # The purpose of this job template is to run "maven clean deploy" for
1301 # projects using this template.
1302 #
1303 # Required Variables:
1304 # branch: git branch (eg. stable/lithium or master)
1305 # pom: name/location of the pom.xml file relative to the workspace
1306 # pattern: ant file-path pattern relative to the workspace used to
1307 # trigger the job
1308
Andrew Grimbergce2286c2017-01-31 05:50:39 -08001309 name: '{project-name}-{stream}-{subproject}-merge-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001310
1311 project-type: freestyle
1312 node: '{build-node}'
1313
1314 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001315 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001316 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001317
1318 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001319 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001320 project: '{project}'
1321 branch: '{branch}'
1322 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -08001323 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001324 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001325 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001326
1327 scm:
1328 - gerrit-trigger-scm:
1329 refspec: ''
1330 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001331 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001332
1333 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001334 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001335 build-timeout: '{build-timeout}'
1336
1337 triggers:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001338 - gerrit-trigger-patch-merged:
1339 server: '{server-name}'
1340 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001341 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001342 files: '{pattern}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001343
1344 builders:
1345 - provide-maven-settings:
1346 global-settings-file: 'global-settings'
1347 settings-file: '{mvn-settings}'
1348 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001349 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001350 pom: '{pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001351 goals: 'clean deploy -B
1352 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001353 settings: '{mvn-settings}'
1354 settings-type: cfp
1355 global-settings: 'global-settings'
1356 global-settings-type: cfp
1357
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001358 publishers:
1359 - infra-shiplogs:
1360 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001361
1362- job-template:
1363 name: '{project-name}-{stream}-docker-java-daily'
1364 project-type: freestyle
Andrew Grimberg2137b1d2017-02-15 07:24:53 -08001365 node: 'ubuntu1604-docker-8c-8g'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001366
1367 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001368 - infra-properties:
Anaël Clossonabbafb52017-02-09 17:55:10 +01001369 build-days-to-keep: '{build-days-to-keep}'
1370
1371 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001372 - infra-parameters:
Anaël Clossonabbafb52017-02-09 17:55:10 +01001373 project: '{project}'
1374 branch: '{branch}'
1375 refspec: 'refs/heads/{branch}'
1376 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001377 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001378 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001379
1380 scm:
1381 - gerrit-trigger-scm:
1382 refspec: ''
1383 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001384 submodule-recursive: '{submodule-recursive}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001385
Anaël Clossonabbafb52017-02-09 17:55:10 +01001386 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001387 - infra-wrappers:
Anaël Clossonabbafb52017-02-09 17:55:10 +01001388 build-timeout: '{build-timeout}'
1389
1390 triggers:
JulienBe0d8c2c32017-02-16 11:50:48 -08001391 # 12 AM UTC
Anaël Clossonabbafb52017-02-09 17:55:10 +01001392 - timed: 'H 12 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -08001393 - gerrit-trigger-release-manually:
1394 server: '{server-name}'
1395 project: '{project}'
1396 branch: '{branch}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001397
1398 builders:
Anaël Closson63e090e2017-02-15 14:50:45 +01001399
Anaël Clossonabbafb52017-02-09 17:55:10 +01001400 - provide-maven-settings:
1401 global-settings-file: 'global-settings'
1402 settings-file: '{mvn-settings}'
Anaël Closson7313fea2017-02-14 15:56:21 +01001403
Anaël Closson63e090e2017-02-15 14:50:45 +01001404 - docker-login
1405
Anaël Clossonabbafb52017-02-09 17:55:10 +01001406 - maven-docker-push-daily:
Andrew Grimberge2465882017-02-24 12:38:05 -08001407 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001408 mvn-settings: '{mvn-settings}'
1409 pom: '{docker-pom}'
Anaël Closson30a5c772017-02-16 15:02:56 +01001410 # use default as mvn-profile if profile is not needed
1411 mvn-profile: '{mvn-profile}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001412
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001413 publishers:
1414 - infra-shiplogs:
1415 maven-version: '{maven-version}'
1416
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001417- job-template:
JulienBe91c56ec2017-06-21 23:37:39 +02001418 # Job template for building & pushing docker images
1419 #
1420 # The purpose of this job template is to run :
1421 # 1. login to the docker registry
1422 # 2. do a clean deploy on the specified profile
1423 #
1424 # Required Variables:
1425 # pom: name/location of the pom.xml file relative to the workspace
1426 # profile: the docker profile defined in the pom
1427 # maven-properties: properties passed to maven
1428 name: '{project-name}-{stream}-docker-java-properties-daily'
1429 project-type: freestyle
1430 node: 'ubuntu1604-docker-8c-8g'
1431 properties:
1432 - infra-properties:
1433 build-days-to-keep: '{build-days-to-keep}'
1434 parameters:
1435 - infra-parameters:
1436 project: '{project}'
1437 branch: '{branch}'
1438 refspec: 'refs/heads/{branch}'
1439 artifacts: '{archive-artifacts}'
1440 - maven-exec:
1441 maven-version: '{maven-version}'
1442 scm:
1443 - gerrit-trigger-scm:
1444 refspec: ''
1445 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001446 submodule-recursive: '{submodule-recursive}'
JulienBe91c56ec2017-06-21 23:37:39 +02001447 wrappers:
1448 - infra-wrappers:
1449 build-timeout: '{build-timeout}'
1450 triggers:
1451 # 12 AM UTC
1452 - timed: 'H 12 * * *'
1453 - gerrit-trigger-release-manually:
1454 server: '{server-name}'
1455 project: '{project}'
1456 branch: '{branch}'
1457 builders:
1458 - provide-maven-settings:
1459 global-settings-file: 'global-settings'
1460 settings-file: '{mvn-settings}'
JulienBecda17972017-10-17 13:46:51 +02001461 - conditional-step:
1462 condition-kind: regex-match
1463 regex: DoSetVersion
1464 label: '{setVersion}'
1465 steps:
1466 - inject:
1467 properties-file: version.properties
1468 - maven-target:
1469 maven-version: '{maven-version}'
1470 goals: 'versions:set versions:update-child-modules versions:commit -B'
1471 properties:
1472 - 'newVersion=${{release_version}}'
1473 settings: '{mvn-settings}'
1474 settings-type: cfp
1475 global-settings: 'global-settings'
1476 global-settings-type: cfp
JulienBe91c56ec2017-06-21 23:37:39 +02001477 - docker-login
1478 - maven-docker-push-daily:
1479 maven-version: '{maven-version}'
1480 mvn-settings: '{mvn-settings}'
1481 pom: '{docker-pom}'
1482 properties: '{maven-properties}'
1483 # use default as mvn-profile if profile is not needed
1484 mvn-profile: '{mvn-profile}'
1485 publishers:
1486 - infra-shiplogs:
1487 maven-version: '{maven-version}'
1488
1489- job-template:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001490 name: '{project-name}-{stream}-docker-java-shell-daily'
1491 project-type: freestyle
1492 node: 'ubuntu1604-docker-8c-8g'
1493
1494 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001495 - infra-properties:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001496 build-days-to-keep: '{build-days-to-keep}'
1497
1498 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001499 - infra-parameters:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001500 project: '{project}'
1501 branch: '{branch}'
1502 refspec: 'refs/heads/{branch}'
1503 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001504 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001505 maven-version: '{maven-version}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001506
1507 scm:
1508 - gerrit-trigger-scm:
1509 refspec: ''
1510 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001511 submodule-recursive: '{submodule-recursive}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001512
1513 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001514 - infra-wrappers:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001515 build-timeout: '{build-timeout}'
1516
1517 triggers:
1518 # 12 AM UTC
1519 - timed: 'H 12 * * *'
1520 - gerrit-trigger-release-manually:
1521 server: '{server-name}'
1522 project: '{project}'
1523 branch: '{branch}'
1524
1525 builders:
1526
1527 - provide-maven-settings:
1528 global-settings-file: 'global-settings'
1529 settings-file: '{mvn-settings}'
1530
1531 - docker-login
1532
Pamela Dragosh366fbc32017-02-19 20:09:09 -05001533 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001534 maven-version: '{maven-version}'
Pamela Dragosh366fbc32017-02-19 20:09:09 -05001535 goals: '{mvn-goals}'
1536 settings: '{mvn-settings}'
1537 settings-type: cfp
1538 global-settings: 'global-settings'
1539 global-settings-type: cfp
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001540
1541 - shell: '{script}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001542
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001543 publishers:
1544 - infra-shiplogs:
1545 maven-version: '{maven-version}'
1546
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001547- job-template:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001548 name: '{project-name}-{stream}-docker-java-version-shell-daily'
1549 project-type: freestyle
1550 node: 'ubuntu1604-docker-8c-8g'
1551
1552 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001553 - infra-properties:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001554 build-days-to-keep: '{build-days-to-keep}'
1555
1556 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001557 - infra-parameters:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001558 project: '{project}'
1559 branch: '{branch}'
1560 refspec: 'refs/heads/{branch}'
1561 artifacts: '{archive-artifacts}'
1562 - maven-exec:
1563 maven-version: '{maven-version}'
1564
1565 scm:
1566 - gerrit-trigger-scm:
1567 refspec: ''
1568 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001569 submodule-recursive: '{submodule-recursive}'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001570
1571 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001572 - infra-wrappers:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001573 build-timeout: '{build-timeout}'
1574
1575 triggers:
1576 # 12 AM UTC
1577 - timed: 'H 12 * * *'
1578 - gerrit-trigger-release-manually:
1579 server: '{server-name}'
1580 project: '{project}'
1581 branch: '{branch}'
1582
1583 builders:
1584
1585 - provide-maven-settings:
1586 global-settings-file: 'global-settings'
1587 settings-file: '{mvn-settings}'
1588
1589 - inject:
1590 properties-file: version.properties
1591
1592 - maven-target:
1593 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001594 goals: 'versions:set versions:update-child-modules versions:commit -B'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001595 properties:
1596 - 'newVersion=${{release_version}}'
1597 settings: '{mvn-settings}'
1598 settings-type: cfp
1599 global-settings: 'global-settings'
1600 global-settings-type: cfp
1601
1602 - docker-login
1603
1604 - maven-target:
1605 maven-version: '{maven-version}'
1606 goals: '{mvn-goals}'
1607 settings: '{mvn-settings}'
1608 settings-type: cfp
1609 global-settings: 'global-settings'
1610 global-settings-type: cfp
1611
1612 - shell: '{script}'
1613
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001614 publishers:
1615 - infra-shiplogs:
1616 maven-version: '{maven-version}'
1617
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001618- job-template:
Zhaoxing49773042017-10-13 17:14:35 +08001619 name: '{project-name}-{stream}-{subproject}-docker-java-version-shell-daily'
1620 project-type: freestyle
1621 node: 'ubuntu1604-docker-8c-8g'
1622
1623 properties:
1624 - infra-properties:
1625 build-days-to-keep: '{build-days-to-keep}'
1626
1627 parameters:
1628 - infra-parameters:
1629 project: '{project}'
1630 branch: '{branch}'
1631 refspec: 'refs/heads/{branch}'
1632 artifacts: '{archive-artifacts}'
1633 - maven-exec:
1634 maven-version: '{maven-version}'
1635
1636 scm:
1637 - gerrit-trigger-scm:
1638 refspec: ''
1639 choosing-strategy: 'default'
1640 submodule-recursive: '{submodule-recursive}'
1641
1642 wrappers:
1643 - infra-wrappers:
1644 build-timeout: '{build-timeout}'
1645
1646 triggers:
1647 # 12 AM UTC
1648 - timed: 'H 12 * * *'
1649 - gerrit-trigger-release-manually:
1650 server: '{server-name}'
1651 project: '{project}'
1652 branch: '{branch}'
1653
1654 builders:
1655
1656 - provide-maven-settings:
1657 global-settings-file: 'global-settings'
1658 settings-file: '{mvn-settings}'
1659
1660 - inject:
1661 properties-file: version.properties
1662
1663 - maven-target:
1664 maven-version: '{maven-version}'
1665 pom: '{pom}'
1666 goals: 'versions:set versions:update-child-modules versions:commit -B'
1667 properties:
1668 - 'newVersion=${{release_version}}'
1669 settings: '{mvn-settings}'
1670 settings-type: cfp
1671 global-settings: 'global-settings'
1672 global-settings-type: cfp
1673
1674 - docker-login
1675
1676 - maven-target:
1677 maven-version: '{maven-version}'
1678 pom: '{pom}'
1679 goals: '{mvn-goals}'
1680 settings: '{mvn-settings}'
1681 settings-type: cfp
1682 global-settings: 'global-settings'
1683 global-settings-type: cfp
1684
1685 - shell: '{script}'
1686
1687 publishers:
1688 - infra-shiplogs:
1689 maven-version: '{maven-version}'
1690
1691- job-template:
Patrick Brady39f388a2017-03-09 11:26:59 -08001692 name: '{project-name}-{stream}-docker-version-java-daily'
1693 project-type: freestyle
1694 node: 'ubuntu1604-docker-8c-8g'
1695
1696 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001697 - infra-properties:
Patrick Brady39f388a2017-03-09 11:26:59 -08001698 build-days-to-keep: '{build-days-to-keep}'
1699
1700 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001701 - infra-parameters:
Patrick Brady39f388a2017-03-09 11:26:59 -08001702 project: '{project}'
1703 branch: '{branch}'
1704 refspec: 'refs/heads/{branch}'
1705 artifacts: '{archive-artifacts}'
1706 - maven-exec:
1707 maven-version: '{maven-version}'
1708
1709 scm:
1710 - gerrit-trigger-scm:
1711 refspec: ''
1712 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001713 submodule-recursive: '{submodule-recursive}'
Patrick Brady39f388a2017-03-09 11:26:59 -08001714
1715 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001716 - infra-wrappers:
Patrick Brady39f388a2017-03-09 11:26:59 -08001717 build-timeout: '{build-timeout}'
1718
1719 triggers:
1720 # 12 AM UTC
1721 - timed: 'H 12 * * *'
1722 - gerrit-trigger-release-manually:
1723 server: '{server-name}'
1724 project: '{project}'
1725 branch: '{branch}'
1726
1727 builders:
1728
1729 - provide-maven-settings:
1730 global-settings-file: 'global-settings'
1731 settings-file: '{mvn-settings}'
1732
1733 - inject:
1734 properties-file: version.properties
1735
1736 - maven-target:
1737 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001738 goals: 'versions:set versions:update-child-modules versions:commit -B'
Patrick Brady39f388a2017-03-09 11:26:59 -08001739 properties:
1740 - 'newVersion=${{release_version}}'
1741 settings: '{mvn-settings}'
1742 settings-type: cfp
1743 global-settings: 'global-settings'
1744 global-settings-type: cfp
1745
1746 - docker-login
1747
1748 - maven-docker-push-daily:
1749 maven-version: '{maven-version}'
1750 mvn-settings: '{mvn-settings}'
1751 pom: '{docker-pom}'
1752 # use default as mvn-profile if profile is not needed
1753 mvn-profile: '{mvn-profile}'
1754
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001755 publishers:
1756 - infra-shiplogs:
1757 maven-version: '{maven-version}'
1758
Patrick Brady39f388a2017-03-09 11:26:59 -08001759- job-template:
Zhaoxing49773042017-10-13 17:14:35 +08001760 name: '{project-name}-{stream}-{subproject}-docker-version-java-daily'
1761 project-type: freestyle
1762 node: 'ubuntu1604-docker-8c-8g'
1763
1764 properties:
1765 - infra-properties:
1766 build-days-to-keep: '{build-days-to-keep}'
1767
1768 parameters:
1769 - infra-parameters:
1770 project: '{project}'
1771 branch: '{branch}'
1772 refspec: 'refs/heads/{branch}'
1773 artifacts: '{archive-artifacts}'
1774 - maven-exec:
1775 maven-version: '{maven-version}'
1776
1777 scm:
1778 - gerrit-trigger-scm:
1779 refspec: ''
1780 choosing-strategy: 'default'
1781 submodule-recursive: '{submodule-recursive}'
1782
1783 wrappers:
1784 - infra-wrappers:
1785 build-timeout: '{build-timeout}'
1786
1787 triggers:
1788 # 12 AM UTC
1789 - timed: 'H 12 * * *'
1790 - gerrit-trigger-release-manually:
1791 server: '{server-name}'
1792 project: '{project}'
1793 branch: '{branch}'
1794
1795 builders:
1796
1797 - provide-maven-settings:
1798 global-settings-file: 'global-settings'
1799 settings-file: '{mvn-settings}'
1800
1801 - inject:
1802 properties-file: version.properties
1803
1804 - maven-target:
1805 maven-version: '{maven-version}'
1806 pom: '{pom}'
1807 goals: 'versions:set versions:update-child-modules versions:commit -B'
1808 properties:
1809 - 'newVersion=${{release_version}}'
1810 settings: '{mvn-settings}'
1811 settings-type: cfp
1812 global-settings: 'global-settings'
1813 global-settings-type: cfp
1814
1815 - docker-login
1816
1817 - maven-docker-push-daily:
1818 maven-version: '{maven-version}'
1819 pom: '{pom}'
1820 mvn-settings: '{mvn-settings}'
1821 pom: '{docker-pom}'
1822 # use default as mvn-profile if profile is not needed
1823 mvn-profile: '{mvn-profile}'
1824
1825 publishers:
1826 - infra-shiplogs:
1827 maven-version: '{maven-version}'
1828
1829- job-template:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001830 name: '{project-name}-{stream}-aai-docker-java-daily'
1831 project-type: freestyle
1832 node: 'ubuntu1604-docker-8c-8g'
Gary Wudc3f2952017-08-23 16:48:59 -07001833 docker-image-name: ''
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001834
1835 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001836 - infra-properties:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001837 build-days-to-keep: '{build-days-to-keep}'
1838
1839 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001840 - infra-parameters:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001841 project: '{project}'
1842 branch: '{branch}'
1843 refspec: 'refs/heads/{branch}'
1844 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001845 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001846 maven-version: '{maven-version}'
Gary Wudc3f2952017-08-23 16:48:59 -07001847 - docker-image-name:
1848 docker-image-name: '{docker-image-name}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001849
1850 scm:
1851 - gerrit-trigger-scm:
1852 refspec: ''
1853 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001854 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001855
1856 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001857 - infra-wrappers:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001858 build-timeout: '{build-timeout}'
1859
1860 triggers:
1861 # 12 AM UTC
1862 - timed: 'H 12 * * *'
1863 - gerrit-trigger-release-manually:
1864 server: '{server-name}'
1865 project: '{project}'
1866 branch: '{branch}'
1867
1868 builders:
1869
1870 - provide-maven-settings:
1871 global-settings-file: 'global-settings'
1872 settings-file: '{mvn-settings}'
1873
1874 - docker-login
1875
1876 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001877 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001878 pom: 'pom.xml'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001879 goals: 'clean install -DskipTests -B
1880 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001881 settings: '{mvn-settings}'
1882 settings-type: cfp
1883 global-settings: 'global-settings'
1884 global-settings-type: cfp
1885
1886 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001887 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001888 pom: '{pom}'
1889 goals: '{mvn-goals}'
1890 settings: '{mvn-settings}'
1891 settings-type: cfp
1892 global-settings: 'global-settings'
1893 global-settings-type: cfp
1894 properties:
1895 - maven.test.skip=true
Jeremy Phelps48028ab2017-03-28 15:38:24 -05001896 - docker.pull.registry=nexus3.onap.org:10001
1897 - docker.push.registry=nexus3.onap.org:10003
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001898
Venkata Harish K Kajurbf07d0a2017-03-26 11:58:15 +00001899 - shell: !include-raw-escape: include-docker-push.sh
Carsten Lund2d06a692017-02-23 18:23:07 +00001900
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001901 publishers:
1902 - infra-shiplogs:
1903 maven-version: '{maven-version}'
1904
Carsten Lund2d06a692017-02-23 18:23:07 +00001905- job-template:
Jessica Wagantallfec94482017-09-19 11:49:15 -07001906 name: '{project-name}-{stream}-{subproject}-aai-docker-java-daily'
1907 project-type: freestyle
1908 node: 'ubuntu1604-docker-8c-8g'
1909 docker-image-name: ''
1910
1911 properties:
1912 - infra-properties:
1913 build-days-to-keep: '{build-days-to-keep}'
1914
1915 parameters:
1916 - infra-parameters:
1917 project: '{project}'
1918 branch: '{branch}'
1919 refspec: 'refs/heads/{branch}'
1920 artifacts: '{archive-artifacts}'
1921 - maven-exec:
1922 maven-version: '{maven-version}'
1923 - docker-image-name:
1924 docker-image-name: '{docker-image-name}'
1925
1926 scm:
1927 - gerrit-trigger-scm:
1928 refspec: ''
1929 choosing-strategy: 'default'
1930 submodule-recursive: '{submodule-recursive}'
1931
1932 wrappers:
1933 - infra-wrappers:
1934 build-timeout: '{build-timeout}'
1935
1936 triggers:
1937 # 12 AM UTC
1938 - timed: 'H 12 * * *'
1939 - gerrit-trigger-release-manually:
1940 server: '{server-name}'
1941 project: '{project}'
1942 branch: '{branch}'
1943
1944 builders:
1945
1946 - provide-maven-settings:
1947 global-settings-file: 'global-settings'
1948 settings-file: '{mvn-settings}'
1949
1950 - docker-login
1951
1952 - maven-target:
1953 maven-version: '{maven-version}'
1954 pom: 'pom.xml'
1955 goals: 'clean install -DskipTests -B
1956 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
1957 settings: '{mvn-settings}'
1958 settings-type: cfp
1959 global-settings: 'global-settings'
1960 global-settings-type: cfp
1961
1962 - maven-target:
1963 maven-version: '{maven-version}'
1964 pom: '{pom}'
1965 goals: '{mvn-goals}'
1966 settings: '{mvn-settings}'
1967 settings-type: cfp
1968 global-settings: 'global-settings'
1969 global-settings-type: cfp
1970 properties:
1971 - maven.test.skip=true
1972 - docker.pull.registry=nexus3.onap.org:10001
1973 - docker.push.registry=nexus3.onap.org:10003
1974
1975 - shell: !include-raw-escape: include-docker-push.sh
1976
1977 publishers:
1978 - infra-shiplogs:
1979 maven-version: '{maven-version}'
1980
1981- job-template:
Carsten Lund2d06a692017-02-23 18:23:07 +00001982 # Job template for Java daily release jobs
1983 #
1984 # The purpose of this job template is to run
1985 # - change version in all POM files to the release version specified
1986 # in version.properties. This is done using a script instread of
1987 # the mvn version plugin that assumes some specific parent structure.
1988 # - runs maven clean deploy sonar
1989 #
1990 # The POM files are required to use the Maven staging plugin so the deploy
1991 # does not deploy directly to the release repo.
1992 #
1993 # Required Variables:
1994 # branch: git branch (eg. stable/lithium or master)
1995 name: '{project-name}-{stream}-release-version2-java-daily'
1996
1997 project-type: freestyle
1998 node: '{build-node}'
1999 maven-deploy-properties:
2000 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002001 - infra-properties:
Carsten Lund2d06a692017-02-23 18:23:07 +00002002 build-days-to-keep: '{build-days-to-keep}'
2003
2004 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002005 - infra-parameters:
Carsten Lund2d06a692017-02-23 18:23:07 +00002006 project: '{project}'
2007 branch: '{branch}'
2008 refspec: 'refs/heads/{branch}'
2009 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08002010 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08002011 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002012
2013 scm:
2014 - gerrit-trigger-scm:
2015 refspec: ''
2016 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002017 submodule-recursive: '{submodule-recursive}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002018
2019 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002020 - infra-wrappers:
Carsten Lund2d06a692017-02-23 18:23:07 +00002021 build-timeout: '{build-timeout}'
2022
2023 triggers:
2024 # 11 AM UTC
2025 - timed: 'H 11 * * *'
2026 - gerrit-trigger-release-manually:
2027 server: '{server-name}'
2028 project: '{project}'
2029 branch: '{branch}'
2030
2031 builders:
2032 - provide-maven-settings:
2033 global-settings-file: 'global-settings'
2034 settings-file: '{mvn-settings}'
Andrew Grimbergb7f16152017-02-24 13:13:15 -08002035 - maven-install:
2036 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002037
2038 - inject:
2039 properties-file: version.properties
2040
2041 - shell: !include-raw-escape: include-update-pom-versions.sh
2042
2043 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08002044 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04002045 goals: 'clean deploy sonar:sonar site:site site:stage-deploy
2046 -Dsonar.host.url=${{SONAR}} -B
2047 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lund2d06a692017-02-23 18:23:07 +00002048 properties:
2049 - '{maven-deploy-properties}'
2050 settings: '{mvn-settings}'
2051 settings-type: cfp
2052 global-settings: 'global-settings'
2053 global-settings-type: cfp
2054
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07002055 publishers:
2056 - infra-shiplogs:
2057 maven-version: '{maven-version}'
2058
Carsten Lund2d06a692017-02-23 18:23:07 +00002059- job-template:
2060 # Job template for Java daily release jobs
2061 #
2062 # The purpose of this job template is to run
2063 # - change version in all POM files to the release version specified
2064 # in version.properties. This is done using a script instread of
2065 # the mvn version plugin that assumes some specific parent structure.
2066 # - runs maven clean deploy sonar
2067 #
2068 # The POM files are required to use the Maven staging plugin so the deploy
2069 # does not deploy directly to the release repo.
2070 #
2071 # Required Variables:
2072 # branch: git branch (eg. stable/lithium or master)
2073 # pom: name/location of the pom.xml file relative to the workspace
2074 # pattern: ant file-path pattern relative to the workspace used to
2075 # trigger the job
2076
2077 name: '{project-name}-{stream}-{subproject}-release-version2-java-daily'
2078
2079 project-type: freestyle
2080 node: '{build-node}'
2081 maven-deploy-properties:
2082 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002083 - infra-properties:
Carsten Lund2d06a692017-02-23 18:23:07 +00002084 build-days-to-keep: '{build-days-to-keep}'
2085
2086 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002087 - infra-parameters:
Carsten Lund2d06a692017-02-23 18:23:07 +00002088 project: '{project}'
2089 branch: '{branch}'
2090 refspec: 'refs/heads/{branch}'
2091 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08002092 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08002093 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002094
2095 scm:
2096 - gerrit-trigger-scm:
2097 refspec: ''
2098 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002099 submodule-recursive: '{submodule-recursive}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002100
2101 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002102 - infra-wrappers:
Carsten Lund2d06a692017-02-23 18:23:07 +00002103 build-timeout: '{build-timeout}'
2104
2105 triggers:
2106 # 11 AM UTC
2107 - timed: 'H 11 * * *'
2108 - gerrit-trigger-release-manually:
2109 server: '{server-name}'
2110 project: '{project}'
2111 branch: '{branch}'
2112 files: '{pattern}'
2113
2114 builders:
2115 - provide-maven-settings:
2116 global-settings-file: 'global-settings'
2117 settings-file: '{mvn-settings}'
Andrew Grimbergb7f16152017-02-24 13:13:15 -08002118 - maven-install:
2119 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002120
2121 - inject:
2122 properties-file: version.properties
2123
2124 - shell: !include-raw-escape: include-update-pom-versions.sh
2125
2126 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08002127 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002128 pom: '{pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04002129 goals: 'clean deploy sonar:sonar site:site site:stage-deploy
2130 -Dsonar.host.url=${{SONAR}} -B
2131 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lund2d06a692017-02-23 18:23:07 +00002132 properties:
2133 - '{maven-deploy-properties}'
2134 settings: '{mvn-settings}'
2135 settings-type: cfp
2136 global-settings: 'global-settings'
2137 global-settings-type: cfp
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002138
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07002139 publishers:
2140 - infra-shiplogs:
2141 maven-version: '{maven-version}'
2142
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002143- job-template:
Dan Timoneya44e0b42017-10-06 09:52:29 -04002144 # Job template for Java daily release jobs
2145 #
2146 # The purpose of this job template is to run
2147 # - change version in all POM files to the release version specified
2148 # in version.properties. This is done using a script instread of
2149 # the mvn version plugin that assumes some specific parent structure
2150 # This version does NOT change the version within the <parent> tag.
2151 # - runs maven clean deploy sonar
2152 #
2153 # The POM files are required to use the Maven staging plugin so the deploy
2154 # does not deploy directly to the release repo.
2155 #
2156 # Required Variables:
2157 # branch: git branch (eg. stable/lithium or master)
2158 # pom: name/location of the pom.xml file relative to the workspace
2159 # pattern: ant file-path pattern relative to the workspace used to
2160 # trigger the job
2161
2162 name: '{project-name}-{stream}-{subproject}-release-version3-java-daily'
2163
2164 project-type: freestyle
2165 node: '{build-node}'
2166 maven-deploy-properties:
2167 properties:
2168 - infra-properties:
2169 build-days-to-keep: '{build-days-to-keep}'
2170
2171 parameters:
2172 - infra-parameters:
2173 project: '{project}'
2174 branch: '{branch}'
2175 refspec: 'refs/heads/{branch}'
2176 artifacts: '{archive-artifacts}'
2177 - maven-exec:
2178 maven-version: '{maven-version}'
2179
2180 scm:
2181 - gerrit-trigger-scm:
2182 refspec: ''
2183 choosing-strategy: 'default'
2184 submodule-recursive: '{submodule-recursive}'
2185
2186 wrappers:
2187 - infra-wrappers:
2188 build-timeout: '{build-timeout}'
2189
2190 triggers:
2191 # 11 AM UTC
2192 - timed: 'H 11 * * *'
2193 - gerrit-trigger-release-manually:
2194 server: '{server-name}'
2195 project: '{project}'
2196 branch: '{branch}'
2197 files: '{pattern}'
2198
2199 builders:
2200 - provide-maven-settings:
2201 global-settings-file: 'global-settings'
2202 settings-file: '{mvn-settings}'
2203 - maven-install:
2204 maven-version: '{maven-version}'
2205
2206 - inject:
2207 properties-file: version.properties
2208
2209 - shell: !include-raw-escape: include-update-pom-versions-not-parent.sh
2210
2211 - maven-target:
2212 maven-version: '{maven-version}'
2213 pom: '{pom}'
2214 goals: 'clean deploy sonar:sonar site:site site:stage-deploy
2215 -Dsonar.host.url=${{SONAR}} -B
2216 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
2217 properties:
2218 - '{maven-deploy-properties}'
2219 settings: '{mvn-settings}'
2220 settings-type: cfp
2221 global-settings: 'global-settings'
2222 global-settings-type: cfp
2223
2224 publishers:
2225 - infra-shiplogs:
2226 maven-version: '{maven-version}'
2227
2228- job-template:
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002229 # Template for maven site plugin invocation
2230 #
2231 # It's designed to be triggered when the trigger-job job
2232 # succeeds as there's no need for new documentaiton
2233 # if the build job fails.
2234 #
2235 # Those parameters should be set :
2236 # - site-pom : the pom file that contains the site confiration
2237 # - trigger-job : the name of the project that triggers this job
2238 # upon success. The job name can be
2239 # parameterized.
2240 name: '{project-name}-{stream}-stage-site-java'
2241 project-type: freestyle
Anaël Clossonb8c5fb52017-03-14 15:43:18 +01002242 node: '{build-node}'
Jessica Wagantallf13258b2017-10-02 16:43:10 -07002243 pom: 'pom.xml'
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002244
2245 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002246 - infra-properties:
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002247 build-days-to-keep: '{build-days-to-keep}'
2248
2249 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002250 - infra-parameters:
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002251 project: '{project}'
2252 branch: '{branch}'
2253 refspec: 'refs/heads/{branch}'
2254 artifacts: '{archive-artifacts}'
2255 - maven-exec:
2256 maven-version: '{maven-version}'
2257
2258 scm:
2259 - gerrit-trigger-scm:
2260 refspec: ''
2261 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002262 submodule-recursive: '{submodule-recursive}'
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002263
2264 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002265 - infra-wrappers:
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002266 build-timeout: '{build-timeout}'
2267
2268 triggers:
2269 - trigger-on-build-success:
2270 job-name: '{trigger-job}'
2271
2272 builders:
2273 - provide-maven-settings:
2274 global-settings-file: 'global-settings'
2275 settings-file: '{mvn-settings}'
Anaël Closson09166842017-03-15 11:19:40 +01002276 - inject:
2277 properties-file: version.properties
2278 - maven-target:
2279 maven-version: '{maven-version}'
Jessica Wagantallf13258b2017-10-02 16:43:10 -07002280 pom: '{pom}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04002281 goals: 'versions:set versions:update-child-modules versions:commit -B'
Anaël Closson09166842017-03-15 11:19:40 +01002282 properties:
2283 - 'newVersion=${{release_version}}'
2284 settings: '{mvn-settings}'
2285 settings-type: cfp
2286 global-settings: 'global-settings'
2287 global-settings-type: cfp
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002288
2289 - maven-target:
2290 maven-version: '{maven-version}'
Anaël Closson03222ed2017-03-13 16:37:09 +01002291 pom: '{site-pom}'
Christopher Lott (cl778h)e8657162017-10-23 13:48:22 -04002292 goals: 'clean site:site site:stage-deploy -B'
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002293 settings: '{mvn-settings}'
2294 settings-type: cfp
2295 global-settings: 'global-settings'
2296 global-settings-type: cfp
ig61339fdb9d22017-04-03 17:47:19 +03002297
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07002298 publishers:
2299 - infra-shiplogs:
2300 maven-version: '{maven-version}'
2301
ig61339fdb9d22017-04-03 17:47:19 +03002302- job-template:
2303 # Job template for Java merge jobs
2304 #
2305 # The purpose of this job template is to run "maven clean deploy" for
2306 # projects using this template.
2307 #
2308 # Required Variables:
2309 # branch: git branch (eg. stable/lithium or master)
2310 name: '{project-name}-{stream}-sdc-merge-java'
2311
2312 project-type: freestyle
ig6133cb3f8232017-04-05 14:22:42 +03002313 node: 'ubuntu1604-docker-8c-8g'
ig61339fdb9d22017-04-03 17:47:19 +03002314
2315 properties:
2316 - infra-properties:
2317 build-days-to-keep: '{build-days-to-keep}'
2318
2319 parameters:
2320 - infra-parameters:
2321 project: '{project}'
2322 branch: '{branch}'
2323 refspec: 'refs/heads/{branch}'
2324 artifacts: '{archive-artifacts}'
2325 - maven-exec:
2326 maven-version: '{maven-version}'
2327
2328 scm:
2329 - gerrit-trigger-scm:
2330 refspec: ''
2331 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002332 submodule-recursive: '{submodule-recursive}'
ig61339fdb9d22017-04-03 17:47:19 +03002333
2334 wrappers:
2335 - infra-wrappers:
2336 build-timeout: '{build-timeout}'
2337
2338 triggers:
2339 - gerrit-trigger-patch-merged:
2340 server: '{server-name}'
2341 project: '{project}'
2342 branch: '{branch}'
2343 files: '**'
2344
2345 builders:
2346 - provide-maven-settings:
2347 global-settings-file: 'global-settings'
2348 settings-file: '{mvn-settings}'
ig61339fdb9d22017-04-03 17:47:19 +03002349
2350 - docker-login
2351
ig6133cb3f8232017-04-05 14:22:42 +03002352 - maven-docker-push-daily:
ig61339fdb9d22017-04-03 17:47:19 +03002353 maven-version: '{maven-version}'
ig6133cb3f8232017-04-05 14:22:42 +03002354 mvn-settings: '{mvn-settings}'
2355 pom: '{docker-pom}'
2356 # use default as mvn-profile if profile is not needed
2357 mvn-profile: '{mvn-profile}'
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07002358
2359 publishers:
2360 - infra-shiplogs:
2361 maven-version: '{maven-version}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002362
2363- job-template:
2364 name: '{project-name}-{stream}-aai-docker-java-version-daily'
2365 project-type: freestyle
2366 node: 'ubuntu1604-docker-8c-8g'
2367
2368 properties:
2369 - infra-properties:
2370 build-days-to-keep: '{build-days-to-keep}'
2371
2372 parameters:
2373 - infra-parameters:
2374 project: '{project}'
2375 branch: '{branch}'
2376 refspec: 'refs/heads/{branch}'
2377 artifacts: '{archive-artifacts}'
2378 - maven-exec:
2379 maven-version: '{maven-version}'
2380
2381 scm:
2382 - gerrit-trigger-scm:
2383 refspec: ''
2384 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002385 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002386
2387 wrappers:
2388 - infra-wrappers:
2389 build-timeout: '{build-timeout}'
2390
2391 triggers:
2392 # 12 AM UTC
2393 - timed: 'H 12 * * *'
2394 - gerrit-trigger-release-manually:
2395 server: '{server-name}'
2396 project: '{project}'
2397 branch: '{branch}'
2398
2399 builders:
2400
2401 - provide-maven-settings:
2402 global-settings-file: 'global-settings'
2403 settings-file: '{mvn-settings}'
2404
2405 - docker-login
2406
2407 - maven-target:
2408 maven-version: '{maven-version}'
2409 pom: 'pom.xml'
2410 goals: 'clean install -DskipTests -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
2411 settings: '{mvn-settings}'
2412 settings-type: cfp
2413 global-settings: 'global-settings'
2414 global-settings-type: cfp
2415
2416 - maven-target:
2417 maven-version: '{maven-version}'
2418 pom: '{pom}'
2419 goals: '{mvn-goals}'
2420 settings: '{mvn-settings}'
2421 settings-type: cfp
2422 global-settings: 'global-settings'
2423 global-settings-type: cfp
2424 properties:
2425 - maven.test.skip=true
2426 - docker.pull.registry=nexus3.onap.org:10001
2427 - docker.push.registry=nexus3.onap.org:10003
2428
2429 publishers:
2430 - infra-shiplogs:
2431 maven-version: '{maven-version}'
2432