blob: db06431ab370ee33cbb9ba23246e89e03d7ab948 [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:
Zhaoxing49773042017-10-13 17:14:35 +08001663 name: '{project-name}-{stream}-{subproject}-docker-java-version-shell-daily'
1664 project-type: freestyle
1665 node: 'ubuntu1604-docker-8c-8g'
1666
1667 properties:
1668 - infra-properties:
1669 build-days-to-keep: '{build-days-to-keep}'
1670
1671 parameters:
1672 - infra-parameters:
1673 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'
1684 submodule-recursive: '{submodule-recursive}'
1685
1686 wrappers:
1687 - infra-wrappers:
1688 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}'
1709 pom: '{pom}'
1710 goals: 'versions:set versions:update-child-modules versions:commit -B'
1711 properties:
1712 - 'newVersion=${{release_version}}'
1713 settings: '{mvn-settings}'
1714 settings-type: cfp
1715 global-settings: 'global-settings'
1716 global-settings-type: cfp
1717
1718 - docker-login
1719
1720 - maven-target:
1721 maven-version: '{maven-version}'
1722 pom: '{pom}'
1723 goals: '{mvn-goals}'
1724 settings: '{mvn-settings}'
1725 settings-type: cfp
1726 global-settings: 'global-settings'
1727 global-settings-type: cfp
1728
1729 - shell: '{script}'
1730
1731 publishers:
1732 - infra-shiplogs:
1733 maven-version: '{maven-version}'
1734
1735- job-template:
Patrick Brady39f388a2017-03-09 11:26:59 -08001736 name: '{project-name}-{stream}-docker-version-java-daily'
1737 project-type: freestyle
1738 node: 'ubuntu1604-docker-8c-8g'
1739
1740 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001741 - infra-properties:
Patrick Brady39f388a2017-03-09 11:26:59 -08001742 build-days-to-keep: '{build-days-to-keep}'
1743
1744 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001745 - infra-parameters:
Patrick Brady39f388a2017-03-09 11:26:59 -08001746 project: '{project}'
1747 branch: '{branch}'
1748 refspec: 'refs/heads/{branch}'
1749 artifacts: '{archive-artifacts}'
1750 - maven-exec:
1751 maven-version: '{maven-version}'
1752
1753 scm:
1754 - gerrit-trigger-scm:
1755 refspec: ''
1756 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001757 submodule-recursive: '{submodule-recursive}'
Patrick Brady39f388a2017-03-09 11:26:59 -08001758
1759 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001760 - infra-wrappers:
Patrick Brady39f388a2017-03-09 11:26:59 -08001761 build-timeout: '{build-timeout}'
1762
1763 triggers:
1764 # 12 AM UTC
1765 - timed: 'H 12 * * *'
1766 - gerrit-trigger-release-manually:
1767 server: '{server-name}'
1768 project: '{project}'
1769 branch: '{branch}'
1770
1771 builders:
1772
1773 - provide-maven-settings:
1774 global-settings-file: 'global-settings'
1775 settings-file: '{mvn-settings}'
1776
1777 - inject:
1778 properties-file: version.properties
1779
1780 - maven-target:
1781 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001782 goals: 'versions:set versions:update-child-modules versions:commit -B'
Patrick Brady39f388a2017-03-09 11:26:59 -08001783 properties:
1784 - 'newVersion=${{release_version}}'
1785 settings: '{mvn-settings}'
1786 settings-type: cfp
1787 global-settings: 'global-settings'
1788 global-settings-type: cfp
1789
1790 - docker-login
1791
1792 - maven-docker-push-daily:
1793 maven-version: '{maven-version}'
1794 mvn-settings: '{mvn-settings}'
1795 pom: '{docker-pom}'
1796 # use default as mvn-profile if profile is not needed
1797 mvn-profile: '{mvn-profile}'
1798
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001799 publishers:
1800 - infra-shiplogs:
1801 maven-version: '{maven-version}'
1802
Patrick Brady39f388a2017-03-09 11:26:59 -08001803- job-template:
Zhaoxing49773042017-10-13 17:14:35 +08001804 name: '{project-name}-{stream}-{subproject}-docker-version-java-daily'
1805 project-type: freestyle
1806 node: 'ubuntu1604-docker-8c-8g'
1807
1808 properties:
1809 - infra-properties:
1810 build-days-to-keep: '{build-days-to-keep}'
1811
1812 parameters:
1813 - infra-parameters:
1814 project: '{project}'
1815 branch: '{branch}'
1816 refspec: 'refs/heads/{branch}'
1817 artifacts: '{archive-artifacts}'
1818 - maven-exec:
1819 maven-version: '{maven-version}'
1820
1821 scm:
1822 - gerrit-trigger-scm:
1823 refspec: ''
1824 choosing-strategy: 'default'
1825 submodule-recursive: '{submodule-recursive}'
1826
1827 wrappers:
1828 - infra-wrappers:
1829 build-timeout: '{build-timeout}'
1830
1831 triggers:
1832 # 12 AM UTC
1833 - timed: 'H 12 * * *'
1834 - gerrit-trigger-release-manually:
1835 server: '{server-name}'
1836 project: '{project}'
1837 branch: '{branch}'
1838
1839 builders:
1840
1841 - provide-maven-settings:
1842 global-settings-file: 'global-settings'
1843 settings-file: '{mvn-settings}'
1844
1845 - inject:
1846 properties-file: version.properties
1847
1848 - maven-target:
1849 maven-version: '{maven-version}'
1850 pom: '{pom}'
1851 goals: 'versions:set versions:update-child-modules versions:commit -B'
1852 properties:
1853 - 'newVersion=${{release_version}}'
1854 settings: '{mvn-settings}'
1855 settings-type: cfp
1856 global-settings: 'global-settings'
1857 global-settings-type: cfp
1858
1859 - docker-login
1860
1861 - maven-docker-push-daily:
1862 maven-version: '{maven-version}'
1863 pom: '{pom}'
1864 mvn-settings: '{mvn-settings}'
1865 pom: '{docker-pom}'
1866 # use default as mvn-profile if profile is not needed
1867 mvn-profile: '{mvn-profile}'
1868
1869 publishers:
1870 - infra-shiplogs:
1871 maven-version: '{maven-version}'
1872
1873- job-template:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001874 name: '{project-name}-{stream}-aai-docker-java-daily'
1875 project-type: freestyle
1876 node: 'ubuntu1604-docker-8c-8g'
Gary Wudc3f2952017-08-23 16:48:59 -07001877 docker-image-name: ''
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001878
1879 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001880 - infra-properties:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001881 build-days-to-keep: '{build-days-to-keep}'
1882
1883 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001884 - infra-parameters:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001885 project: '{project}'
1886 branch: '{branch}'
1887 refspec: 'refs/heads/{branch}'
1888 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001889 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001890 maven-version: '{maven-version}'
Gary Wudc3f2952017-08-23 16:48:59 -07001891 - docker-image-name:
1892 docker-image-name: '{docker-image-name}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001893
1894 scm:
1895 - gerrit-trigger-scm:
1896 refspec: ''
1897 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001898 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001899
1900 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001901 - infra-wrappers:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001902 build-timeout: '{build-timeout}'
1903
1904 triggers:
1905 # 12 AM UTC
1906 - timed: 'H 12 * * *'
1907 - gerrit-trigger-release-manually:
1908 server: '{server-name}'
1909 project: '{project}'
1910 branch: '{branch}'
1911
1912 builders:
1913
1914 - provide-maven-settings:
1915 global-settings-file: 'global-settings'
1916 settings-file: '{mvn-settings}'
1917
1918 - docker-login
1919
1920 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001921 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001922 pom: 'pom.xml'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001923 goals: 'clean install -DskipTests -B
1924 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001925 settings: '{mvn-settings}'
1926 settings-type: cfp
1927 global-settings: 'global-settings'
1928 global-settings-type: cfp
1929
1930 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001931 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001932 pom: '{pom}'
1933 goals: '{mvn-goals}'
1934 settings: '{mvn-settings}'
1935 settings-type: cfp
1936 global-settings: 'global-settings'
1937 global-settings-type: cfp
1938 properties:
1939 - maven.test.skip=true
Jeremy Phelps48028ab2017-03-28 15:38:24 -05001940 - docker.pull.registry=nexus3.onap.org:10001
1941 - docker.push.registry=nexus3.onap.org:10003
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001942
Venkata Harish K Kajurbf07d0a2017-03-26 11:58:15 +00001943 - shell: !include-raw-escape: include-docker-push.sh
Carsten Lund2d06a692017-02-23 18:23:07 +00001944
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001945 publishers:
1946 - infra-shiplogs:
1947 maven-version: '{maven-version}'
1948
Carsten Lund2d06a692017-02-23 18:23:07 +00001949- job-template:
Jessica Wagantallfec94482017-09-19 11:49:15 -07001950 name: '{project-name}-{stream}-{subproject}-aai-docker-java-daily'
1951 project-type: freestyle
1952 node: 'ubuntu1604-docker-8c-8g'
1953 docker-image-name: ''
1954
1955 properties:
1956 - infra-properties:
1957 build-days-to-keep: '{build-days-to-keep}'
1958
1959 parameters:
1960 - infra-parameters:
1961 project: '{project}'
1962 branch: '{branch}'
1963 refspec: 'refs/heads/{branch}'
1964 artifacts: '{archive-artifacts}'
1965 - maven-exec:
1966 maven-version: '{maven-version}'
1967 - docker-image-name:
1968 docker-image-name: '{docker-image-name}'
1969
1970 scm:
1971 - gerrit-trigger-scm:
1972 refspec: ''
1973 choosing-strategy: 'default'
1974 submodule-recursive: '{submodule-recursive}'
1975
1976 wrappers:
1977 - infra-wrappers:
1978 build-timeout: '{build-timeout}'
1979
1980 triggers:
1981 # 12 AM UTC
1982 - timed: 'H 12 * * *'
1983 - gerrit-trigger-release-manually:
1984 server: '{server-name}'
1985 project: '{project}'
1986 branch: '{branch}'
1987
1988 builders:
1989
1990 - provide-maven-settings:
1991 global-settings-file: 'global-settings'
1992 settings-file: '{mvn-settings}'
1993
1994 - docker-login
1995
1996 - maven-target:
1997 maven-version: '{maven-version}'
1998 pom: 'pom.xml'
1999 goals: 'clean install -DskipTests -B
2000 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
2001 settings: '{mvn-settings}'
2002 settings-type: cfp
2003 global-settings: 'global-settings'
2004 global-settings-type: cfp
2005
2006 - maven-target:
2007 maven-version: '{maven-version}'
2008 pom: '{pom}'
2009 goals: '{mvn-goals}'
2010 settings: '{mvn-settings}'
2011 settings-type: cfp
2012 global-settings: 'global-settings'
2013 global-settings-type: cfp
2014 properties:
2015 - maven.test.skip=true
2016 - docker.pull.registry=nexus3.onap.org:10001
2017 - docker.push.registry=nexus3.onap.org:10003
2018
2019 - shell: !include-raw-escape: include-docker-push.sh
2020
2021 publishers:
2022 - infra-shiplogs:
2023 maven-version: '{maven-version}'
2024
2025- job-template:
Carsten Lund2d06a692017-02-23 18:23:07 +00002026 # Job template for Java daily release jobs
2027 #
2028 # The purpose of this job template is to run
2029 # - change version in all POM files to the release version specified
2030 # in version.properties. This is done using a script instread of
2031 # the mvn version plugin that assumes some specific parent structure.
2032 # - runs maven clean deploy sonar
2033 #
2034 # The POM files are required to use the Maven staging plugin so the deploy
2035 # does not deploy directly to the release repo.
2036 #
2037 # Required Variables:
2038 # branch: git branch (eg. stable/lithium or master)
2039 name: '{project-name}-{stream}-release-version2-java-daily'
2040
2041 project-type: freestyle
2042 node: '{build-node}'
2043 maven-deploy-properties:
2044 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002045 - infra-properties:
Carsten Lund2d06a692017-02-23 18:23:07 +00002046 build-days-to-keep: '{build-days-to-keep}'
2047
2048 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002049 - infra-parameters:
Carsten Lund2d06a692017-02-23 18:23:07 +00002050 project: '{project}'
2051 branch: '{branch}'
2052 refspec: 'refs/heads/{branch}'
2053 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08002054 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08002055 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002056
2057 scm:
2058 - gerrit-trigger-scm:
2059 refspec: ''
2060 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002061 submodule-recursive: '{submodule-recursive}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002062
2063 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002064 - infra-wrappers:
Carsten Lund2d06a692017-02-23 18:23:07 +00002065 build-timeout: '{build-timeout}'
2066
2067 triggers:
2068 # 11 AM UTC
2069 - timed: 'H 11 * * *'
2070 - gerrit-trigger-release-manually:
2071 server: '{server-name}'
2072 project: '{project}'
2073 branch: '{branch}'
2074
2075 builders:
2076 - provide-maven-settings:
2077 global-settings-file: 'global-settings'
2078 settings-file: '{mvn-settings}'
Andrew Grimbergb7f16152017-02-24 13:13:15 -08002079 - maven-install:
2080 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002081
2082 - inject:
2083 properties-file: version.properties
2084
2085 - shell: !include-raw-escape: include-update-pom-versions.sh
2086
2087 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08002088 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04002089 goals: 'clean deploy sonar:sonar site:site site:stage-deploy
2090 -Dsonar.host.url=${{SONAR}} -B
2091 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lund2d06a692017-02-23 18:23:07 +00002092 properties:
2093 - '{maven-deploy-properties}'
2094 settings: '{mvn-settings}'
2095 settings-type: cfp
2096 global-settings: 'global-settings'
2097 global-settings-type: cfp
2098
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07002099 publishers:
2100 - infra-shiplogs:
2101 maven-version: '{maven-version}'
2102
Carsten Lund2d06a692017-02-23 18:23:07 +00002103- job-template:
2104 # Job template for Java daily release jobs
2105 #
2106 # The purpose of this job template is to run
2107 # - change version in all POM files to the release version specified
2108 # in version.properties. This is done using a script instread of
2109 # the mvn version plugin that assumes some specific parent structure.
2110 # - runs maven clean deploy sonar
2111 #
2112 # The POM files are required to use the Maven staging plugin so the deploy
2113 # does not deploy directly to the release repo.
2114 #
2115 # Required Variables:
2116 # branch: git branch (eg. stable/lithium or master)
2117 # pom: name/location of the pom.xml file relative to the workspace
2118 # pattern: ant file-path pattern relative to the workspace used to
2119 # trigger the job
2120
2121 name: '{project-name}-{stream}-{subproject}-release-version2-java-daily'
2122
2123 project-type: freestyle
2124 node: '{build-node}'
2125 maven-deploy-properties:
2126 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002127 - infra-properties:
Carsten Lund2d06a692017-02-23 18:23:07 +00002128 build-days-to-keep: '{build-days-to-keep}'
2129
2130 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002131 - infra-parameters:
Carsten Lund2d06a692017-02-23 18:23:07 +00002132 project: '{project}'
2133 branch: '{branch}'
2134 refspec: 'refs/heads/{branch}'
2135 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08002136 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08002137 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002138
2139 scm:
2140 - gerrit-trigger-scm:
2141 refspec: ''
2142 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002143 submodule-recursive: '{submodule-recursive}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002144
2145 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002146 - infra-wrappers:
Carsten Lund2d06a692017-02-23 18:23:07 +00002147 build-timeout: '{build-timeout}'
2148
2149 triggers:
2150 # 11 AM UTC
2151 - timed: 'H 11 * * *'
2152 - gerrit-trigger-release-manually:
2153 server: '{server-name}'
2154 project: '{project}'
2155 branch: '{branch}'
2156 files: '{pattern}'
2157
2158 builders:
2159 - provide-maven-settings:
2160 global-settings-file: 'global-settings'
2161 settings-file: '{mvn-settings}'
Andrew Grimbergb7f16152017-02-24 13:13:15 -08002162 - maven-install:
2163 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002164
2165 - inject:
2166 properties-file: version.properties
2167
2168 - shell: !include-raw-escape: include-update-pom-versions.sh
2169
2170 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08002171 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002172 pom: '{pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04002173 goals: 'clean deploy sonar:sonar site:site site:stage-deploy
2174 -Dsonar.host.url=${{SONAR}} -B
2175 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lund2d06a692017-02-23 18:23:07 +00002176 properties:
2177 - '{maven-deploy-properties}'
2178 settings: '{mvn-settings}'
2179 settings-type: cfp
2180 global-settings: 'global-settings'
2181 global-settings-type: cfp
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002182
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07002183 publishers:
2184 - infra-shiplogs:
2185 maven-version: '{maven-version}'
2186
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002187- job-template:
Dan Timoneya44e0b42017-10-06 09:52:29 -04002188 # Job template for Java daily release jobs
2189 #
2190 # The purpose of this job template is to run
2191 # - change version in all POM files to the release version specified
2192 # in version.properties. This is done using a script instread of
2193 # the mvn version plugin that assumes some specific parent structure
2194 # This version does NOT change the version within the <parent> tag.
2195 # - runs maven clean deploy sonar
2196 #
2197 # The POM files are required to use the Maven staging plugin so the deploy
2198 # does not deploy directly to the release repo.
2199 #
2200 # Required Variables:
2201 # branch: git branch (eg. stable/lithium or master)
2202 # pom: name/location of the pom.xml file relative to the workspace
2203 # pattern: ant file-path pattern relative to the workspace used to
2204 # trigger the job
2205
2206 name: '{project-name}-{stream}-{subproject}-release-version3-java-daily'
2207
2208 project-type: freestyle
2209 node: '{build-node}'
2210 maven-deploy-properties:
2211 properties:
2212 - infra-properties:
2213 build-days-to-keep: '{build-days-to-keep}'
2214
2215 parameters:
2216 - infra-parameters:
2217 project: '{project}'
2218 branch: '{branch}'
2219 refspec: 'refs/heads/{branch}'
2220 artifacts: '{archive-artifacts}'
2221 - maven-exec:
2222 maven-version: '{maven-version}'
2223
2224 scm:
2225 - gerrit-trigger-scm:
2226 refspec: ''
2227 choosing-strategy: 'default'
2228 submodule-recursive: '{submodule-recursive}'
2229
2230 wrappers:
2231 - infra-wrappers:
2232 build-timeout: '{build-timeout}'
2233
2234 triggers:
2235 # 11 AM UTC
2236 - timed: 'H 11 * * *'
2237 - gerrit-trigger-release-manually:
2238 server: '{server-name}'
2239 project: '{project}'
2240 branch: '{branch}'
2241 files: '{pattern}'
2242
2243 builders:
2244 - provide-maven-settings:
2245 global-settings-file: 'global-settings'
2246 settings-file: '{mvn-settings}'
2247 - maven-install:
2248 maven-version: '{maven-version}'
2249
2250 - inject:
2251 properties-file: version.properties
2252
2253 - shell: !include-raw-escape: include-update-pom-versions-not-parent.sh
2254
2255 - maven-target:
2256 maven-version: '{maven-version}'
2257 pom: '{pom}'
2258 goals: 'clean deploy sonar:sonar site:site site:stage-deploy
2259 -Dsonar.host.url=${{SONAR}} -B
2260 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
2261 properties:
2262 - '{maven-deploy-properties}'
2263 settings: '{mvn-settings}'
2264 settings-type: cfp
2265 global-settings: 'global-settings'
2266 global-settings-type: cfp
2267
2268 publishers:
2269 - infra-shiplogs:
2270 maven-version: '{maven-version}'
2271
2272- job-template:
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002273 # Template for maven site plugin invocation
2274 #
2275 # It's designed to be triggered when the trigger-job job
2276 # succeeds as there's no need for new documentaiton
2277 # if the build job fails.
2278 #
2279 # Those parameters should be set :
2280 # - site-pom : the pom file that contains the site confiration
2281 # - trigger-job : the name of the project that triggers this job
2282 # upon success. The job name can be
2283 # parameterized.
2284 name: '{project-name}-{stream}-stage-site-java'
2285 project-type: freestyle
Anaël Clossonb8c5fb52017-03-14 15:43:18 +01002286 node: '{build-node}'
Jessica Wagantallf13258b2017-10-02 16:43:10 -07002287 pom: 'pom.xml'
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002288
2289 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002290 - infra-properties:
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002291 build-days-to-keep: '{build-days-to-keep}'
2292
2293 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002294 - infra-parameters:
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002295 project: '{project}'
2296 branch: '{branch}'
2297 refspec: 'refs/heads/{branch}'
2298 artifacts: '{archive-artifacts}'
2299 - maven-exec:
2300 maven-version: '{maven-version}'
2301
2302 scm:
2303 - gerrit-trigger-scm:
2304 refspec: ''
2305 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002306 submodule-recursive: '{submodule-recursive}'
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002307
2308 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002309 - infra-wrappers:
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002310 build-timeout: '{build-timeout}'
2311
2312 triggers:
2313 - trigger-on-build-success:
2314 job-name: '{trigger-job}'
2315
2316 builders:
2317 - provide-maven-settings:
2318 global-settings-file: 'global-settings'
2319 settings-file: '{mvn-settings}'
Anaël Closson09166842017-03-15 11:19:40 +01002320 - inject:
2321 properties-file: version.properties
2322 - maven-target:
2323 maven-version: '{maven-version}'
Jessica Wagantallf13258b2017-10-02 16:43:10 -07002324 pom: '{pom}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04002325 goals: 'versions:set versions:update-child-modules versions:commit -B'
Anaël Closson09166842017-03-15 11:19:40 +01002326 properties:
2327 - 'newVersion=${{release_version}}'
2328 settings: '{mvn-settings}'
2329 settings-type: cfp
2330 global-settings: 'global-settings'
2331 global-settings-type: cfp
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002332
2333 - maven-target:
2334 maven-version: '{maven-version}'
Anaël Closson03222ed2017-03-13 16:37:09 +01002335 pom: '{site-pom}'
Anaël Clossonb7c8aa32017-03-14 15:50:20 +01002336 goals: 'clean site:site site:stage-deploy'
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002337 settings: '{mvn-settings}'
2338 settings-type: cfp
2339 global-settings: 'global-settings'
2340 global-settings-type: cfp
ig61339fdb9d22017-04-03 17:47:19 +03002341
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07002342 publishers:
2343 - infra-shiplogs:
2344 maven-version: '{maven-version}'
2345
ig61339fdb9d22017-04-03 17:47:19 +03002346- job-template:
2347 # Job template for Java merge jobs
2348 #
2349 # The purpose of this job template is to run "maven clean deploy" for
2350 # projects using this template.
2351 #
2352 # Required Variables:
2353 # branch: git branch (eg. stable/lithium or master)
2354 name: '{project-name}-{stream}-sdc-merge-java'
2355
2356 project-type: freestyle
ig6133cb3f8232017-04-05 14:22:42 +03002357 node: 'ubuntu1604-docker-8c-8g'
ig61339fdb9d22017-04-03 17:47:19 +03002358
2359 properties:
2360 - infra-properties:
2361 build-days-to-keep: '{build-days-to-keep}'
2362
2363 parameters:
2364 - infra-parameters:
2365 project: '{project}'
2366 branch: '{branch}'
2367 refspec: 'refs/heads/{branch}'
2368 artifacts: '{archive-artifacts}'
2369 - maven-exec:
2370 maven-version: '{maven-version}'
2371
2372 scm:
2373 - gerrit-trigger-scm:
2374 refspec: ''
2375 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002376 submodule-recursive: '{submodule-recursive}'
ig61339fdb9d22017-04-03 17:47:19 +03002377
2378 wrappers:
2379 - infra-wrappers:
2380 build-timeout: '{build-timeout}'
2381
2382 triggers:
2383 - gerrit-trigger-patch-merged:
2384 server: '{server-name}'
2385 project: '{project}'
2386 branch: '{branch}'
2387 files: '**'
2388
2389 builders:
2390 - provide-maven-settings:
2391 global-settings-file: 'global-settings'
2392 settings-file: '{mvn-settings}'
ig61339fdb9d22017-04-03 17:47:19 +03002393
2394 - docker-login
2395
ig6133cb3f8232017-04-05 14:22:42 +03002396 - maven-docker-push-daily:
ig61339fdb9d22017-04-03 17:47:19 +03002397 maven-version: '{maven-version}'
ig6133cb3f8232017-04-05 14:22:42 +03002398 mvn-settings: '{mvn-settings}'
2399 pom: '{docker-pom}'
2400 # use default as mvn-profile if profile is not needed
2401 mvn-profile: '{mvn-profile}'
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07002402
2403 publishers:
2404 - infra-shiplogs:
2405 maven-version: '{maven-version}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002406
2407- job-template:
2408 name: '{project-name}-{stream}-aai-docker-java-version-daily'
2409 project-type: freestyle
2410 node: 'ubuntu1604-docker-8c-8g'
2411
2412 properties:
2413 - infra-properties:
2414 build-days-to-keep: '{build-days-to-keep}'
2415
2416 parameters:
2417 - infra-parameters:
2418 project: '{project}'
2419 branch: '{branch}'
2420 refspec: 'refs/heads/{branch}'
2421 artifacts: '{archive-artifacts}'
2422 - maven-exec:
2423 maven-version: '{maven-version}'
2424
2425 scm:
2426 - gerrit-trigger-scm:
2427 refspec: ''
2428 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002429 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002430
2431 wrappers:
2432 - infra-wrappers:
2433 build-timeout: '{build-timeout}'
2434
2435 triggers:
2436 # 12 AM UTC
2437 - timed: 'H 12 * * *'
2438 - gerrit-trigger-release-manually:
2439 server: '{server-name}'
2440 project: '{project}'
2441 branch: '{branch}'
2442
2443 builders:
2444
2445 - provide-maven-settings:
2446 global-settings-file: 'global-settings'
2447 settings-file: '{mvn-settings}'
2448
2449 - docker-login
2450
2451 - maven-target:
2452 maven-version: '{maven-version}'
2453 pom: 'pom.xml'
2454 goals: 'clean install -DskipTests -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
2455 settings: '{mvn-settings}'
2456 settings-type: cfp
2457 global-settings: 'global-settings'
2458 global-settings-type: cfp
2459
2460 - maven-target:
2461 maven-version: '{maven-version}'
2462 pom: '{pom}'
2463 goals: '{mvn-goals}'
2464 settings: '{mvn-settings}'
2465 settings-type: cfp
2466 global-settings: 'global-settings'
2467 global-settings-type: cfp
2468 properties:
2469 - maven.test.skip=true
2470 - docker.pull.registry=nexus3.onap.org:10001
2471 - docker.push.registry=nexus3.onap.org:10003
2472
2473 publishers:
2474 - infra-shiplogs:
2475 maven-version: '{maven-version}'
2476