blob: 2c82db479f9f034b7ece0f0ddbd5fd4a388edd91 [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
614 - timed: 'H 11 * * *'
615 - 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
691 - timed: 'H 11 * * *'
692 - 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
769 - timed: 'H 11 * * *'
770 - 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:
Carsten Lundda8b6972017-02-15 23:59:25 +0000808 # Job template for Java daily release jobs with POM not at the root
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 # pom: name/location of the pom.xml file relative to the workspace
816
817
818 name: '{project-name}-{stream}-{subproject}-release-java-daily'
819
820 project-type: freestyle
821 node: '{build-node}'
822 maven-deploy-properties:
823 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700824 - infra-properties:
Carsten Lundda8b6972017-02-15 23:59:25 +0000825 build-days-to-keep: '{build-days-to-keep}'
826
827 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700828 - infra-parameters:
Carsten Lundda8b6972017-02-15 23:59:25 +0000829 project: '{project}'
830 branch: '{branch}'
831 refspec: 'refs/heads/{branch}'
832 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800833 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800834 maven-version: '{maven-version}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000835
836 scm:
837 - gerrit-trigger-scm:
838 refspec: ''
839 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500840 submodule-recursive: '{submodule-recursive}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000841
842 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700843 - infra-wrappers:
Carsten Lundda8b6972017-02-15 23:59:25 +0000844 build-timeout: '{build-timeout}'
845
846 triggers:
847 # 11 AM UTC
848 - timed: 'H 11 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -0800849 - gerrit-trigger-release-manually:
850 server: '{server-name}'
851 project: '{project}'
852 branch: '{branch}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000853
854 builders:
855 - provide-maven-settings:
856 global-settings-file: 'global-settings'
857 settings-file: '{mvn-settings}'
858
Carsten Lundda8b6972017-02-15 23:59:25 +0000859 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800860 maven-version: '{maven-version}'
Carsten Lund63cd3b82017-02-18 18:19:22 +0000861 pom: '{pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400862 goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B
863 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lundda8b6972017-02-15 23:59:25 +0000864 properties:
865 - '{maven-deploy-properties}'
Jessica Wagantall30f0d782017-08-08 13:37:25 -0700866 java-opts:
867 - '-Xmx4096m -XX:MaxPermSize=512m'
Carsten Lundda8b6972017-02-15 23:59:25 +0000868 settings: '{mvn-settings}'
869 settings-type: cfp
870 global-settings: 'global-settings'
871 global-settings-type: cfp
872
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700873 publishers:
874 - infra-shiplogs:
875 maven-version: '{maven-version}'
876
Carsten Lundda8b6972017-02-15 23:59:25 +0000877- job-template:
Jessica Wagantallae897942017-09-28 10:56:55 -0700878 # Job template for Java daily release jobs with POM not at the root
879 #
880 # The purpose of this job template is to run "maven version && maven clean
881 # deploy" for projects using this template.
882 #
883 # Required Variables:
884 # branch: git branch (eg. stable/lithium or master)
885 # pom: name/location of the pom.xml file relative to the workspace
886
887
888 name: '{project-name}-{stream}-{subproject}-release-java-daily-no-sonar'
889
890 project-type: freestyle
891 node: '{build-node}'
892 maven-deploy-properties:
893 properties:
894 - infra-properties:
895 build-days-to-keep: '{build-days-to-keep}'
896
897 parameters:
898 - infra-parameters:
899 project: '{project}'
900 branch: '{branch}'
901 refspec: 'refs/heads/{branch}'
902 artifacts: '{archive-artifacts}'
903 - maven-exec:
904 maven-version: '{maven-version}'
905
906 scm:
907 - gerrit-trigger-scm:
908 refspec: ''
909 choosing-strategy: 'default'
910 submodule-recursive: '{submodule-recursive}'
911
912 wrappers:
913 - infra-wrappers:
914 build-timeout: '{build-timeout}'
915
916 triggers:
917 # 11 AM UTC
918 - timed: 'H 11 * * *'
919 - gerrit-trigger-release-manually:
920 server: '{server-name}'
921 project: '{project}'
922 branch: '{branch}'
923
924 builders:
925 - provide-maven-settings:
926 global-settings-file: 'global-settings'
927 settings-file: '{mvn-settings}'
928
929 - maven-target:
930 maven-version: '{maven-version}'
931 pom: '{pom}'
932 goals: 'clean deploy -B
933 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
934 properties:
935 - '{maven-deploy-properties}'
936 java-opts:
937 - '-Xmx4096m -XX:MaxPermSize=512m'
938 settings: '{mvn-settings}'
939 settings-type: cfp
940 global-settings: 'global-settings'
941 global-settings-type: cfp
942
943 publishers:
944 - infra-shiplogs:
945 maven-version: '{maven-version}'
946
947- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800948 # Job template for Java merge jobs
949 #
950 # The purpose of this job template is to run "maven clean deploy" for
951 # projects using this template.
952 #
953 # Required Variables:
954 # branch: git branch (eg. stable/lithium or master)
Andrew Grimbergce2286c2017-01-31 05:50:39 -0800955 name: '{project-name}-{stream}-merge-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800956
957 project-type: freestyle
958 node: '{build-node}'
959
960 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700961 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800962 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800963
964 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700965 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800966 project: '{project}'
967 branch: '{branch}'
968 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -0800969 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800970 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800971 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800972
973 scm:
974 - gerrit-trigger-scm:
975 refspec: ''
976 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500977 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800978
979 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700980 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800981 build-timeout: '{build-timeout}'
982
983 triggers:
984 - gerrit-trigger-patch-merged:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800985 server: '{server-name}'
986 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800987 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800988 files: '**'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800989
990 builders:
991 - provide-maven-settings:
992 global-settings-file: 'global-settings'
993 settings-file: '{mvn-settings}'
994 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800995 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400996 goals: 'clean deploy -B
997 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800998 settings: '{mvn-settings}'
999 settings-type: cfp
1000 global-settings: 'global-settings'
1001 global-settings-type: cfp
1002
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001003 publishers:
1004 - infra-shiplogs:
1005 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001006
1007- job-template:
JulienBea4868a62017-07-28 17:13:11 +02001008 # Job template for Java merge jobs based on
1009 # '{project-name}-{stream}-merge-java'
1010 # The purpose of this job template is to run "maven clean deploy" for
1011 # projects using this template.
1012 #
1013 # Required Variables:
1014 # branch: git branch (eg. stable/lithium or master)
1015 # maven-properties: properties passed to maven
1016 name: '{project-name}-{stream}-merge-properties-java'
1017
1018 project-type: freestyle
1019 node: '{build-node}'
1020
1021 properties:
1022 - infra-properties:
1023 build-days-to-keep: '{build-days-to-keep}'
1024
1025 parameters:
1026 - infra-parameters:
1027 project: '{project}'
1028 branch: '{branch}'
1029 refspec: 'refs/heads/{branch}'
1030 artifacts: '{archive-artifacts}'
1031 - maven-exec:
1032 maven-version: '{maven-version}'
1033
1034 scm:
1035 - gerrit-trigger-scm:
1036 refspec: ''
1037 choosing-strategy: 'default'
1038 submodule-recursive: '{submodule-recursive}'
1039
1040 wrappers:
1041 - infra-wrappers:
1042 build-timeout: '{build-timeout}'
1043
1044 triggers:
1045 - gerrit-trigger-patch-merged:
1046 server: '{server-name}'
1047 project: '{project}'
1048 branch: '{branch}'
1049 files: '**'
1050
1051 builders:
1052 - provide-maven-settings:
1053 global-settings-file: 'global-settings'
1054 settings-file: '{mvn-settings}'
1055 - maven-target:
1056 maven-version: '{maven-version}'
1057 goals: 'clean deploy -B
1058 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
1059 settings: '{mvn-settings}'
1060 settings-type: cfp
1061 global-settings: 'global-settings'
1062 global-settings-type: cfp
JulienBec9d90e22017-08-08 10:44:10 +02001063 properties: '{obj:mvn_properties}'
JulienBea4868a62017-07-28 17:13:11 +02001064
1065 publishers:
1066 - infra-shiplogs:
1067 maven-version: '{maven-version}'
1068
1069- job-template:
JulienBeef823f12017-04-12 04:52:40 -07001070 # Job template for Java merge jobs that takes a maven template
1071 #
1072 # The purpose of this job template is to run "maven clean deploy -P {x}"
1073 # for projects using this template.
1074 #
1075 # Required Variables:
1076 # branch: git branch (eg. stable/lithium or master)
1077 name: '{project-name}-{stream}-merge-profile-java'
1078
1079 project-type: freestyle
1080 node: '{build-node}'
1081
1082 properties:
1083 - infra-properties:
1084 build-days-to-keep: '{build-days-to-keep}'
1085
1086 parameters:
1087 - infra-parameters:
1088 project: '{project}'
1089 branch: '{branch}'
1090 refspec: 'refs/heads/{branch}'
1091 artifacts: '{archive-artifacts}'
1092 - maven-exec:
1093 maven-version: '{maven-version}'
1094
1095 scm:
1096 - gerrit-trigger-scm:
1097 refspec: ''
1098 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001099 submodule-recursive: '{submodule-recursive}'
JulienBeef823f12017-04-12 04:52:40 -07001100
1101 wrappers:
1102 - infra-wrappers:
1103 build-timeout: '{build-timeout}'
1104
1105 triggers:
1106 - gerrit-trigger-patch-merged:
1107 server: '{server-name}'
1108 project: '{project}'
1109 branch: '{branch}'
1110 files: '**'
1111
1112 builders:
1113 - provide-maven-settings:
1114 global-settings-file: 'global-settings'
1115 settings-file: '{mvn-settings}'
Determe, Sebastien (sd378r)62e4e662017-04-26 08:00:00 -07001116
1117 - docker-login
1118
JulienBeef823f12017-04-12 04:52:40 -07001119 - maven-target:
1120 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001121 goals: 'clean deploy -P {mvn-profile} -B
1122 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBeef823f12017-04-12 04:52:40 -07001123 settings: '{mvn-settings}'
1124 settings-type: cfp
1125 global-settings: 'global-settings'
1126 global-settings-type: cfp
Determe, Sebastien (sd378r)345956b2017-04-28 08:45:52 -07001127 properties:
1128 - docker.pull.registry=nexus3.onap.org:10001
1129 - docker.push.registry=nexus3.onap.org:10003
JulienBeef823f12017-04-12 04:52:40 -07001130
1131 publishers:
1132 - infra-shiplogs:
1133 maven-version: '{maven-version}'
1134
1135- job-template:
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001136 # Job template for Java merge jobs that should also be triggered by upstream
1137 # merges
1138 #
1139 # Required Variables:
1140 # stream: release stream
1141 # branch: git branch
1142 # dependencies: fully qualified upstream job name to trigger on
1143 # this may be ''
1144 name: '{project-name}-{stream}-downstream-merge-java'
1145
1146 project-type: freestyle
1147 node: '{build-node}'
1148
1149 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001150 - infra-properties:
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001151 build-days-to-keep: '{build-days-to-keep}'
1152
1153 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001154 - infra-parameters:
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001155 project: '{project}'
1156 branch: '{branch}'
1157 refspec: 'refs/heads/{branch}'
1158 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001159 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001160 maven-version: '{maven-version}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001161
1162 scm:
1163 - gerrit-trigger-scm:
1164 refspec: ''
1165 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001166 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001167
1168 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001169 - infra-wrappers:
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001170 build-timeout: '{build-timeout}'
1171
1172 triggers:
1173 - reverse:
1174 jobs: '{dependencies}'
1175 result: 'success'
1176 - gerrit-trigger-patch-merged:
1177 server: '{server-name}'
1178 project: '{project}'
1179 branch: '{branch}'
1180 files: '**'
1181
1182 builders:
1183 - provide-maven-settings:
1184 global-settings-file: 'global-settings'
1185 settings-file: '{mvn-settings}'
1186 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001187 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001188 goals: 'clean deploy -B
1189 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001190 settings: '{mvn-settings}'
1191 settings-type: cfp
1192 global-settings: 'global-settings'
1193 global-settings-type: cfp
1194
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001195 publishers:
1196 - infra-shiplogs:
1197 maven-version: '{maven-version}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001198
1199- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001200 # Job template for Java merge jobs with POM not at the root
1201 #
1202 # The purpose of this job template is to run "maven clean deploy" for
1203 # projects using this template.
1204 #
1205 # Required Variables:
1206 # branch: git branch (eg. stable/lithium or master)
1207 # pom: name/location of the pom.xml file relative to the workspace
1208 # pattern: ant file-path pattern relative to the workspace used to
1209 # trigger the job
1210
Andrew Grimbergce2286c2017-01-31 05:50:39 -08001211 name: '{project-name}-{stream}-{subproject}-merge-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001212
1213 project-type: freestyle
1214 node: '{build-node}'
1215
1216 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001217 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001218 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001219
1220 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001221 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001222 project: '{project}'
1223 branch: '{branch}'
1224 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -08001225 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001226 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001227 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001228
1229 scm:
1230 - gerrit-trigger-scm:
1231 refspec: ''
1232 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001233 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001234
1235 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001236 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001237 build-timeout: '{build-timeout}'
1238
1239 triggers:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001240 - gerrit-trigger-patch-merged:
1241 server: '{server-name}'
1242 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001243 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001244 files: '{pattern}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001245
1246 builders:
1247 - provide-maven-settings:
1248 global-settings-file: 'global-settings'
1249 settings-file: '{mvn-settings}'
1250 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001251 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001252 pom: '{pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001253 goals: 'clean deploy -B
1254 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001255 settings: '{mvn-settings}'
1256 settings-type: cfp
1257 global-settings: 'global-settings'
1258 global-settings-type: cfp
1259
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001260 publishers:
1261 - infra-shiplogs:
1262 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001263
1264- job-template:
1265 name: '{project-name}-{stream}-docker-java-daily'
1266 project-type: freestyle
Andrew Grimberg2137b1d2017-02-15 07:24:53 -08001267 node: 'ubuntu1604-docker-8c-8g'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001268
1269 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001270 - infra-properties:
Anaël Clossonabbafb52017-02-09 17:55:10 +01001271 build-days-to-keep: '{build-days-to-keep}'
1272
1273 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001274 - infra-parameters:
Anaël Clossonabbafb52017-02-09 17:55:10 +01001275 project: '{project}'
1276 branch: '{branch}'
1277 refspec: 'refs/heads/{branch}'
1278 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001279 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001280 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001281
1282 scm:
1283 - gerrit-trigger-scm:
1284 refspec: ''
1285 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001286 submodule-recursive: '{submodule-recursive}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001287
Anaël Clossonabbafb52017-02-09 17:55:10 +01001288 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001289 - infra-wrappers:
Anaël Clossonabbafb52017-02-09 17:55:10 +01001290 build-timeout: '{build-timeout}'
1291
1292 triggers:
JulienBe0d8c2c32017-02-16 11:50:48 -08001293 # 12 AM UTC
Anaël Clossonabbafb52017-02-09 17:55:10 +01001294 - timed: 'H 12 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -08001295 - gerrit-trigger-release-manually:
1296 server: '{server-name}'
1297 project: '{project}'
1298 branch: '{branch}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001299
1300 builders:
Anaël Closson63e090e2017-02-15 14:50:45 +01001301
Anaël Clossonabbafb52017-02-09 17:55:10 +01001302 - provide-maven-settings:
1303 global-settings-file: 'global-settings'
1304 settings-file: '{mvn-settings}'
Anaël Closson7313fea2017-02-14 15:56:21 +01001305
Anaël Closson63e090e2017-02-15 14:50:45 +01001306 - docker-login
1307
Anaël Clossonabbafb52017-02-09 17:55:10 +01001308 - maven-docker-push-daily:
Andrew Grimberge2465882017-02-24 12:38:05 -08001309 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001310 mvn-settings: '{mvn-settings}'
1311 pom: '{docker-pom}'
Anaël Closson30a5c772017-02-16 15:02:56 +01001312 # use default as mvn-profile if profile is not needed
1313 mvn-profile: '{mvn-profile}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001314
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001315 publishers:
1316 - infra-shiplogs:
1317 maven-version: '{maven-version}'
1318
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001319- job-template:
JulienBe91c56ec2017-06-21 23:37:39 +02001320 # Job template for building & pushing docker images
1321 #
1322 # The purpose of this job template is to run :
1323 # 1. login to the docker registry
1324 # 2. do a clean deploy on the specified profile
1325 #
1326 # Required Variables:
1327 # pom: name/location of the pom.xml file relative to the workspace
1328 # profile: the docker profile defined in the pom
1329 # maven-properties: properties passed to maven
1330 name: '{project-name}-{stream}-docker-java-properties-daily'
1331 project-type: freestyle
1332 node: 'ubuntu1604-docker-8c-8g'
1333 properties:
1334 - infra-properties:
1335 build-days-to-keep: '{build-days-to-keep}'
1336 parameters:
1337 - infra-parameters:
1338 project: '{project}'
1339 branch: '{branch}'
1340 refspec: 'refs/heads/{branch}'
1341 artifacts: '{archive-artifacts}'
1342 - maven-exec:
1343 maven-version: '{maven-version}'
1344 scm:
1345 - gerrit-trigger-scm:
1346 refspec: ''
1347 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001348 submodule-recursive: '{submodule-recursive}'
JulienBe91c56ec2017-06-21 23:37:39 +02001349 wrappers:
1350 - infra-wrappers:
1351 build-timeout: '{build-timeout}'
1352 triggers:
1353 # 12 AM UTC
1354 - timed: 'H 12 * * *'
1355 - gerrit-trigger-release-manually:
1356 server: '{server-name}'
1357 project: '{project}'
1358 branch: '{branch}'
1359 builders:
1360 - provide-maven-settings:
1361 global-settings-file: 'global-settings'
1362 settings-file: '{mvn-settings}'
1363 - docker-login
1364 - maven-docker-push-daily:
1365 maven-version: '{maven-version}'
1366 mvn-settings: '{mvn-settings}'
1367 pom: '{docker-pom}'
1368 properties: '{maven-properties}'
1369 # use default as mvn-profile if profile is not needed
1370 mvn-profile: '{mvn-profile}'
1371 publishers:
1372 - infra-shiplogs:
1373 maven-version: '{maven-version}'
1374
1375- job-template:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001376 name: '{project-name}-{stream}-docker-java-shell-daily'
1377 project-type: freestyle
1378 node: 'ubuntu1604-docker-8c-8g'
1379
1380 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001381 - infra-properties:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001382 build-days-to-keep: '{build-days-to-keep}'
1383
1384 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001385 - infra-parameters:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001386 project: '{project}'
1387 branch: '{branch}'
1388 refspec: 'refs/heads/{branch}'
1389 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001390 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001391 maven-version: '{maven-version}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001392
1393 scm:
1394 - gerrit-trigger-scm:
1395 refspec: ''
1396 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001397 submodule-recursive: '{submodule-recursive}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001398
1399 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001400 - infra-wrappers:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001401 build-timeout: '{build-timeout}'
1402
1403 triggers:
1404 # 12 AM UTC
1405 - timed: 'H 12 * * *'
1406 - gerrit-trigger-release-manually:
1407 server: '{server-name}'
1408 project: '{project}'
1409 branch: '{branch}'
1410
1411 builders:
1412
1413 - provide-maven-settings:
1414 global-settings-file: 'global-settings'
1415 settings-file: '{mvn-settings}'
1416
1417 - docker-login
1418
Pamela Dragosh366fbc32017-02-19 20:09:09 -05001419 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001420 maven-version: '{maven-version}'
Pamela Dragosh366fbc32017-02-19 20:09:09 -05001421 goals: '{mvn-goals}'
1422 settings: '{mvn-settings}'
1423 settings-type: cfp
1424 global-settings: 'global-settings'
1425 global-settings-type: cfp
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001426
1427 - shell: '{script}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001428
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001429 publishers:
1430 - infra-shiplogs:
1431 maven-version: '{maven-version}'
1432
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001433- job-template:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001434 name: '{project-name}-{stream}-docker-java-version-shell-daily'
1435 project-type: freestyle
1436 node: 'ubuntu1604-docker-8c-8g'
1437
1438 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001439 - infra-properties:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001440 build-days-to-keep: '{build-days-to-keep}'
1441
1442 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001443 - infra-parameters:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001444 project: '{project}'
1445 branch: '{branch}'
1446 refspec: 'refs/heads/{branch}'
1447 artifacts: '{archive-artifacts}'
1448 - maven-exec:
1449 maven-version: '{maven-version}'
1450
1451 scm:
1452 - gerrit-trigger-scm:
1453 refspec: ''
1454 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001455 submodule-recursive: '{submodule-recursive}'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001456
1457 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001458 - infra-wrappers:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001459 build-timeout: '{build-timeout}'
1460
1461 triggers:
1462 # 12 AM UTC
1463 - timed: 'H 12 * * *'
1464 - gerrit-trigger-release-manually:
1465 server: '{server-name}'
1466 project: '{project}'
1467 branch: '{branch}'
1468
1469 builders:
1470
1471 - provide-maven-settings:
1472 global-settings-file: 'global-settings'
1473 settings-file: '{mvn-settings}'
1474
1475 - inject:
1476 properties-file: version.properties
1477
1478 - maven-target:
1479 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001480 goals: 'versions:set versions:update-child-modules versions:commit -B'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001481 properties:
1482 - 'newVersion=${{release_version}}'
1483 settings: '{mvn-settings}'
1484 settings-type: cfp
1485 global-settings: 'global-settings'
1486 global-settings-type: cfp
1487
1488 - docker-login
1489
1490 - maven-target:
1491 maven-version: '{maven-version}'
1492 goals: '{mvn-goals}'
1493 settings: '{mvn-settings}'
1494 settings-type: cfp
1495 global-settings: 'global-settings'
1496 global-settings-type: cfp
1497
1498 - shell: '{script}'
1499
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001500 publishers:
1501 - infra-shiplogs:
1502 maven-version: '{maven-version}'
1503
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001504- job-template:
Patrick Brady39f388a2017-03-09 11:26:59 -08001505 name: '{project-name}-{stream}-docker-version-java-daily'
1506 project-type: freestyle
1507 node: 'ubuntu1604-docker-8c-8g'
1508
1509 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001510 - infra-properties:
Patrick Brady39f388a2017-03-09 11:26:59 -08001511 build-days-to-keep: '{build-days-to-keep}'
1512
1513 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001514 - infra-parameters:
Patrick Brady39f388a2017-03-09 11:26:59 -08001515 project: '{project}'
1516 branch: '{branch}'
1517 refspec: 'refs/heads/{branch}'
1518 artifacts: '{archive-artifacts}'
1519 - maven-exec:
1520 maven-version: '{maven-version}'
1521
1522 scm:
1523 - gerrit-trigger-scm:
1524 refspec: ''
1525 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001526 submodule-recursive: '{submodule-recursive}'
Patrick Brady39f388a2017-03-09 11:26:59 -08001527
1528 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001529 - infra-wrappers:
Patrick Brady39f388a2017-03-09 11:26:59 -08001530 build-timeout: '{build-timeout}'
1531
1532 triggers:
1533 # 12 AM UTC
1534 - timed: 'H 12 * * *'
1535 - gerrit-trigger-release-manually:
1536 server: '{server-name}'
1537 project: '{project}'
1538 branch: '{branch}'
1539
1540 builders:
1541
1542 - provide-maven-settings:
1543 global-settings-file: 'global-settings'
1544 settings-file: '{mvn-settings}'
1545
1546 - inject:
1547 properties-file: version.properties
1548
1549 - maven-target:
1550 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001551 goals: 'versions:set versions:update-child-modules versions:commit -B'
Patrick Brady39f388a2017-03-09 11:26:59 -08001552 properties:
1553 - 'newVersion=${{release_version}}'
1554 settings: '{mvn-settings}'
1555 settings-type: cfp
1556 global-settings: 'global-settings'
1557 global-settings-type: cfp
1558
1559 - docker-login
1560
1561 - maven-docker-push-daily:
1562 maven-version: '{maven-version}'
1563 mvn-settings: '{mvn-settings}'
1564 pom: '{docker-pom}'
1565 # use default as mvn-profile if profile is not needed
1566 mvn-profile: '{mvn-profile}'
1567
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001568 publishers:
1569 - infra-shiplogs:
1570 maven-version: '{maven-version}'
1571
Patrick Brady39f388a2017-03-09 11:26:59 -08001572- job-template:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001573 name: '{project-name}-{stream}-aai-docker-java-daily'
1574 project-type: freestyle
1575 node: 'ubuntu1604-docker-8c-8g'
Gary Wudc3f2952017-08-23 16:48:59 -07001576 docker-image-name: ''
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001577
1578 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001579 - infra-properties:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001580 build-days-to-keep: '{build-days-to-keep}'
1581
1582 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001583 - infra-parameters:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001584 project: '{project}'
1585 branch: '{branch}'
1586 refspec: 'refs/heads/{branch}'
1587 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001588 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001589 maven-version: '{maven-version}'
Gary Wudc3f2952017-08-23 16:48:59 -07001590 - docker-image-name:
1591 docker-image-name: '{docker-image-name}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001592
1593 scm:
1594 - gerrit-trigger-scm:
1595 refspec: ''
1596 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001597 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001598
1599 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001600 - infra-wrappers:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001601 build-timeout: '{build-timeout}'
1602
1603 triggers:
1604 # 12 AM UTC
1605 - timed: 'H 12 * * *'
1606 - gerrit-trigger-release-manually:
1607 server: '{server-name}'
1608 project: '{project}'
1609 branch: '{branch}'
1610
1611 builders:
1612
1613 - provide-maven-settings:
1614 global-settings-file: 'global-settings'
1615 settings-file: '{mvn-settings}'
1616
1617 - docker-login
1618
1619 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001620 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001621 pom: 'pom.xml'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001622 goals: 'clean install -DskipTests -B
1623 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001624 settings: '{mvn-settings}'
1625 settings-type: cfp
1626 global-settings: 'global-settings'
1627 global-settings-type: cfp
1628
1629 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001630 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001631 pom: '{pom}'
1632 goals: '{mvn-goals}'
1633 settings: '{mvn-settings}'
1634 settings-type: cfp
1635 global-settings: 'global-settings'
1636 global-settings-type: cfp
1637 properties:
1638 - maven.test.skip=true
Jeremy Phelps48028ab2017-03-28 15:38:24 -05001639 - docker.pull.registry=nexus3.onap.org:10001
1640 - docker.push.registry=nexus3.onap.org:10003
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001641
Venkata Harish K Kajurbf07d0a2017-03-26 11:58:15 +00001642 - shell: !include-raw-escape: include-docker-push.sh
Carsten Lund2d06a692017-02-23 18:23:07 +00001643
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001644 publishers:
1645 - infra-shiplogs:
1646 maven-version: '{maven-version}'
1647
Carsten Lund2d06a692017-02-23 18:23:07 +00001648- job-template:
Jessica Wagantallfec94482017-09-19 11:49:15 -07001649 name: '{project-name}-{stream}-{subproject}-aai-docker-java-daily'
1650 project-type: freestyle
1651 node: 'ubuntu1604-docker-8c-8g'
1652 docker-image-name: ''
1653
1654 properties:
1655 - infra-properties:
1656 build-days-to-keep: '{build-days-to-keep}'
1657
1658 parameters:
1659 - infra-parameters:
1660 project: '{project}'
1661 branch: '{branch}'
1662 refspec: 'refs/heads/{branch}'
1663 artifacts: '{archive-artifacts}'
1664 - maven-exec:
1665 maven-version: '{maven-version}'
1666 - docker-image-name:
1667 docker-image-name: '{docker-image-name}'
1668
1669 scm:
1670 - gerrit-trigger-scm:
1671 refspec: ''
1672 choosing-strategy: 'default'
1673 submodule-recursive: '{submodule-recursive}'
1674
1675 wrappers:
1676 - infra-wrappers:
1677 build-timeout: '{build-timeout}'
1678
1679 triggers:
1680 # 12 AM UTC
1681 - timed: 'H 12 * * *'
1682 - gerrit-trigger-release-manually:
1683 server: '{server-name}'
1684 project: '{project}'
1685 branch: '{branch}'
1686
1687 builders:
1688
1689 - provide-maven-settings:
1690 global-settings-file: 'global-settings'
1691 settings-file: '{mvn-settings}'
1692
1693 - docker-login
1694
1695 - maven-target:
1696 maven-version: '{maven-version}'
1697 pom: 'pom.xml'
1698 goals: 'clean install -DskipTests -B
1699 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
1700 settings: '{mvn-settings}'
1701 settings-type: cfp
1702 global-settings: 'global-settings'
1703 global-settings-type: cfp
1704
1705 - maven-target:
1706 maven-version: '{maven-version}'
1707 pom: '{pom}'
1708 goals: '{mvn-goals}'
1709 settings: '{mvn-settings}'
1710 settings-type: cfp
1711 global-settings: 'global-settings'
1712 global-settings-type: cfp
1713 properties:
1714 - maven.test.skip=true
1715 - docker.pull.registry=nexus3.onap.org:10001
1716 - docker.push.registry=nexus3.onap.org:10003
1717
1718 - shell: !include-raw-escape: include-docker-push.sh
1719
1720 publishers:
1721 - infra-shiplogs:
1722 maven-version: '{maven-version}'
1723
1724- job-template:
Carsten Lund2d06a692017-02-23 18:23:07 +00001725 # Job template for Java daily release jobs
1726 #
1727 # The purpose of this job template is to run
1728 # - change version in all POM files to the release version specified
1729 # in version.properties. This is done using a script instread of
1730 # the mvn version plugin that assumes some specific parent structure.
1731 # - runs maven clean deploy sonar
1732 #
1733 # The POM files are required to use the Maven staging plugin so the deploy
1734 # does not deploy directly to the release repo.
1735 #
1736 # Required Variables:
1737 # branch: git branch (eg. stable/lithium or master)
1738 name: '{project-name}-{stream}-release-version2-java-daily'
1739
1740 project-type: freestyle
1741 node: '{build-node}'
1742 maven-deploy-properties:
1743 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001744 - infra-properties:
Carsten Lund2d06a692017-02-23 18:23:07 +00001745 build-days-to-keep: '{build-days-to-keep}'
1746
1747 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001748 - infra-parameters:
Carsten Lund2d06a692017-02-23 18:23:07 +00001749 project: '{project}'
1750 branch: '{branch}'
1751 refspec: 'refs/heads/{branch}'
1752 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001753 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001754 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001755
1756 scm:
1757 - gerrit-trigger-scm:
1758 refspec: ''
1759 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001760 submodule-recursive: '{submodule-recursive}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001761
1762 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001763 - infra-wrappers:
Carsten Lund2d06a692017-02-23 18:23:07 +00001764 build-timeout: '{build-timeout}'
1765
1766 triggers:
1767 # 11 AM UTC
1768 - timed: 'H 11 * * *'
1769 - gerrit-trigger-release-manually:
1770 server: '{server-name}'
1771 project: '{project}'
1772 branch: '{branch}'
1773
1774 builders:
1775 - provide-maven-settings:
1776 global-settings-file: 'global-settings'
1777 settings-file: '{mvn-settings}'
Andrew Grimbergb7f16152017-02-24 13:13:15 -08001778 - maven-install:
1779 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001780
1781 - inject:
1782 properties-file: version.properties
1783
1784 - shell: !include-raw-escape: include-update-pom-versions.sh
1785
1786 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001787 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001788 goals: 'clean deploy sonar:sonar site:site site:stage-deploy
1789 -Dsonar.host.url=${{SONAR}} -B
1790 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lund2d06a692017-02-23 18:23:07 +00001791 properties:
1792 - '{maven-deploy-properties}'
1793 settings: '{mvn-settings}'
1794 settings-type: cfp
1795 global-settings: 'global-settings'
1796 global-settings-type: cfp
1797
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001798 publishers:
1799 - infra-shiplogs:
1800 maven-version: '{maven-version}'
1801
Carsten Lund2d06a692017-02-23 18:23:07 +00001802- job-template:
1803 # Job template for Java daily release jobs
1804 #
1805 # The purpose of this job template is to run
1806 # - change version in all POM files to the release version specified
1807 # in version.properties. This is done using a script instread of
1808 # the mvn version plugin that assumes some specific parent structure.
1809 # - runs maven clean deploy sonar
1810 #
1811 # The POM files are required to use the Maven staging plugin so the deploy
1812 # does not deploy directly to the release repo.
1813 #
1814 # Required Variables:
1815 # branch: git branch (eg. stable/lithium or master)
1816 # pom: name/location of the pom.xml file relative to the workspace
1817 # pattern: ant file-path pattern relative to the workspace used to
1818 # trigger the job
1819
1820 name: '{project-name}-{stream}-{subproject}-release-version2-java-daily'
1821
1822 project-type: freestyle
1823 node: '{build-node}'
1824 maven-deploy-properties:
1825 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001826 - infra-properties:
Carsten Lund2d06a692017-02-23 18:23:07 +00001827 build-days-to-keep: '{build-days-to-keep}'
1828
1829 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001830 - infra-parameters:
Carsten Lund2d06a692017-02-23 18:23:07 +00001831 project: '{project}'
1832 branch: '{branch}'
1833 refspec: 'refs/heads/{branch}'
1834 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001835 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001836 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001837
1838 scm:
1839 - gerrit-trigger-scm:
1840 refspec: ''
1841 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001842 submodule-recursive: '{submodule-recursive}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001843
1844 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001845 - infra-wrappers:
Carsten Lund2d06a692017-02-23 18:23:07 +00001846 build-timeout: '{build-timeout}'
1847
1848 triggers:
1849 # 11 AM UTC
1850 - timed: 'H 11 * * *'
1851 - gerrit-trigger-release-manually:
1852 server: '{server-name}'
1853 project: '{project}'
1854 branch: '{branch}'
1855 files: '{pattern}'
1856
1857 builders:
1858 - provide-maven-settings:
1859 global-settings-file: 'global-settings'
1860 settings-file: '{mvn-settings}'
Andrew Grimbergb7f16152017-02-24 13:13:15 -08001861 - maven-install:
1862 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001863
1864 - inject:
1865 properties-file: version.properties
1866
1867 - shell: !include-raw-escape: include-update-pom-versions.sh
1868
1869 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001870 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001871 pom: '{pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001872 goals: 'clean deploy sonar:sonar site:site site:stage-deploy
1873 -Dsonar.host.url=${{SONAR}} -B
1874 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lund2d06a692017-02-23 18:23:07 +00001875 properties:
1876 - '{maven-deploy-properties}'
1877 settings: '{mvn-settings}'
1878 settings-type: cfp
1879 global-settings: 'global-settings'
1880 global-settings-type: cfp
Anaël Clossonadcb39d2017-03-10 15:39:09 +01001881
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001882 publishers:
1883 - infra-shiplogs:
1884 maven-version: '{maven-version}'
1885
Anaël Clossonadcb39d2017-03-10 15:39:09 +01001886- job-template:
1887 # Template for maven site plugin invocation
1888 #
1889 # It's designed to be triggered when the trigger-job job
1890 # succeeds as there's no need for new documentaiton
1891 # if the build job fails.
1892 #
1893 # Those parameters should be set :
1894 # - site-pom : the pom file that contains the site confiration
1895 # - trigger-job : the name of the project that triggers this job
1896 # upon success. The job name can be
1897 # parameterized.
1898 name: '{project-name}-{stream}-stage-site-java'
1899 project-type: freestyle
Anaël Clossonb8c5fb52017-03-14 15:43:18 +01001900 node: '{build-node}'
Anaël Clossonadcb39d2017-03-10 15:39:09 +01001901
1902 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001903 - infra-properties:
Anaël Clossonadcb39d2017-03-10 15:39:09 +01001904 build-days-to-keep: '{build-days-to-keep}'
1905
1906 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001907 - infra-parameters:
Anaël Clossonadcb39d2017-03-10 15:39:09 +01001908 project: '{project}'
1909 branch: '{branch}'
1910 refspec: 'refs/heads/{branch}'
1911 artifacts: '{archive-artifacts}'
1912 - maven-exec:
1913 maven-version: '{maven-version}'
1914
1915 scm:
1916 - gerrit-trigger-scm:
1917 refspec: ''
1918 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001919 submodule-recursive: '{submodule-recursive}'
Anaël Clossonadcb39d2017-03-10 15:39:09 +01001920
1921 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001922 - infra-wrappers:
Anaël Clossonadcb39d2017-03-10 15:39:09 +01001923 build-timeout: '{build-timeout}'
1924
1925 triggers:
1926 - trigger-on-build-success:
1927 job-name: '{trigger-job}'
1928
1929 builders:
1930 - provide-maven-settings:
1931 global-settings-file: 'global-settings'
1932 settings-file: '{mvn-settings}'
Anaël Closson09166842017-03-15 11:19:40 +01001933 - inject:
1934 properties-file: version.properties
1935 - maven-target:
1936 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001937 goals: 'versions:set versions:update-child-modules versions:commit -B'
Anaël Closson09166842017-03-15 11:19:40 +01001938 properties:
1939 - 'newVersion=${{release_version}}'
1940 settings: '{mvn-settings}'
1941 settings-type: cfp
1942 global-settings: 'global-settings'
1943 global-settings-type: cfp
Anaël Clossonadcb39d2017-03-10 15:39:09 +01001944
1945 - maven-target:
1946 maven-version: '{maven-version}'
Anaël Closson03222ed2017-03-13 16:37:09 +01001947 pom: '{site-pom}'
Anaël Clossonb7c8aa32017-03-14 15:50:20 +01001948 goals: 'clean site:site site:stage-deploy'
Anaël Clossonadcb39d2017-03-10 15:39:09 +01001949 settings: '{mvn-settings}'
1950 settings-type: cfp
1951 global-settings: 'global-settings'
1952 global-settings-type: cfp
ig61339fdb9d22017-04-03 17:47:19 +03001953
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001954 publishers:
1955 - infra-shiplogs:
1956 maven-version: '{maven-version}'
1957
ig61339fdb9d22017-04-03 17:47:19 +03001958- job-template:
1959 # Job template for Java merge jobs
1960 #
1961 # The purpose of this job template is to run "maven clean deploy" for
1962 # projects using this template.
1963 #
1964 # Required Variables:
1965 # branch: git branch (eg. stable/lithium or master)
1966 name: '{project-name}-{stream}-sdc-merge-java'
1967
1968 project-type: freestyle
ig6133cb3f8232017-04-05 14:22:42 +03001969 node: 'ubuntu1604-docker-8c-8g'
ig61339fdb9d22017-04-03 17:47:19 +03001970
1971 properties:
1972 - infra-properties:
1973 build-days-to-keep: '{build-days-to-keep}'
1974
1975 parameters:
1976 - infra-parameters:
1977 project: '{project}'
1978 branch: '{branch}'
1979 refspec: 'refs/heads/{branch}'
1980 artifacts: '{archive-artifacts}'
1981 - maven-exec:
1982 maven-version: '{maven-version}'
1983
1984 scm:
1985 - gerrit-trigger-scm:
1986 refspec: ''
1987 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001988 submodule-recursive: '{submodule-recursive}'
ig61339fdb9d22017-04-03 17:47:19 +03001989
1990 wrappers:
1991 - infra-wrappers:
1992 build-timeout: '{build-timeout}'
1993
1994 triggers:
1995 - gerrit-trigger-patch-merged:
1996 server: '{server-name}'
1997 project: '{project}'
1998 branch: '{branch}'
1999 files: '**'
2000
2001 builders:
2002 - provide-maven-settings:
2003 global-settings-file: 'global-settings'
2004 settings-file: '{mvn-settings}'
ig61339fdb9d22017-04-03 17:47:19 +03002005
2006 - docker-login
2007
ig6133cb3f8232017-04-05 14:22:42 +03002008 - maven-docker-push-daily:
ig61339fdb9d22017-04-03 17:47:19 +03002009 maven-version: '{maven-version}'
ig6133cb3f8232017-04-05 14:22:42 +03002010 mvn-settings: '{mvn-settings}'
2011 pom: '{docker-pom}'
2012 # use default as mvn-profile if profile is not needed
2013 mvn-profile: '{mvn-profile}'
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07002014
2015 publishers:
2016 - infra-shiplogs:
2017 maven-version: '{maven-version}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002018
2019- job-template:
2020 name: '{project-name}-{stream}-aai-docker-java-version-daily'
2021 project-type: freestyle
2022 node: 'ubuntu1604-docker-8c-8g'
2023
2024 properties:
2025 - infra-properties:
2026 build-days-to-keep: '{build-days-to-keep}'
2027
2028 parameters:
2029 - infra-parameters:
2030 project: '{project}'
2031 branch: '{branch}'
2032 refspec: 'refs/heads/{branch}'
2033 artifacts: '{archive-artifacts}'
2034 - maven-exec:
2035 maven-version: '{maven-version}'
2036
2037 scm:
2038 - gerrit-trigger-scm:
2039 refspec: ''
2040 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002041 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002042
2043 wrappers:
2044 - infra-wrappers:
2045 build-timeout: '{build-timeout}'
2046
2047 triggers:
2048 # 12 AM UTC
2049 - timed: 'H 12 * * *'
2050 - gerrit-trigger-release-manually:
2051 server: '{server-name}'
2052 project: '{project}'
2053 branch: '{branch}'
2054
2055 builders:
2056
2057 - provide-maven-settings:
2058 global-settings-file: 'global-settings'
2059 settings-file: '{mvn-settings}'
2060
2061 - docker-login
2062
2063 - maven-target:
2064 maven-version: '{maven-version}'
2065 pom: 'pom.xml'
2066 goals: 'clean install -DskipTests -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
2067 settings: '{mvn-settings}'
2068 settings-type: cfp
2069 global-settings: 'global-settings'
2070 global-settings-type: cfp
2071
2072 - maven-target:
2073 maven-version: '{maven-version}'
2074 pom: '{pom}'
2075 goals: '{mvn-goals}'
2076 settings: '{mvn-settings}'
2077 settings-type: cfp
2078 global-settings: 'global-settings'
2079 global-settings-type: cfp
2080 properties:
2081 - maven.test.skip=true
2082 - docker.pull.registry=nexus3.onap.org:10001
2083 - docker.push.registry=nexus3.onap.org:10003
2084
2085 publishers:
2086 - infra-shiplogs:
2087 maven-version: '{maven-version}'
2088