blob: a322f5350c761cd4bdfdba3e9d895a093ce51f63 [file] [log] [blame]
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001---
2- job-template:
Jessica Wagantall7a37aa22017-05-31 16:27:48 -07003 # Template used for running CLM scans
4 # Arguements:
5 # {name} - Project Shortname
6 # {project} - Fully qualified project name
7 # {mvn-settings} - Project maven settings file
8 # {jdk}
9 name: '{project-name}-{stream}-clm'
10
11 project-type: freestyle
12 node: '{build-node}'
13 jdk: '{jdk}'
14
15 properties:
16 - infra-properties:
Jessica Wagantall98a82bd2017-06-06 11:02:26 -070017 build-days-to-keep: 30
Jessica Wagantall7a37aa22017-05-31 16:27:48 -070018
19 parameters:
20 - infra-parameters:
21 project: '{project}'
22 branch: '{branch}'
23 refspec: 'refs/heads/{branch}'
24 artifacts: '{archive-artifacts}'
25
26 scm:
27 - git-scm:
28 refspec: ''
29 branch: '{branch}'
30
31 wrappers:
32 - infra-wrappers:
33 build-timeout: '{build-timeout}'
34
35 triggers:
36 - timed: 'H H * * 6'
37
38 builders:
39 - provide-maven-settings:
40 global-settings-file: 'global-settings'
41 settings-file: '{mvn-settings}'
42 - maven-target:
43 maven-version: 'mvn33'
44 pom: 'pom.xml'
45 goals: |
46 clean install dependency:tree com.sonatype.clm:clm-maven-plugin:index
Jessica Wagantall98a82bd2017-06-06 11:02:26 -070047 {onap-infra-mvn-opts}
Jessica Wagantall7a37aa22017-05-31 16:27:48 -070048 java-opts:
49 - '-Xmx4096m -XX:MaxPermSize=512m'
50 settings: '{mvn-settings}'
51 settings-type: cfp
52 global-settings: 'global-settings'
53 global-settings-type: cfp
54 - shell: 'find . -regex ".*karaf/target" | xargs rm -rf'
Jessica Wagantall98a82bd2017-06-06 11:02:26 -070055 - sonatype-clm:
Jessica Wagantall7a37aa22017-05-31 16:27:48 -070056 application-name: '{project-name}'
57
58 publishers:
59 - infra-shiplogs:
60 maven-version: '{maven-version}'
61
62- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -080063 # Job template for Java verify jobs
64 #
65 # The purpose of this job template is to run "maven clean install" for
66 # projects using this template.
67 #
68 # Required Variables:
69 # branch: git branch (eg. stable/lithium or master)
70
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050071 name: '{project-name}-{stream}-verify-java-skip-tests'
72
73 project-type: freestyle
74 concurrent: true
75 node: '{build-node}'
76
77 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -070078 - infra-properties:
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050079 build-days-to-keep: '{build-days-to-keep}'
80
81 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -070082 - infra-parameters:
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050083 project: '{project}'
84 branch: '{branch}'
85 refspec: 'refs/heads/{branch}'
86 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -080087 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -080088 maven-version: '{maven-version}'
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050089
90 scm:
91 - gerrit-trigger-scm:
92 refspec: '$GERRIT_REFSPEC'
93 choosing-strategy: 'gerrit'
Jeremy Phelps11f5d412017-06-30 13:56:19 -050094 submodule-recursive: '{submodule-recursive}'
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050095
96 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -070097 - infra-wrappers:
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050098 build-timeout: '{build-timeout}'
99
100 triggers:
101 - gerrit-trigger-patch-submitted:
102 server: '{server-name}'
103 project: '{project}'
104 branch: '{branch}'
105 files: '**'
106
107 builders:
108 - provide-maven-settings:
109 global-settings-file: 'global-settings'
110 settings-file: '{mvn-settings}'
111 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800112 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400113 goals: 'clean install -DskipTests=true -B
114 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -0500115 settings: '{mvn-settings}'
116 settings-type: cfp
117 global-settings: 'global-settings'
118 global-settings-type: cfp
119 maven-opts:
120 - maven.test.skip=true
121
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700122 publishers:
123 - infra-shiplogs:
124 maven-version: '{maven-version}'
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -0500125
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -0500126- job-template:
127 # Job template for Java verify jobs
128 #
129 # The purpose of this job template is to run "maven clean install" for
130 # projects using this template.
131 #
132 # Required Variables:
133 # branch: git branch (eg. stable/lithium or master)
134
Andrew Grimbergce2286c2017-01-31 05:50:39 -0800135 name: '{project-name}-{stream}-verify-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800136
137 project-type: freestyle
138 concurrent: true
139 node: '{build-node}'
140
141 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700142 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800143 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800144
145 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700146 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800147 project: '{project}'
148 branch: '{branch}'
149 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -0800150 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800151 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800152 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800153
154 scm:
155 - gerrit-trigger-scm:
156 refspec: '$GERRIT_REFSPEC'
157 choosing-strategy: 'gerrit'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500158 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800159
160 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700161 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800162 build-timeout: '{build-timeout}'
163
164 triggers:
165 - gerrit-trigger-patch-submitted:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800166 server: '{server-name}'
167 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800168 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800169 files: '**'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800170
171 builders:
172 - provide-maven-settings:
173 global-settings-file: 'global-settings'
174 settings-file: '{mvn-settings}'
175 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800176 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400177 goals: 'clean install -B
178 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800179 settings: '{mvn-settings}'
180 settings-type: cfp
181 global-settings: 'global-settings'
182 global-settings-type: cfp
183
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700184 publishers:
185 - infra-shiplogs:
186 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800187
188- job-template:
JulienBe77903ed2017-07-17 15:30:26 +0200189 # Job template for Java verify jobs running checkstyle at the end
190 # When checkstyle will be fully incorporated, it is meant to replace
191 # '{project-name}-{stream}-verify-java-checkstyle'
192 # The purpose of this job template is to run "maven clean install" for
193 # projects using this template.
194 #
195 # Required Variables:
196 # branch: git branch (eg. stable/lithium or master)
197 name: '{project-name}-{stream}-verify-java-checkstyle'
198 project-type: freestyle
199 concurrent: true
200 node: '{build-node}'
201 properties:
202 - infra-properties:
203 build-days-to-keep: '{build-days-to-keep}'
204 parameters:
205 - infra-parameters:
206 project: '{project}'
207 branch: '{branch}'
208 refspec: 'refs/heads/{branch}'
209 artifacts: '{archive-artifacts}'
210 - maven-exec:
211 maven-version: '{maven-version}'
212 scm:
213 - gerrit-trigger-scm:
214 refspec: '$GERRIT_REFSPEC'
215 choosing-strategy: 'gerrit'
216 submodule-recursive: '{submodule-recursive}'
217 wrappers:
218 - infra-wrappers:
219 build-timeout: '{build-timeout}'
220 triggers:
221 - gerrit-trigger-patch-submitted:
222 server: '{server-name}'
223 project: '{project}'
224 branch: '{branch}'
225 files: '**'
226 builders:
227 - provide-maven-settings:
228 global-settings-file: 'global-settings'
229 settings-file: '{mvn-settings}'
230 - maven-target:
231 maven-version: '{maven-version}'
232 goals: 'clean install -B
233 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
234 settings: '{mvn-settings}'
235 settings-type: cfp
236 global-settings: 'global-settings'
237 global-settings-type: cfp
238 publishers:
239 - infra-shiplogs:
240 maven-version: '{maven-version}'
241 - checkstyle-result
242
243- job-template:
JulienBeef823f12017-04-12 04:52:40 -0700244 # Job template for Java verify jobs that takes a maven template
245 #
246 # The purpose of this job template is to run "maven clean install -P {x}"
247 # for projects using this template.
248 #
249 # Required Variables:
250 # branch: git branch (eg. stable/lithium or master)
251
252 name: '{project-name}-{stream}-verify-profile-java'
253
254 project-type: freestyle
255 concurrent: true
256 node: '{build-node}'
257
258 properties:
259 - infra-properties:
260 build-days-to-keep: '{build-days-to-keep}'
261
262 parameters:
263 - infra-parameters:
264 project: '{project}'
265 branch: '{branch}'
266 refspec: 'refs/heads/{branch}'
267 artifacts: '{archive-artifacts}'
268 - maven-exec:
269 maven-version: '{maven-version}'
270
271 scm:
272 - gerrit-trigger-scm:
273 refspec: '$GERRIT_REFSPEC'
274 choosing-strategy: 'gerrit'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500275 submodule-recursive: '{submodule-recursive}'
JulienBeef823f12017-04-12 04:52:40 -0700276
277 wrappers:
278 - infra-wrappers:
279 build-timeout: '{build-timeout}'
280
281 triggers:
282 - gerrit-trigger-patch-submitted:
283 server: '{server-name}'
284 project: '{project}'
285 branch: '{branch}'
286 files: '**'
287
288 builders:
289 - provide-maven-settings:
290 global-settings-file: 'global-settings'
291 settings-file: '{mvn-settings}'
292 - maven-target:
293 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400294 goals: 'clean install -P {mvn-profile} -B
295 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBeef823f12017-04-12 04:52:40 -0700296 settings: '{mvn-settings}'
297 settings-type: cfp
298 global-settings: 'global-settings'
299 global-settings-type: cfp
300
301 publishers:
302 - infra-shiplogs:
303 maven-version: '{maven-version}'
304
305- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800306 # Job template for Java verify jobs with POM not at the root
307 #
308 # The purpose of this job template is to run "maven clean install" for
309 # projects using this template.
310 #
311 # Required Variables:
312 # branch: git branch (eg. stable/lithium or master)
313 # pom: name/location of the pom.xml file relative to the workspace
314 # pattern: ant file-path pattern relative to the workspace used to
315 # trigger the job
316
Andrew Grimbergce2286c2017-01-31 05:50:39 -0800317 name: '{project-name}-{stream}-{subproject}-verify-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800318
319 project-type: freestyle
320 concurrent: true
321 node: '{build-node}'
322
323 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700324 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800325 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800326
327 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700328 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800329 project: '{project}'
330 branch: '{branch}'
331 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -0800332 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800333 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800334 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800335
336 scm:
337 - gerrit-trigger-scm:
338 refspec: '$GERRIT_REFSPEC'
339 choosing-strategy: 'gerrit'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500340 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800341
342 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700343 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800344 build-timeout: '{build-timeout}'
345
346 triggers:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800347 - gerrit-trigger-patch-submitted:
348 server: '{server-name}'
349 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800350 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800351 files: '{pattern}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800352
353 builders:
354 - provide-maven-settings:
355 global-settings-file: 'global-settings'
356 settings-file: '{mvn-settings}'
357 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800358 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800359 pom: '{pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400360 goals: 'clean install -B
361 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800362 settings: '{mvn-settings}'
363 settings-type: cfp
364 global-settings: 'global-settings'
365 global-settings-type: cfp
366
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700367 publishers:
368 - infra-shiplogs:
369 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800370
371- job-template:
JulienBe2f4ee072017-02-01 21:42:32 +0100372 # Job template for Java daily release jobs
373 #
Andrew Grimberg24443ee2017-02-02 08:29:12 -0800374 # The purpose of this job template is to run "maven version && maven clean
375 # deploy" for projects using this template.
JulienBe2f4ee072017-02-01 21:42:32 +0100376 #
377 # Required Variables:
378 # branch: git branch (eg. stable/lithium or master)
379 name: '{project-name}-{stream}-release-java-daily'
380
381 project-type: freestyle
382 node: '{build-node}'
383 maven-deploy-properties:
384 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700385 - infra-properties:
JulienBe2f4ee072017-02-01 21:42:32 +0100386 build-days-to-keep: '{build-days-to-keep}'
387
388 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700389 - infra-parameters:
JulienBe2f4ee072017-02-01 21:42:32 +0100390 project: '{project}'
391 branch: '{branch}'
392 refspec: 'refs/heads/{branch}'
393 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800394 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800395 maven-version: '{maven-version}'
JulienBe2f4ee072017-02-01 21:42:32 +0100396
397 scm:
398 - gerrit-trigger-scm:
399 refspec: ''
400 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500401 submodule-recursive: '{submodule-recursive}'
JulienBe2f4ee072017-02-01 21:42:32 +0100402
403 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700404 - infra-wrappers:
JulienBe2f4ee072017-02-01 21:42:32 +0100405 build-timeout: '{build-timeout}'
406
407 triggers:
408 # 11 AM UTC
409 - timed: 'H 11 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -0800410 - gerrit-trigger-release-manually:
411 server: '{server-name}'
412 project: '{project}'
413 branch: '{branch}'
JulienBe2f4ee072017-02-01 21:42:32 +0100414
415 builders:
416 - provide-maven-settings:
417 global-settings-file: 'global-settings'
418 settings-file: '{mvn-settings}'
419
JulienBe5641aa02017-02-17 01:08:38 -0800420 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800421 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400422 goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B
423 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBe5641aa02017-02-17 01:08:38 -0800424 properties:
425 - '{maven-deploy-properties}'
Jessica Wagantall6223d1d2017-08-07 14:46:58 -0700426 java-opts:
427 - '-Xmx4096m -XX:MaxPermSize=512m'
JulienBe5641aa02017-02-17 01:08:38 -0800428 settings: '{mvn-settings}'
429 settings-type: cfp
430 global-settings: 'global-settings'
431 global-settings-type: cfp
432
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700433 publishers:
434 - infra-shiplogs:
435 maven-version: '{maven-version}'
436
JulienBe5641aa02017-02-17 01:08:38 -0800437- job-template:
Jessica Wagantallae897942017-09-28 10:56:55 -0700438 # Job template for Java daily release jobs
439 #
440 # The purpose of this job template is to run "maven version && maven clean
441 # deploy" for projects using this template.
442 #
443 # Required Variables:
444 # branch: git branch (eg. stable/lithium or master)
445 name: '{project-name}-{stream}-release-java-daily-no-sonar'
446
447 project-type: freestyle
448 node: '{build-node}'
449 maven-deploy-properties:
450 properties:
451 - infra-properties:
452 build-days-to-keep: '{build-days-to-keep}'
453
454 parameters:
455 - infra-parameters:
456 project: '{project}'
457 branch: '{branch}'
458 refspec: 'refs/heads/{branch}'
459 artifacts: '{archive-artifacts}'
460 - maven-exec:
461 maven-version: '{maven-version}'
462
463 scm:
464 - gerrit-trigger-scm:
465 refspec: ''
466 choosing-strategy: 'default'
467 submodule-recursive: '{submodule-recursive}'
468
469 wrappers:
470 - infra-wrappers:
471 build-timeout: '{build-timeout}'
472
473 triggers:
474 # 11 AM UTC
475 - timed: 'H 11 * * *'
476 - gerrit-trigger-release-manually:
477 server: '{server-name}'
478 project: '{project}'
479 branch: '{branch}'
480
481 builders:
482 - provide-maven-settings:
483 global-settings-file: 'global-settings'
484 settings-file: '{mvn-settings}'
485
486 - maven-target:
487 maven-version: '{maven-version}'
488 goals: 'clean deploy -B
489 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
490 properties:
491 - '{maven-deploy-properties}'
492 java-opts:
493 - '-Xmx4096m -XX:MaxPermSize=512m'
494 settings: '{mvn-settings}'
495 settings-type: cfp
496 global-settings: 'global-settings'
497 global-settings-type: cfp
498
499 publishers:
500 - infra-shiplogs:
501 maven-version: '{maven-version}'
502
503- job-template:
JulienBe77903ed2017-07-17 15:30:26 +0200504 # Job template for Java daily release jobs running checkstyle at the end
505 # When checkstyle will be fully incorporated, it is meant to replace
506 # '{project-name}-{stream}-release-java-daily'
507 # The purpose of this job template is to run "maven version && maven clean
508 # deploy" for projects using this template.
509 #
510 # Required Variables:
511 # branch: git branch (eg. stable/lithium or master)
512 name: '{project-name}-{stream}-release-java-daily-checkstyle'
513 project-type: freestyle
514 node: '{build-node}'
515 maven-deploy-properties:
516 properties:
517 - infra-properties:
518 build-days-to-keep: '{build-days-to-keep}'
519 parameters:
520 - infra-parameters:
521 project: '{project}'
522 branch: '{branch}'
523 refspec: 'refs/heads/{branch}'
524 artifacts: '{archive-artifacts}'
525 - maven-exec:
526 maven-version: '{maven-version}'
527 scm:
528 - gerrit-trigger-scm:
529 refspec: ''
530 choosing-strategy: 'default'
531 submodule-recursive: '{submodule-recursive}'
532 wrappers:
533 - infra-wrappers:
534 build-timeout: '{build-timeout}'
535 triggers:
536 # 11 AM UTC
537 - timed: 'H 11 * * *'
538 - gerrit-trigger-release-manually:
539 server: '{server-name}'
540 project: '{project}'
541 branch: '{branch}'
542 builders:
543 - provide-maven-settings:
544 global-settings-file: 'global-settings'
545 settings-file: '{mvn-settings}'
JulienBed91a33a2017-09-25 15:56:34 +0200546 - conditional-step:
547 condition-kind: regex-match
548 regex: DoSetVersion
549 label: '{setVersion}'
550 steps:
551 - inject:
552 properties-file: version.properties
553 - maven-target:
554 maven-version: '{maven-version}'
555 goals: 'versions:set versions:update-child-modules versions:commit -B'
556 properties:
557 - 'newVersion=${{release_version}}'
558 settings: '{mvn-settings}'
559 settings-type: cfp
560 global-settings: 'global-settings'
561 global-settings-type: cfp
JulienBe77903ed2017-07-17 15:30:26 +0200562 - maven-target:
563 maven-version: '{maven-version}'
564 goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B
565 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBec9d90e22017-08-08 10:44:10 +0200566 properties: '{obj:mvn_properties}'
JulienBe77903ed2017-07-17 15:30:26 +0200567 settings: '{mvn-settings}'
568 settings-type: cfp
569 global-settings: 'global-settings'
570 global-settings-type: cfp
571 publishers:
572 - infra-shiplogs:
573 maven-version: '{maven-version}'
574 - checkstyle-result-daily
575
576- job-template:
JulienBe5641aa02017-02-17 01:08:38 -0800577 # Job template for Java daily release jobs
578 #
579 # The purpose of this job template is to run "maven version && maven clean
580 # deploy" for projects using this template.
581 #
582 # Required Variables:
583 # branch: git branch (eg. stable/lithium or master)
Pamela Dragosh55ceb8f2017-05-23 12:23:16 -0400584 name: '{project-name}-{stream}-release-version-java-daily-no-sonar'
585
586 project-type: freestyle
587 node: '{build-node}'
588 maven-deploy-properties:
589 properties:
590 - infra-properties:
591 build-days-to-keep: '{build-days-to-keep}'
592
593 parameters:
594 - infra-parameters:
595 project: '{project}'
596 branch: '{branch}'
597 refspec: 'refs/heads/{branch}'
598 artifacts: '{archive-artifacts}'
599 - maven-exec:
600 maven-version: '{maven-version}'
601
602 scm:
603 - gerrit-trigger-scm:
604 refspec: ''
605 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500606 submodule-recursive: '{submodule-recursive}'
Pamela Dragosh55ceb8f2017-05-23 12:23:16 -0400607
608 wrappers:
609 - infra-wrappers:
610 build-timeout: '{build-timeout}'
611
612 triggers:
613 # 11 AM UTC
Jessica Wagantall77494942017-10-02 15:12:14 -0700614 - timed: 'H H(10-17) * * *'
Pamela Dragosh55ceb8f2017-05-23 12:23:16 -0400615 - gerrit-trigger-release-manually:
616 server: '{server-name}'
617 project: '{project}'
618 branch: '{branch}'
619
620 builders:
621 - provide-maven-settings:
622 global-settings-file: 'global-settings'
623 settings-file: '{mvn-settings}'
624
625 - inject:
626 properties-file: version.properties
627 - maven-target:
628 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -0400629 goals: 'versions:set versions:update-child-modules versions:commit -B'
Pamela Dragosh55ceb8f2017-05-23 12:23:16 -0400630 properties:
631 - 'newVersion=${{release_version}}'
632 settings: '{mvn-settings}'
633 settings-type: cfp
634 global-settings: 'global-settings'
635 global-settings-type: cfp
636
637 - maven-target:
638 maven-version: '{maven-version}'
639 goals: 'clean deploy -B
640 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
641 properties:
642 - '{maven-deploy-properties}'
643 settings: '{mvn-settings}'
644 settings-type: cfp
645 global-settings: 'global-settings'
646 global-settings-type: cfp
647
648 publishers:
649 - infra-shiplogs:
650 maven-version: '{maven-version}'
651
652- job-template:
653 # Job template for Java daily release jobs
654 #
655 # The purpose of this job template is to run "maven version && maven clean
656 # deploy" for projects using this template.
Jessica Wagantallfcfde432017-09-18 13:48:33 -0700657 # This template supports subprojects.
658 #
659 # Required Variables:
660 # branch: git branch (eg. stable/lithium or master)
661 name: '{project-name}-{stream}-{subproject}-release-version-java-daily-no-sonar'
662
663 project-type: freestyle
664 node: '{build-node}'
665 maven-deploy-properties:
666 properties:
667 - infra-properties:
668 build-days-to-keep: '{build-days-to-keep}'
669
670 parameters:
671 - infra-parameters:
672 project: '{project}'
673 branch: '{branch}'
674 refspec: 'refs/heads/{branch}'
675 artifacts: '{archive-artifacts}'
676 - maven-exec:
677 maven-version: '{maven-version}'
678
679 scm:
680 - gerrit-trigger-scm:
681 refspec: ''
682 choosing-strategy: 'default'
683 submodule-recursive: '{submodule-recursive}'
684
685 wrappers:
686 - infra-wrappers:
687 build-timeout: '{build-timeout}'
688
689 triggers:
690 # 11 AM UTC
Jessica Wagantall77494942017-10-02 15:12:14 -0700691 - timed: 'H H(10-17) * * *'
Jessica Wagantallfcfde432017-09-18 13:48:33 -0700692 - gerrit-trigger-release-manually:
693 server: '{server-name}'
694 project: '{project}'
695 branch: '{branch}'
696
697 builders:
698 - provide-maven-settings:
699 global-settings-file: 'global-settings'
700 settings-file: '{mvn-settings}'
701
702 - inject:
703 properties-file: version.properties
704 - maven-target:
705 maven-version: '{maven-version}'
706 pom: '{pom}'
707 goals: 'versions:set versions:update-child-modules versions:commit -B'
708 properties:
709 - 'newVersion=${{release_version}}'
710 settings: '{mvn-settings}'
711 settings-type: cfp
712 global-settings: 'global-settings'
713 global-settings-type: cfp
714
715 - maven-target:
716 maven-version: '{maven-version}'
717 pom: '{pom}'
718 goals: 'clean deploy -B
719 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
720 properties:
721 - '{maven-deploy-properties}'
722 settings: '{mvn-settings}'
723 settings-type: cfp
724 global-settings: 'global-settings'
725 global-settings-type: cfp
726
727 publishers:
728 - infra-shiplogs:
729 maven-version: '{maven-version}'
730
731- job-template:
732 # Job template for Java daily release jobs
733 #
734 # The purpose of this job template is to run "maven version && maven clean
735 # deploy" for projects using this template.
Pamela Dragosh55ceb8f2017-05-23 12:23:16 -0400736 #
737 # Required Variables:
738 # branch: git branch (eg. stable/lithium or master)
JulienBe5641aa02017-02-17 01:08:38 -0800739 name: '{project-name}-{stream}-release-version-java-daily'
740
741 project-type: freestyle
742 node: '{build-node}'
743 maven-deploy-properties:
744 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700745 - infra-properties:
JulienBe5641aa02017-02-17 01:08:38 -0800746 build-days-to-keep: '{build-days-to-keep}'
747
748 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700749 - infra-parameters:
JulienBe5641aa02017-02-17 01:08:38 -0800750 project: '{project}'
751 branch: '{branch}'
752 refspec: 'refs/heads/{branch}'
753 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800754 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800755 maven-version: '{maven-version}'
JulienBe5641aa02017-02-17 01:08:38 -0800756
757 scm:
758 - gerrit-trigger-scm:
759 refspec: ''
760 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500761 submodule-recursive: '{submodule-recursive}'
JulienBe5641aa02017-02-17 01:08:38 -0800762
763 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700764 - infra-wrappers:
JulienBe5641aa02017-02-17 01:08:38 -0800765 build-timeout: '{build-timeout}'
766
767 triggers:
768 # 11 AM UTC
Jessica Wagantall77494942017-10-02 15:12:14 -0700769 - timed: 'H H(10-17) * * *'
JulienBe5641aa02017-02-17 01:08:38 -0800770 - gerrit-trigger-release-manually:
771 server: '{server-name}'
772 project: '{project}'
773 branch: '{branch}'
774
775 builders:
776 - provide-maven-settings:
777 global-settings-file: 'global-settings'
778 settings-file: '{mvn-settings}'
779
JulienBe2f4ee072017-02-01 21:42:32 +0100780 - inject:
781 properties-file: version.properties
782 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800783 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -0400784 goals: 'versions:set versions:update-child-modules versions:commit -B'
JulienBe2f4ee072017-02-01 21:42:32 +0100785 properties:
786 - 'newVersion=${{release_version}}'
787 settings: '{mvn-settings}'
788 settings-type: cfp
789 global-settings: 'global-settings'
790 global-settings-type: cfp
791
792 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800793 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400794 goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B
795 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimberg24443ee2017-02-02 08:29:12 -0800796 properties:
797 - '{maven-deploy-properties}'
JulienBe2f4ee072017-02-01 21:42:32 +0100798 settings: '{mvn-settings}'
799 settings-type: cfp
800 global-settings: 'global-settings'
801 global-settings-type: cfp
802
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700803 publishers:
804 - infra-shiplogs:
805 maven-version: '{maven-version}'
806
JulienBe2f4ee072017-02-01 21:42:32 +0100807- job-template:
JulienBe645951d2017-09-28 18:44:18 +0200808 # Job template for Java daily release jobs
809 #
810 # The purpose of this job template is to run "maven version && maven clean
811 # deploy" for projects using this template.
812 #
813 # Required Variables:
814 # branch: git branch (eg. stable/lithium or master)
815 name: '{project-name}-{stream}-release-version-profile-java-daily'
816
817 project-type: freestyle
818 node: '{build-node}'
819 maven-deploy-properties:
820 properties:
821 - infra-properties:
822 build-days-to-keep: '{build-days-to-keep}'
823
824 parameters:
825 - infra-parameters:
826 project: '{project}'
827 branch: '{branch}'
828 refspec: 'refs/heads/{branch}'
829 artifacts: '{archive-artifacts}'
830 - maven-exec:
831 maven-version: '{maven-version}'
832
833 scm:
834 - gerrit-trigger-scm:
835 refspec: ''
836 choosing-strategy: 'default'
837 submodule-recursive: '{submodule-recursive}'
838
839 wrappers:
840 - infra-wrappers:
841 build-timeout: '{build-timeout}'
842
843 triggers:
844 # 11 AM UTC
845 - timed: 'H 11 * * *'
846 - gerrit-trigger-release-manually:
847 server: '{server-name}'
848 project: '{project}'
849 branch: '{branch}'
850
851 builders:
852 - provide-maven-settings:
853 global-settings-file: 'global-settings'
854 settings-file: '{mvn-settings}'
855
856 - inject:
857 properties-file: version.properties
858 - maven-target:
859 maven-version: '{maven-version}'
860 goals: 'versions:set versions:update-child-modules versions:commit -B'
861 properties:
862 - 'newVersion=${{release_version}}'
863 settings: '{mvn-settings}'
864 settings-type: cfp
865 global-settings: 'global-settings'
866 global-settings-type: cfp
867
868 - maven-target:
869 maven-version: '{maven-version}'
870 goals: 'clean deploy sonar:sonar -P {mvn-profile} -Dsonar.host.url=${{SONAR}} -B
871 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
872 properties:
873 - '{maven-deploy-properties}'
874 settings: '{mvn-settings}'
875 settings-type: cfp
876 global-settings: 'global-settings'
877 global-settings-type: cfp
878
879 publishers:
880 - infra-shiplogs:
881 maven-version: '{maven-version}'
882
883
884- job-template:
Carsten Lundda8b6972017-02-15 23:59:25 +0000885 # Job template for Java daily release jobs with POM not at the root
886 #
887 # The purpose of this job template is to run "maven version && maven clean
888 # deploy" for projects using this template.
889 #
890 # Required Variables:
891 # branch: git branch (eg. stable/lithium or master)
892 # pom: name/location of the pom.xml file relative to the workspace
893
894
895 name: '{project-name}-{stream}-{subproject}-release-java-daily'
896
897 project-type: freestyle
898 node: '{build-node}'
899 maven-deploy-properties:
900 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700901 - infra-properties:
Carsten Lundda8b6972017-02-15 23:59:25 +0000902 build-days-to-keep: '{build-days-to-keep}'
903
904 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700905 - infra-parameters:
Carsten Lundda8b6972017-02-15 23:59:25 +0000906 project: '{project}'
907 branch: '{branch}'
908 refspec: 'refs/heads/{branch}'
909 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800910 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800911 maven-version: '{maven-version}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000912
913 scm:
914 - gerrit-trigger-scm:
915 refspec: ''
916 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500917 submodule-recursive: '{submodule-recursive}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000918
919 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700920 - infra-wrappers:
Carsten Lundda8b6972017-02-15 23:59:25 +0000921 build-timeout: '{build-timeout}'
922
923 triggers:
924 # 11 AM UTC
925 - timed: 'H 11 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -0800926 - gerrit-trigger-release-manually:
927 server: '{server-name}'
928 project: '{project}'
929 branch: '{branch}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000930
931 builders:
932 - provide-maven-settings:
933 global-settings-file: 'global-settings'
934 settings-file: '{mvn-settings}'
935
Carsten Lundda8b6972017-02-15 23:59:25 +0000936 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800937 maven-version: '{maven-version}'
Carsten Lund63cd3b82017-02-18 18:19:22 +0000938 pom: '{pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400939 goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B
940 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lundda8b6972017-02-15 23:59:25 +0000941 properties:
942 - '{maven-deploy-properties}'
Jessica Wagantall30f0d782017-08-08 13:37:25 -0700943 java-opts:
944 - '-Xmx4096m -XX:MaxPermSize=512m'
Carsten Lundda8b6972017-02-15 23:59:25 +0000945 settings: '{mvn-settings}'
946 settings-type: cfp
947 global-settings: 'global-settings'
948 global-settings-type: cfp
949
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700950 publishers:
951 - infra-shiplogs:
952 maven-version: '{maven-version}'
953
Carsten Lundda8b6972017-02-15 23:59:25 +0000954- job-template:
Jessica Wagantallae897942017-09-28 10:56:55 -0700955 # Job template for Java daily release jobs with POM not at the root
956 #
957 # The purpose of this job template is to run "maven version && maven clean
958 # deploy" for projects using this template.
959 #
960 # Required Variables:
961 # branch: git branch (eg. stable/lithium or master)
962 # pom: name/location of the pom.xml file relative to the workspace
963
964
Zhaoxinga77c0412017-10-11 09:05:49 +0800965 name: '{project-name}-{stream}-{subproject}-release-version-java-daily'
966
967 project-type: freestyle
968 node: '{build-node}'
969 maven-deploy-properties:
970 properties:
971 - infra-properties:
972 build-days-to-keep: '{build-days-to-keep}'
973
974 parameters:
975 - infra-parameters:
976 project: '{project}'
977 branch: '{branch}'
978 refspec: 'refs/heads/{branch}'
979 artifacts: '{archive-artifacts}'
980 - maven-exec:
981 maven-version: '{maven-version}'
982
983 scm:
984 - gerrit-trigger-scm:
985 refspec: ''
986 choosing-strategy: 'default'
987 submodule-recursive: '{submodule-recursive}'
988
989 wrappers:
990 - infra-wrappers:
991 build-timeout: '{build-timeout}'
992
993 triggers:
994 # 11 AM UTC
995 - timed: 'H 11 * * *'
996 - gerrit-trigger-release-manually:
997 server: '{server-name}'
998 project: '{project}'
999 branch: '{branch}'
1000
1001 builders:
1002 - provide-maven-settings:
1003 global-settings-file: 'global-settings'
1004 settings-file: '{mvn-settings}'
1005
1006 - inject:
1007 properties-file: version.properties
1008 - maven-target:
1009 maven-version: '{maven-version}'
Zhaoxing327f9592017-10-13 13:37:17 +08001010 pom: '{pom}'
Zhaoxinga77c0412017-10-11 09:05:49 +08001011 goals: 'versions:set versions:update-child-modules versions:commit -B'
1012 properties:
1013 - 'newVersion=${{release_version}}'
1014 settings: '{mvn-settings}'
1015 settings-type: cfp
1016 global-settings: 'global-settings'
1017 global-settings-type: cfp
1018
1019 - maven-target:
1020 maven-version: '{maven-version}'
1021 pom: '{pom}'
1022 goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B
1023 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
1024 properties:
1025 - '{maven-deploy-properties}'
1026 settings: '{mvn-settings}'
1027 settings-type: cfp
1028 global-settings: 'global-settings'
1029 global-settings-type: cfp
1030
1031 publishers:
1032 - infra-shiplogs:
1033 maven-version: '{maven-version}'
1034
1035- job-template:
1036 # Job template for Java daily release jobs with POM not at the root
1037 #
1038 # The purpose of this job template is to run "maven version && maven clean
1039 # deploy" for projects using this template.
1040 #
1041 # Required Variables:
1042 # branch: git branch (eg. stable/lithium or master)
1043 # pom: name/location of the pom.xml file relative to the workspace
1044
1045
Jessica Wagantallae897942017-09-28 10:56:55 -07001046 name: '{project-name}-{stream}-{subproject}-release-java-daily-no-sonar'
1047
1048 project-type: freestyle
1049 node: '{build-node}'
1050 maven-deploy-properties:
1051 properties:
1052 - infra-properties:
1053 build-days-to-keep: '{build-days-to-keep}'
1054
1055 parameters:
1056 - infra-parameters:
1057 project: '{project}'
1058 branch: '{branch}'
1059 refspec: 'refs/heads/{branch}'
1060 artifacts: '{archive-artifacts}'
1061 - maven-exec:
1062 maven-version: '{maven-version}'
1063
1064 scm:
1065 - gerrit-trigger-scm:
1066 refspec: ''
1067 choosing-strategy: 'default'
1068 submodule-recursive: '{submodule-recursive}'
1069
1070 wrappers:
1071 - infra-wrappers:
1072 build-timeout: '{build-timeout}'
1073
1074 triggers:
1075 # 11 AM UTC
1076 - timed: 'H 11 * * *'
1077 - gerrit-trigger-release-manually:
1078 server: '{server-name}'
1079 project: '{project}'
1080 branch: '{branch}'
1081
1082 builders:
1083 - provide-maven-settings:
1084 global-settings-file: 'global-settings'
1085 settings-file: '{mvn-settings}'
1086
1087 - maven-target:
1088 maven-version: '{maven-version}'
1089 pom: '{pom}'
1090 goals: 'clean deploy -B
1091 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
1092 properties:
1093 - '{maven-deploy-properties}'
1094 java-opts:
1095 - '-Xmx4096m -XX:MaxPermSize=512m'
1096 settings: '{mvn-settings}'
1097 settings-type: cfp
1098 global-settings: 'global-settings'
1099 global-settings-type: cfp
1100
1101 publishers:
1102 - infra-shiplogs:
1103 maven-version: '{maven-version}'
1104
1105- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001106 # Job template for Java merge jobs
1107 #
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)
Andrew Grimbergce2286c2017-01-31 05:50:39 -08001113 name: '{project-name}-{stream}-merge-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001114
1115 project-type: freestyle
1116 node: '{build-node}'
1117
1118 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001119 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001120 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001121
1122 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001123 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001124 project: '{project}'
1125 branch: '{branch}'
1126 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -08001127 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001128 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001129 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001130
1131 scm:
1132 - gerrit-trigger-scm:
1133 refspec: ''
1134 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001135 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001136
1137 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001138 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001139 build-timeout: '{build-timeout}'
1140
1141 triggers:
1142 - gerrit-trigger-patch-merged:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001143 server: '{server-name}'
1144 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001145 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001146 files: '**'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001147
1148 builders:
1149 - provide-maven-settings:
1150 global-settings-file: 'global-settings'
1151 settings-file: '{mvn-settings}'
1152 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001153 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001154 goals: 'clean deploy -B
1155 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001156 settings: '{mvn-settings}'
1157 settings-type: cfp
1158 global-settings: 'global-settings'
1159 global-settings-type: cfp
1160
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001161 publishers:
1162 - infra-shiplogs:
1163 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001164
1165- job-template:
JulienBea4868a62017-07-28 17:13:11 +02001166 # Job template for Java merge jobs based on
1167 # '{project-name}-{stream}-merge-java'
1168 # The purpose of this job template is to run "maven clean deploy" for
1169 # projects using this template.
1170 #
1171 # Required Variables:
1172 # branch: git branch (eg. stable/lithium or master)
1173 # maven-properties: properties passed to maven
1174 name: '{project-name}-{stream}-merge-properties-java'
1175
1176 project-type: freestyle
1177 node: '{build-node}'
1178
1179 properties:
1180 - infra-properties:
1181 build-days-to-keep: '{build-days-to-keep}'
1182
1183 parameters:
1184 - infra-parameters:
1185 project: '{project}'
1186 branch: '{branch}'
1187 refspec: 'refs/heads/{branch}'
1188 artifacts: '{archive-artifacts}'
1189 - maven-exec:
1190 maven-version: '{maven-version}'
1191
1192 scm:
1193 - gerrit-trigger-scm:
1194 refspec: ''
1195 choosing-strategy: 'default'
1196 submodule-recursive: '{submodule-recursive}'
1197
1198 wrappers:
1199 - infra-wrappers:
1200 build-timeout: '{build-timeout}'
1201
1202 triggers:
1203 - gerrit-trigger-patch-merged:
1204 server: '{server-name}'
1205 project: '{project}'
1206 branch: '{branch}'
1207 files: '**'
1208
1209 builders:
1210 - provide-maven-settings:
1211 global-settings-file: 'global-settings'
1212 settings-file: '{mvn-settings}'
1213 - maven-target:
1214 maven-version: '{maven-version}'
1215 goals: 'clean deploy -B
1216 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
1217 settings: '{mvn-settings}'
1218 settings-type: cfp
1219 global-settings: 'global-settings'
1220 global-settings-type: cfp
JulienBec9d90e22017-08-08 10:44:10 +02001221 properties: '{obj:mvn_properties}'
JulienBea4868a62017-07-28 17:13:11 +02001222
1223 publishers:
1224 - infra-shiplogs:
1225 maven-version: '{maven-version}'
1226
1227- job-template:
JulienBeef823f12017-04-12 04:52:40 -07001228 # Job template for Java merge jobs that takes a maven template
1229 #
1230 # The purpose of this job template is to run "maven clean deploy -P {x}"
1231 # for projects using this template.
1232 #
1233 # Required Variables:
1234 # branch: git branch (eg. stable/lithium or master)
1235 name: '{project-name}-{stream}-merge-profile-java'
1236
1237 project-type: freestyle
1238 node: '{build-node}'
1239
1240 properties:
1241 - infra-properties:
1242 build-days-to-keep: '{build-days-to-keep}'
1243
1244 parameters:
1245 - infra-parameters:
1246 project: '{project}'
1247 branch: '{branch}'
1248 refspec: 'refs/heads/{branch}'
1249 artifacts: '{archive-artifacts}'
1250 - maven-exec:
1251 maven-version: '{maven-version}'
1252
1253 scm:
1254 - gerrit-trigger-scm:
1255 refspec: ''
1256 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001257 submodule-recursive: '{submodule-recursive}'
JulienBeef823f12017-04-12 04:52:40 -07001258
1259 wrappers:
1260 - infra-wrappers:
1261 build-timeout: '{build-timeout}'
1262
1263 triggers:
1264 - gerrit-trigger-patch-merged:
1265 server: '{server-name}'
1266 project: '{project}'
1267 branch: '{branch}'
1268 files: '**'
1269
1270 builders:
1271 - provide-maven-settings:
1272 global-settings-file: 'global-settings'
1273 settings-file: '{mvn-settings}'
Determe, Sebastien (sd378r)62e4e662017-04-26 08:00:00 -07001274
1275 - docker-login
1276
JulienBeef823f12017-04-12 04:52:40 -07001277 - maven-target:
1278 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001279 goals: 'clean deploy -P {mvn-profile} -B
1280 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBeef823f12017-04-12 04:52:40 -07001281 settings: '{mvn-settings}'
1282 settings-type: cfp
1283 global-settings: 'global-settings'
1284 global-settings-type: cfp
Determe, Sebastien (sd378r)345956b2017-04-28 08:45:52 -07001285 properties:
1286 - docker.pull.registry=nexus3.onap.org:10001
1287 - docker.push.registry=nexus3.onap.org:10003
JulienBeef823f12017-04-12 04:52:40 -07001288
1289 publishers:
1290 - infra-shiplogs:
1291 maven-version: '{maven-version}'
1292
1293- job-template:
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001294 # Job template for Java merge jobs that should also be triggered by upstream
1295 # merges
1296 #
1297 # Required Variables:
1298 # stream: release stream
1299 # branch: git branch
1300 # dependencies: fully qualified upstream job name to trigger on
1301 # this may be ''
1302 name: '{project-name}-{stream}-downstream-merge-java'
1303
1304 project-type: freestyle
1305 node: '{build-node}'
1306
1307 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001308 - infra-properties:
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001309 build-days-to-keep: '{build-days-to-keep}'
1310
1311 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001312 - infra-parameters:
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001313 project: '{project}'
1314 branch: '{branch}'
1315 refspec: 'refs/heads/{branch}'
1316 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001317 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001318 maven-version: '{maven-version}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001319
1320 scm:
1321 - gerrit-trigger-scm:
1322 refspec: ''
1323 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001324 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001325
1326 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001327 - infra-wrappers:
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001328 build-timeout: '{build-timeout}'
1329
1330 triggers:
1331 - reverse:
1332 jobs: '{dependencies}'
1333 result: 'success'
1334 - gerrit-trigger-patch-merged:
1335 server: '{server-name}'
1336 project: '{project}'
1337 branch: '{branch}'
1338 files: '**'
1339
1340 builders:
1341 - provide-maven-settings:
1342 global-settings-file: 'global-settings'
1343 settings-file: '{mvn-settings}'
1344 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001345 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001346 goals: 'clean deploy -B
1347 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001348 settings: '{mvn-settings}'
1349 settings-type: cfp
1350 global-settings: 'global-settings'
1351 global-settings-type: cfp
1352
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001353 publishers:
1354 - infra-shiplogs:
1355 maven-version: '{maven-version}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001356
1357- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001358 # Job template for Java merge jobs with POM not at the root
1359 #
1360 # The purpose of this job template is to run "maven clean deploy" for
1361 # projects using this template.
1362 #
1363 # Required Variables:
1364 # branch: git branch (eg. stable/lithium or master)
1365 # pom: name/location of the pom.xml file relative to the workspace
1366 # pattern: ant file-path pattern relative to the workspace used to
1367 # trigger the job
1368
Andrew Grimbergce2286c2017-01-31 05:50:39 -08001369 name: '{project-name}-{stream}-{subproject}-merge-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001370
1371 project-type: freestyle
1372 node: '{build-node}'
1373
1374 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001375 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001376 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001377
1378 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001379 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001380 project: '{project}'
1381 branch: '{branch}'
1382 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -08001383 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001384 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001385 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001386
1387 scm:
1388 - gerrit-trigger-scm:
1389 refspec: ''
1390 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001391 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001392
1393 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001394 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001395 build-timeout: '{build-timeout}'
1396
1397 triggers:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001398 - gerrit-trigger-patch-merged:
1399 server: '{server-name}'
1400 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001401 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001402 files: '{pattern}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001403
1404 builders:
1405 - provide-maven-settings:
1406 global-settings-file: 'global-settings'
1407 settings-file: '{mvn-settings}'
1408 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001409 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001410 pom: '{pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001411 goals: 'clean deploy -B
1412 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001413 settings: '{mvn-settings}'
1414 settings-type: cfp
1415 global-settings: 'global-settings'
1416 global-settings-type: cfp
1417
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001418 publishers:
1419 - infra-shiplogs:
1420 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001421
1422- job-template:
1423 name: '{project-name}-{stream}-docker-java-daily'
1424 project-type: freestyle
Andrew Grimberg2137b1d2017-02-15 07:24:53 -08001425 node: 'ubuntu1604-docker-8c-8g'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001426
1427 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001428 - infra-properties:
Anaël Clossonabbafb52017-02-09 17:55:10 +01001429 build-days-to-keep: '{build-days-to-keep}'
1430
1431 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001432 - infra-parameters:
Anaël Clossonabbafb52017-02-09 17:55:10 +01001433 project: '{project}'
1434 branch: '{branch}'
1435 refspec: 'refs/heads/{branch}'
1436 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001437 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001438 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001439
1440 scm:
1441 - gerrit-trigger-scm:
1442 refspec: ''
1443 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001444 submodule-recursive: '{submodule-recursive}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001445
Anaël Clossonabbafb52017-02-09 17:55:10 +01001446 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001447 - infra-wrappers:
Anaël Clossonabbafb52017-02-09 17:55:10 +01001448 build-timeout: '{build-timeout}'
1449
1450 triggers:
JulienBe0d8c2c32017-02-16 11:50:48 -08001451 # 12 AM UTC
Anaël Clossonabbafb52017-02-09 17:55:10 +01001452 - timed: 'H 12 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -08001453 - gerrit-trigger-release-manually:
1454 server: '{server-name}'
1455 project: '{project}'
1456 branch: '{branch}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001457
1458 builders:
Anaël Closson63e090e2017-02-15 14:50:45 +01001459
Anaël Clossonabbafb52017-02-09 17:55:10 +01001460 - provide-maven-settings:
1461 global-settings-file: 'global-settings'
1462 settings-file: '{mvn-settings}'
Anaël Closson7313fea2017-02-14 15:56:21 +01001463
Anaël Closson63e090e2017-02-15 14:50:45 +01001464 - docker-login
1465
Anaël Clossonabbafb52017-02-09 17:55:10 +01001466 - maven-docker-push-daily:
Andrew Grimberge2465882017-02-24 12:38:05 -08001467 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001468 mvn-settings: '{mvn-settings}'
1469 pom: '{docker-pom}'
Anaël Closson30a5c772017-02-16 15:02:56 +01001470 # use default as mvn-profile if profile is not needed
1471 mvn-profile: '{mvn-profile}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001472
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001473 publishers:
1474 - infra-shiplogs:
1475 maven-version: '{maven-version}'
1476
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001477- job-template:
JulienBe91c56ec2017-06-21 23:37:39 +02001478 # Job template for building & pushing docker images
1479 #
1480 # The purpose of this job template is to run :
1481 # 1. login to the docker registry
1482 # 2. do a clean deploy on the specified profile
1483 #
1484 # Required Variables:
1485 # pom: name/location of the pom.xml file relative to the workspace
1486 # profile: the docker profile defined in the pom
1487 # maven-properties: properties passed to maven
1488 name: '{project-name}-{stream}-docker-java-properties-daily'
1489 project-type: freestyle
1490 node: 'ubuntu1604-docker-8c-8g'
1491 properties:
1492 - infra-properties:
1493 build-days-to-keep: '{build-days-to-keep}'
1494 parameters:
1495 - infra-parameters:
1496 project: '{project}'
1497 branch: '{branch}'
1498 refspec: 'refs/heads/{branch}'
1499 artifacts: '{archive-artifacts}'
1500 - maven-exec:
1501 maven-version: '{maven-version}'
1502 scm:
1503 - gerrit-trigger-scm:
1504 refspec: ''
1505 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001506 submodule-recursive: '{submodule-recursive}'
JulienBe91c56ec2017-06-21 23:37:39 +02001507 wrappers:
1508 - infra-wrappers:
1509 build-timeout: '{build-timeout}'
1510 triggers:
1511 # 12 AM UTC
1512 - timed: 'H 12 * * *'
1513 - gerrit-trigger-release-manually:
1514 server: '{server-name}'
1515 project: '{project}'
1516 branch: '{branch}'
1517 builders:
1518 - provide-maven-settings:
1519 global-settings-file: 'global-settings'
1520 settings-file: '{mvn-settings}'
1521 - docker-login
1522 - maven-docker-push-daily:
1523 maven-version: '{maven-version}'
1524 mvn-settings: '{mvn-settings}'
1525 pom: '{docker-pom}'
1526 properties: '{maven-properties}'
1527 # use default as mvn-profile if profile is not needed
1528 mvn-profile: '{mvn-profile}'
1529 publishers:
1530 - infra-shiplogs:
1531 maven-version: '{maven-version}'
1532
1533- job-template:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001534 name: '{project-name}-{stream}-docker-java-shell-daily'
1535 project-type: freestyle
1536 node: 'ubuntu1604-docker-8c-8g'
1537
1538 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001539 - infra-properties:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001540 build-days-to-keep: '{build-days-to-keep}'
1541
1542 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001543 - infra-parameters:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001544 project: '{project}'
1545 branch: '{branch}'
1546 refspec: 'refs/heads/{branch}'
1547 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001548 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001549 maven-version: '{maven-version}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001550
1551 scm:
1552 - gerrit-trigger-scm:
1553 refspec: ''
1554 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001555 submodule-recursive: '{submodule-recursive}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001556
1557 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001558 - infra-wrappers:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001559 build-timeout: '{build-timeout}'
1560
1561 triggers:
1562 # 12 AM UTC
1563 - timed: 'H 12 * * *'
1564 - gerrit-trigger-release-manually:
1565 server: '{server-name}'
1566 project: '{project}'
1567 branch: '{branch}'
1568
1569 builders:
1570
1571 - provide-maven-settings:
1572 global-settings-file: 'global-settings'
1573 settings-file: '{mvn-settings}'
1574
1575 - docker-login
1576
Pamela Dragosh366fbc32017-02-19 20:09:09 -05001577 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001578 maven-version: '{maven-version}'
Pamela Dragosh366fbc32017-02-19 20:09:09 -05001579 goals: '{mvn-goals}'
1580 settings: '{mvn-settings}'
1581 settings-type: cfp
1582 global-settings: 'global-settings'
1583 global-settings-type: cfp
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001584
1585 - shell: '{script}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001586
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001587 publishers:
1588 - infra-shiplogs:
1589 maven-version: '{maven-version}'
1590
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001591- job-template:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001592 name: '{project-name}-{stream}-docker-java-version-shell-daily'
1593 project-type: freestyle
1594 node: 'ubuntu1604-docker-8c-8g'
1595
1596 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001597 - infra-properties:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001598 build-days-to-keep: '{build-days-to-keep}'
1599
1600 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001601 - infra-parameters:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001602 project: '{project}'
1603 branch: '{branch}'
1604 refspec: 'refs/heads/{branch}'
1605 artifacts: '{archive-artifacts}'
1606 - maven-exec:
1607 maven-version: '{maven-version}'
1608
1609 scm:
1610 - gerrit-trigger-scm:
1611 refspec: ''
1612 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001613 submodule-recursive: '{submodule-recursive}'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001614
1615 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001616 - infra-wrappers:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001617 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'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001639 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-target:
1649 maven-version: '{maven-version}'
1650 goals: '{mvn-goals}'
1651 settings: '{mvn-settings}'
1652 settings-type: cfp
1653 global-settings: 'global-settings'
1654 global-settings-type: cfp
1655
1656 - shell: '{script}'
1657
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001658 publishers:
1659 - infra-shiplogs:
1660 maven-version: '{maven-version}'
1661
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001662- job-template:
Patrick Brady39f388a2017-03-09 11:26:59 -08001663 name: '{project-name}-{stream}-docker-version-java-daily'
1664 project-type: freestyle
1665 node: 'ubuntu1604-docker-8c-8g'
1666
1667 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001668 - infra-properties:
Patrick Brady39f388a2017-03-09 11:26:59 -08001669 build-days-to-keep: '{build-days-to-keep}'
1670
1671 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001672 - infra-parameters:
Patrick Brady39f388a2017-03-09 11:26:59 -08001673 project: '{project}'
1674 branch: '{branch}'
1675 refspec: 'refs/heads/{branch}'
1676 artifacts: '{archive-artifacts}'
1677 - maven-exec:
1678 maven-version: '{maven-version}'
1679
1680 scm:
1681 - gerrit-trigger-scm:
1682 refspec: ''
1683 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001684 submodule-recursive: '{submodule-recursive}'
Patrick Brady39f388a2017-03-09 11:26:59 -08001685
1686 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001687 - infra-wrappers:
Patrick Brady39f388a2017-03-09 11:26:59 -08001688 build-timeout: '{build-timeout}'
1689
1690 triggers:
1691 # 12 AM UTC
1692 - timed: 'H 12 * * *'
1693 - gerrit-trigger-release-manually:
1694 server: '{server-name}'
1695 project: '{project}'
1696 branch: '{branch}'
1697
1698 builders:
1699
1700 - provide-maven-settings:
1701 global-settings-file: 'global-settings'
1702 settings-file: '{mvn-settings}'
1703
1704 - inject:
1705 properties-file: version.properties
1706
1707 - maven-target:
1708 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001709 goals: 'versions:set versions:update-child-modules versions:commit -B'
Patrick Brady39f388a2017-03-09 11:26:59 -08001710 properties:
1711 - 'newVersion=${{release_version}}'
1712 settings: '{mvn-settings}'
1713 settings-type: cfp
1714 global-settings: 'global-settings'
1715 global-settings-type: cfp
1716
1717 - docker-login
1718
1719 - maven-docker-push-daily:
1720 maven-version: '{maven-version}'
1721 mvn-settings: '{mvn-settings}'
1722 pom: '{docker-pom}'
1723 # use default as mvn-profile if profile is not needed
1724 mvn-profile: '{mvn-profile}'
1725
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001726 publishers:
1727 - infra-shiplogs:
1728 maven-version: '{maven-version}'
1729
Patrick Brady39f388a2017-03-09 11:26:59 -08001730- job-template:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001731 name: '{project-name}-{stream}-aai-docker-java-daily'
1732 project-type: freestyle
1733 node: 'ubuntu1604-docker-8c-8g'
Gary Wudc3f2952017-08-23 16:48:59 -07001734 docker-image-name: ''
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001735
1736 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001737 - infra-properties:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001738 build-days-to-keep: '{build-days-to-keep}'
1739
1740 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001741 - infra-parameters:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001742 project: '{project}'
1743 branch: '{branch}'
1744 refspec: 'refs/heads/{branch}'
1745 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001746 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001747 maven-version: '{maven-version}'
Gary Wudc3f2952017-08-23 16:48:59 -07001748 - docker-image-name:
1749 docker-image-name: '{docker-image-name}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001750
1751 scm:
1752 - gerrit-trigger-scm:
1753 refspec: ''
1754 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001755 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001756
1757 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001758 - infra-wrappers:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001759 build-timeout: '{build-timeout}'
1760
1761 triggers:
1762 # 12 AM UTC
1763 - timed: 'H 12 * * *'
1764 - gerrit-trigger-release-manually:
1765 server: '{server-name}'
1766 project: '{project}'
1767 branch: '{branch}'
1768
1769 builders:
1770
1771 - provide-maven-settings:
1772 global-settings-file: 'global-settings'
1773 settings-file: '{mvn-settings}'
1774
1775 - docker-login
1776
1777 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001778 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001779 pom: 'pom.xml'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001780 goals: 'clean install -DskipTests -B
1781 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001782 settings: '{mvn-settings}'
1783 settings-type: cfp
1784 global-settings: 'global-settings'
1785 global-settings-type: cfp
1786
1787 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001788 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001789 pom: '{pom}'
1790 goals: '{mvn-goals}'
1791 settings: '{mvn-settings}'
1792 settings-type: cfp
1793 global-settings: 'global-settings'
1794 global-settings-type: cfp
1795 properties:
1796 - maven.test.skip=true
Jeremy Phelps48028ab2017-03-28 15:38:24 -05001797 - docker.pull.registry=nexus3.onap.org:10001
1798 - docker.push.registry=nexus3.onap.org:10003
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001799
Venkata Harish K Kajurbf07d0a2017-03-26 11:58:15 +00001800 - shell: !include-raw-escape: include-docker-push.sh
Carsten Lund2d06a692017-02-23 18:23:07 +00001801
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001802 publishers:
1803 - infra-shiplogs:
1804 maven-version: '{maven-version}'
1805
Carsten Lund2d06a692017-02-23 18:23:07 +00001806- job-template:
Jessica Wagantallfec94482017-09-19 11:49:15 -07001807 name: '{project-name}-{stream}-{subproject}-aai-docker-java-daily'
1808 project-type: freestyle
1809 node: 'ubuntu1604-docker-8c-8g'
1810 docker-image-name: ''
1811
1812 properties:
1813 - infra-properties:
1814 build-days-to-keep: '{build-days-to-keep}'
1815
1816 parameters:
1817 - infra-parameters:
1818 project: '{project}'
1819 branch: '{branch}'
1820 refspec: 'refs/heads/{branch}'
1821 artifacts: '{archive-artifacts}'
1822 - maven-exec:
1823 maven-version: '{maven-version}'
1824 - docker-image-name:
1825 docker-image-name: '{docker-image-name}'
1826
1827 scm:
1828 - gerrit-trigger-scm:
1829 refspec: ''
1830 choosing-strategy: 'default'
1831 submodule-recursive: '{submodule-recursive}'
1832
1833 wrappers:
1834 - infra-wrappers:
1835 build-timeout: '{build-timeout}'
1836
1837 triggers:
1838 # 12 AM UTC
1839 - timed: 'H 12 * * *'
1840 - gerrit-trigger-release-manually:
1841 server: '{server-name}'
1842 project: '{project}'
1843 branch: '{branch}'
1844
1845 builders:
1846
1847 - provide-maven-settings:
1848 global-settings-file: 'global-settings'
1849 settings-file: '{mvn-settings}'
1850
1851 - docker-login
1852
1853 - maven-target:
1854 maven-version: '{maven-version}'
1855 pom: 'pom.xml'
1856 goals: 'clean install -DskipTests -B
1857 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
1858 settings: '{mvn-settings}'
1859 settings-type: cfp
1860 global-settings: 'global-settings'
1861 global-settings-type: cfp
1862
1863 - maven-target:
1864 maven-version: '{maven-version}'
1865 pom: '{pom}'
1866 goals: '{mvn-goals}'
1867 settings: '{mvn-settings}'
1868 settings-type: cfp
1869 global-settings: 'global-settings'
1870 global-settings-type: cfp
1871 properties:
1872 - maven.test.skip=true
1873 - docker.pull.registry=nexus3.onap.org:10001
1874 - docker.push.registry=nexus3.onap.org:10003
1875
1876 - shell: !include-raw-escape: include-docker-push.sh
1877
1878 publishers:
1879 - infra-shiplogs:
1880 maven-version: '{maven-version}'
1881
1882- job-template:
Carsten Lund2d06a692017-02-23 18:23:07 +00001883 # Job template for Java daily release jobs
1884 #
1885 # The purpose of this job template is to run
1886 # - change version in all POM files to the release version specified
1887 # in version.properties. This is done using a script instread of
1888 # the mvn version plugin that assumes some specific parent structure.
1889 # - runs maven clean deploy sonar
1890 #
1891 # The POM files are required to use the Maven staging plugin so the deploy
1892 # does not deploy directly to the release repo.
1893 #
1894 # Required Variables:
1895 # branch: git branch (eg. stable/lithium or master)
1896 name: '{project-name}-{stream}-release-version2-java-daily'
1897
1898 project-type: freestyle
1899 node: '{build-node}'
1900 maven-deploy-properties:
1901 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001902 - infra-properties:
Carsten Lund2d06a692017-02-23 18:23:07 +00001903 build-days-to-keep: '{build-days-to-keep}'
1904
1905 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001906 - infra-parameters:
Carsten Lund2d06a692017-02-23 18:23:07 +00001907 project: '{project}'
1908 branch: '{branch}'
1909 refspec: 'refs/heads/{branch}'
1910 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001911 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001912 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001913
1914 scm:
1915 - gerrit-trigger-scm:
1916 refspec: ''
1917 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001918 submodule-recursive: '{submodule-recursive}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001919
1920 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001921 - infra-wrappers:
Carsten Lund2d06a692017-02-23 18:23:07 +00001922 build-timeout: '{build-timeout}'
1923
1924 triggers:
1925 # 11 AM UTC
1926 - timed: 'H 11 * * *'
1927 - gerrit-trigger-release-manually:
1928 server: '{server-name}'
1929 project: '{project}'
1930 branch: '{branch}'
1931
1932 builders:
1933 - provide-maven-settings:
1934 global-settings-file: 'global-settings'
1935 settings-file: '{mvn-settings}'
Andrew Grimbergb7f16152017-02-24 13:13:15 -08001936 - maven-install:
1937 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001938
1939 - inject:
1940 properties-file: version.properties
1941
1942 - shell: !include-raw-escape: include-update-pom-versions.sh
1943
1944 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001945 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001946 goals: 'clean deploy sonar:sonar site:site site:stage-deploy
1947 -Dsonar.host.url=${{SONAR}} -B
1948 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lund2d06a692017-02-23 18:23:07 +00001949 properties:
1950 - '{maven-deploy-properties}'
1951 settings: '{mvn-settings}'
1952 settings-type: cfp
1953 global-settings: 'global-settings'
1954 global-settings-type: cfp
1955
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001956 publishers:
1957 - infra-shiplogs:
1958 maven-version: '{maven-version}'
1959
Carsten Lund2d06a692017-02-23 18:23:07 +00001960- job-template:
1961 # Job template for Java daily release jobs
1962 #
1963 # The purpose of this job template is to run
1964 # - change version in all POM files to the release version specified
1965 # in version.properties. This is done using a script instread of
1966 # the mvn version plugin that assumes some specific parent structure.
1967 # - runs maven clean deploy sonar
1968 #
1969 # The POM files are required to use the Maven staging plugin so the deploy
1970 # does not deploy directly to the release repo.
1971 #
1972 # Required Variables:
1973 # branch: git branch (eg. stable/lithium or master)
1974 # pom: name/location of the pom.xml file relative to the workspace
1975 # pattern: ant file-path pattern relative to the workspace used to
1976 # trigger the job
1977
1978 name: '{project-name}-{stream}-{subproject}-release-version2-java-daily'
1979
1980 project-type: freestyle
1981 node: '{build-node}'
1982 maven-deploy-properties:
1983 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001984 - infra-properties:
Carsten Lund2d06a692017-02-23 18:23:07 +00001985 build-days-to-keep: '{build-days-to-keep}'
1986
1987 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001988 - infra-parameters:
Carsten Lund2d06a692017-02-23 18:23:07 +00001989 project: '{project}'
1990 branch: '{branch}'
1991 refspec: 'refs/heads/{branch}'
1992 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001993 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001994 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001995
1996 scm:
1997 - gerrit-trigger-scm:
1998 refspec: ''
1999 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002000 submodule-recursive: '{submodule-recursive}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002001
2002 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002003 - infra-wrappers:
Carsten Lund2d06a692017-02-23 18:23:07 +00002004 build-timeout: '{build-timeout}'
2005
2006 triggers:
2007 # 11 AM UTC
2008 - timed: 'H 11 * * *'
2009 - gerrit-trigger-release-manually:
2010 server: '{server-name}'
2011 project: '{project}'
2012 branch: '{branch}'
2013 files: '{pattern}'
2014
2015 builders:
2016 - provide-maven-settings:
2017 global-settings-file: 'global-settings'
2018 settings-file: '{mvn-settings}'
Andrew Grimbergb7f16152017-02-24 13:13:15 -08002019 - maven-install:
2020 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002021
2022 - inject:
2023 properties-file: version.properties
2024
2025 - shell: !include-raw-escape: include-update-pom-versions.sh
2026
2027 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08002028 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002029 pom: '{pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04002030 goals: 'clean deploy sonar:sonar site:site site:stage-deploy
2031 -Dsonar.host.url=${{SONAR}} -B
2032 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lund2d06a692017-02-23 18:23:07 +00002033 properties:
2034 - '{maven-deploy-properties}'
2035 settings: '{mvn-settings}'
2036 settings-type: cfp
2037 global-settings: 'global-settings'
2038 global-settings-type: cfp
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002039
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07002040 publishers:
2041 - infra-shiplogs:
2042 maven-version: '{maven-version}'
2043
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002044- job-template:
Dan Timoneya44e0b42017-10-06 09:52:29 -04002045 # Job template for Java daily release jobs
2046 #
2047 # The purpose of this job template is to run
2048 # - change version in all POM files to the release version specified
2049 # in version.properties. This is done using a script instread of
2050 # the mvn version plugin that assumes some specific parent structure
2051 # This version does NOT change the version within the <parent> tag.
2052 # - runs maven clean deploy sonar
2053 #
2054 # The POM files are required to use the Maven staging plugin so the deploy
2055 # does not deploy directly to the release repo.
2056 #
2057 # Required Variables:
2058 # branch: git branch (eg. stable/lithium or master)
2059 # pom: name/location of the pom.xml file relative to the workspace
2060 # pattern: ant file-path pattern relative to the workspace used to
2061 # trigger the job
2062
2063 name: '{project-name}-{stream}-{subproject}-release-version3-java-daily'
2064
2065 project-type: freestyle
2066 node: '{build-node}'
2067 maven-deploy-properties:
2068 properties:
2069 - infra-properties:
2070 build-days-to-keep: '{build-days-to-keep}'
2071
2072 parameters:
2073 - infra-parameters:
2074 project: '{project}'
2075 branch: '{branch}'
2076 refspec: 'refs/heads/{branch}'
2077 artifacts: '{archive-artifacts}'
2078 - maven-exec:
2079 maven-version: '{maven-version}'
2080
2081 scm:
2082 - gerrit-trigger-scm:
2083 refspec: ''
2084 choosing-strategy: 'default'
2085 submodule-recursive: '{submodule-recursive}'
2086
2087 wrappers:
2088 - infra-wrappers:
2089 build-timeout: '{build-timeout}'
2090
2091 triggers:
2092 # 11 AM UTC
2093 - timed: 'H 11 * * *'
2094 - gerrit-trigger-release-manually:
2095 server: '{server-name}'
2096 project: '{project}'
2097 branch: '{branch}'
2098 files: '{pattern}'
2099
2100 builders:
2101 - provide-maven-settings:
2102 global-settings-file: 'global-settings'
2103 settings-file: '{mvn-settings}'
2104 - maven-install:
2105 maven-version: '{maven-version}'
2106
2107 - inject:
2108 properties-file: version.properties
2109
2110 - shell: !include-raw-escape: include-update-pom-versions-not-parent.sh
2111
2112 - maven-target:
2113 maven-version: '{maven-version}'
2114 pom: '{pom}'
2115 goals: 'clean deploy sonar:sonar site:site site:stage-deploy
2116 -Dsonar.host.url=${{SONAR}} -B
2117 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
2118 properties:
2119 - '{maven-deploy-properties}'
2120 settings: '{mvn-settings}'
2121 settings-type: cfp
2122 global-settings: 'global-settings'
2123 global-settings-type: cfp
2124
2125 publishers:
2126 - infra-shiplogs:
2127 maven-version: '{maven-version}'
2128
2129- job-template:
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002130 # Template for maven site plugin invocation
2131 #
2132 # It's designed to be triggered when the trigger-job job
2133 # succeeds as there's no need for new documentaiton
2134 # if the build job fails.
2135 #
2136 # Those parameters should be set :
2137 # - site-pom : the pom file that contains the site confiration
2138 # - trigger-job : the name of the project that triggers this job
2139 # upon success. The job name can be
2140 # parameterized.
2141 name: '{project-name}-{stream}-stage-site-java'
2142 project-type: freestyle
Anaël Clossonb8c5fb52017-03-14 15:43:18 +01002143 node: '{build-node}'
Jessica Wagantallf13258b2017-10-02 16:43:10 -07002144 pom: 'pom.xml'
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002145
2146 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002147 - infra-properties:
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002148 build-days-to-keep: '{build-days-to-keep}'
2149
2150 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002151 - infra-parameters:
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002152 project: '{project}'
2153 branch: '{branch}'
2154 refspec: 'refs/heads/{branch}'
2155 artifacts: '{archive-artifacts}'
2156 - maven-exec:
2157 maven-version: '{maven-version}'
2158
2159 scm:
2160 - gerrit-trigger-scm:
2161 refspec: ''
2162 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002163 submodule-recursive: '{submodule-recursive}'
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002164
2165 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002166 - infra-wrappers:
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002167 build-timeout: '{build-timeout}'
2168
2169 triggers:
2170 - trigger-on-build-success:
2171 job-name: '{trigger-job}'
2172
2173 builders:
2174 - provide-maven-settings:
2175 global-settings-file: 'global-settings'
2176 settings-file: '{mvn-settings}'
Anaël Closson09166842017-03-15 11:19:40 +01002177 - inject:
2178 properties-file: version.properties
2179 - maven-target:
2180 maven-version: '{maven-version}'
Jessica Wagantallf13258b2017-10-02 16:43:10 -07002181 pom: '{pom}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04002182 goals: 'versions:set versions:update-child-modules versions:commit -B'
Anaël Closson09166842017-03-15 11:19:40 +01002183 properties:
2184 - 'newVersion=${{release_version}}'
2185 settings: '{mvn-settings}'
2186 settings-type: cfp
2187 global-settings: 'global-settings'
2188 global-settings-type: cfp
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002189
2190 - maven-target:
2191 maven-version: '{maven-version}'
Anaël Closson03222ed2017-03-13 16:37:09 +01002192 pom: '{site-pom}'
Anaël Clossonb7c8aa32017-03-14 15:50:20 +01002193 goals: 'clean site:site site:stage-deploy'
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002194 settings: '{mvn-settings}'
2195 settings-type: cfp
2196 global-settings: 'global-settings'
2197 global-settings-type: cfp
ig61339fdb9d22017-04-03 17:47:19 +03002198
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07002199 publishers:
2200 - infra-shiplogs:
2201 maven-version: '{maven-version}'
2202
ig61339fdb9d22017-04-03 17:47:19 +03002203- job-template:
2204 # Job template for Java merge jobs
2205 #
2206 # The purpose of this job template is to run "maven clean deploy" for
2207 # projects using this template.
2208 #
2209 # Required Variables:
2210 # branch: git branch (eg. stable/lithium or master)
2211 name: '{project-name}-{stream}-sdc-merge-java'
2212
2213 project-type: freestyle
ig6133cb3f8232017-04-05 14:22:42 +03002214 node: 'ubuntu1604-docker-8c-8g'
ig61339fdb9d22017-04-03 17:47:19 +03002215
2216 properties:
2217 - infra-properties:
2218 build-days-to-keep: '{build-days-to-keep}'
2219
2220 parameters:
2221 - infra-parameters:
2222 project: '{project}'
2223 branch: '{branch}'
2224 refspec: 'refs/heads/{branch}'
2225 artifacts: '{archive-artifacts}'
2226 - maven-exec:
2227 maven-version: '{maven-version}'
2228
2229 scm:
2230 - gerrit-trigger-scm:
2231 refspec: ''
2232 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002233 submodule-recursive: '{submodule-recursive}'
ig61339fdb9d22017-04-03 17:47:19 +03002234
2235 wrappers:
2236 - infra-wrappers:
2237 build-timeout: '{build-timeout}'
2238
2239 triggers:
2240 - gerrit-trigger-patch-merged:
2241 server: '{server-name}'
2242 project: '{project}'
2243 branch: '{branch}'
2244 files: '**'
2245
2246 builders:
2247 - provide-maven-settings:
2248 global-settings-file: 'global-settings'
2249 settings-file: '{mvn-settings}'
ig61339fdb9d22017-04-03 17:47:19 +03002250
2251 - docker-login
2252
ig6133cb3f8232017-04-05 14:22:42 +03002253 - maven-docker-push-daily:
ig61339fdb9d22017-04-03 17:47:19 +03002254 maven-version: '{maven-version}'
ig6133cb3f8232017-04-05 14:22:42 +03002255 mvn-settings: '{mvn-settings}'
2256 pom: '{docker-pom}'
2257 # use default as mvn-profile if profile is not needed
2258 mvn-profile: '{mvn-profile}'
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07002259
2260 publishers:
2261 - infra-shiplogs:
2262 maven-version: '{maven-version}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002263
2264- job-template:
2265 name: '{project-name}-{stream}-aai-docker-java-version-daily'
2266 project-type: freestyle
2267 node: 'ubuntu1604-docker-8c-8g'
2268
2269 properties:
2270 - infra-properties:
2271 build-days-to-keep: '{build-days-to-keep}'
2272
2273 parameters:
2274 - infra-parameters:
2275 project: '{project}'
2276 branch: '{branch}'
2277 refspec: 'refs/heads/{branch}'
2278 artifacts: '{archive-artifacts}'
2279 - maven-exec:
2280 maven-version: '{maven-version}'
2281
2282 scm:
2283 - gerrit-trigger-scm:
2284 refspec: ''
2285 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002286 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002287
2288 wrappers:
2289 - infra-wrappers:
2290 build-timeout: '{build-timeout}'
2291
2292 triggers:
2293 # 12 AM UTC
2294 - timed: 'H 12 * * *'
2295 - gerrit-trigger-release-manually:
2296 server: '{server-name}'
2297 project: '{project}'
2298 branch: '{branch}'
2299
2300 builders:
2301
2302 - provide-maven-settings:
2303 global-settings-file: 'global-settings'
2304 settings-file: '{mvn-settings}'
2305
2306 - docker-login
2307
2308 - maven-target:
2309 maven-version: '{maven-version}'
2310 pom: 'pom.xml'
2311 goals: 'clean install -DskipTests -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
2312 settings: '{mvn-settings}'
2313 settings-type: cfp
2314 global-settings: 'global-settings'
2315 global-settings-type: cfp
2316
2317 - maven-target:
2318 maven-version: '{maven-version}'
2319 pom: '{pom}'
2320 goals: '{mvn-goals}'
2321 settings: '{mvn-settings}'
2322 settings-type: cfp
2323 global-settings: 'global-settings'
2324 global-settings-type: cfp
2325 properties:
2326 - maven.test.skip=true
2327 - docker.pull.registry=nexus3.onap.org:10001
2328 - docker.push.registry=nexus3.onap.org:10003
2329
2330 publishers:
2331 - infra-shiplogs:
2332 maven-version: '{maven-version}'
2333