blob: 580d65b369b8fe66caa0227d3b080137ab71dbc3 [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}'
426 settings: '{mvn-settings}'
427 settings-type: cfp
428 global-settings: 'global-settings'
429 global-settings-type: cfp
430
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700431 publishers:
432 - infra-shiplogs:
433 maven-version: '{maven-version}'
434
JulienBe5641aa02017-02-17 01:08:38 -0800435- job-template:
JulienBe77903ed2017-07-17 15:30:26 +0200436 # Job template for Java daily release jobs running checkstyle at the end
437 # When checkstyle will be fully incorporated, it is meant to replace
438 # '{project-name}-{stream}-release-java-daily'
439 # The purpose of this job template is to run "maven version && maven clean
440 # deploy" for projects using this template.
441 #
442 # Required Variables:
443 # branch: git branch (eg. stable/lithium or master)
444 name: '{project-name}-{stream}-release-java-daily-checkstyle'
445 project-type: freestyle
446 node: '{build-node}'
447 maven-deploy-properties:
448 properties:
449 - infra-properties:
450 build-days-to-keep: '{build-days-to-keep}'
451 parameters:
452 - infra-parameters:
453 project: '{project}'
454 branch: '{branch}'
455 refspec: 'refs/heads/{branch}'
456 artifacts: '{archive-artifacts}'
457 - maven-exec:
458 maven-version: '{maven-version}'
459 scm:
460 - gerrit-trigger-scm:
461 refspec: ''
462 choosing-strategy: 'default'
463 submodule-recursive: '{submodule-recursive}'
464 wrappers:
465 - infra-wrappers:
466 build-timeout: '{build-timeout}'
467 triggers:
468 # 11 AM UTC
469 - timed: 'H 11 * * *'
470 - gerrit-trigger-release-manually:
471 server: '{server-name}'
472 project: '{project}'
473 branch: '{branch}'
474 builders:
475 - provide-maven-settings:
476 global-settings-file: 'global-settings'
477 settings-file: '{mvn-settings}'
478 - maven-target:
479 maven-version: '{maven-version}'
480 goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B
481 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
482 properties:
483 - '{maven-deploy-properties}'
484 settings: '{mvn-settings}'
485 settings-type: cfp
486 global-settings: 'global-settings'
487 global-settings-type: cfp
488 publishers:
489 - infra-shiplogs:
490 maven-version: '{maven-version}'
491 - checkstyle-result-daily
492
493- job-template:
JulienBe5641aa02017-02-17 01:08:38 -0800494 # Job template for Java daily release jobs
495 #
496 # The purpose of this job template is to run "maven version && maven clean
497 # deploy" for projects using this template.
498 #
499 # Required Variables:
500 # branch: git branch (eg. stable/lithium or master)
Pamela Dragosh55ceb8f2017-05-23 12:23:16 -0400501 name: '{project-name}-{stream}-release-version-java-daily-no-sonar'
502
503 project-type: freestyle
504 node: '{build-node}'
505 maven-deploy-properties:
506 properties:
507 - infra-properties:
508 build-days-to-keep: '{build-days-to-keep}'
509
510 parameters:
511 - infra-parameters:
512 project: '{project}'
513 branch: '{branch}'
514 refspec: 'refs/heads/{branch}'
515 artifacts: '{archive-artifacts}'
516 - maven-exec:
517 maven-version: '{maven-version}'
518
519 scm:
520 - gerrit-trigger-scm:
521 refspec: ''
522 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500523 submodule-recursive: '{submodule-recursive}'
Pamela Dragosh55ceb8f2017-05-23 12:23:16 -0400524
525 wrappers:
526 - infra-wrappers:
527 build-timeout: '{build-timeout}'
528
529 triggers:
530 # 11 AM UTC
531 - timed: 'H 11 * * *'
532 - gerrit-trigger-release-manually:
533 server: '{server-name}'
534 project: '{project}'
535 branch: '{branch}'
536
537 builders:
538 - provide-maven-settings:
539 global-settings-file: 'global-settings'
540 settings-file: '{mvn-settings}'
541
542 - inject:
543 properties-file: version.properties
544 - maven-target:
545 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -0400546 goals: 'versions:set versions:update-child-modules versions:commit -B'
Pamela Dragosh55ceb8f2017-05-23 12:23:16 -0400547 properties:
548 - 'newVersion=${{release_version}}'
549 settings: '{mvn-settings}'
550 settings-type: cfp
551 global-settings: 'global-settings'
552 global-settings-type: cfp
553
554 - maven-target:
555 maven-version: '{maven-version}'
556 goals: 'clean deploy -B
557 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
558 properties:
559 - '{maven-deploy-properties}'
560 settings: '{mvn-settings}'
561 settings-type: cfp
562 global-settings: 'global-settings'
563 global-settings-type: cfp
564
565 publishers:
566 - infra-shiplogs:
567 maven-version: '{maven-version}'
568
569- job-template:
570 # Job template for Java daily release jobs
571 #
572 # The purpose of this job template is to run "maven version && maven clean
573 # deploy" for projects using this template.
574 #
575 # Required Variables:
576 # branch: git branch (eg. stable/lithium or master)
JulienBe5641aa02017-02-17 01:08:38 -0800577 name: '{project-name}-{stream}-release-version-java-daily'
578
579 project-type: freestyle
580 node: '{build-node}'
581 maven-deploy-properties:
582 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700583 - infra-properties:
JulienBe5641aa02017-02-17 01:08:38 -0800584 build-days-to-keep: '{build-days-to-keep}'
585
586 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700587 - infra-parameters:
JulienBe5641aa02017-02-17 01:08:38 -0800588 project: '{project}'
589 branch: '{branch}'
590 refspec: 'refs/heads/{branch}'
591 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800592 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800593 maven-version: '{maven-version}'
JulienBe5641aa02017-02-17 01:08:38 -0800594
595 scm:
596 - gerrit-trigger-scm:
597 refspec: ''
598 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500599 submodule-recursive: '{submodule-recursive}'
JulienBe5641aa02017-02-17 01:08:38 -0800600
601 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700602 - infra-wrappers:
JulienBe5641aa02017-02-17 01:08:38 -0800603 build-timeout: '{build-timeout}'
604
605 triggers:
606 # 11 AM UTC
607 - timed: 'H 11 * * *'
608 - gerrit-trigger-release-manually:
609 server: '{server-name}'
610 project: '{project}'
611 branch: '{branch}'
612
613 builders:
614 - provide-maven-settings:
615 global-settings-file: 'global-settings'
616 settings-file: '{mvn-settings}'
617
JulienBe2f4ee072017-02-01 21:42:32 +0100618 - inject:
619 properties-file: version.properties
620 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800621 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -0400622 goals: 'versions:set versions:update-child-modules versions:commit -B'
JulienBe2f4ee072017-02-01 21:42:32 +0100623 properties:
624 - 'newVersion=${{release_version}}'
625 settings: '{mvn-settings}'
626 settings-type: cfp
627 global-settings: 'global-settings'
628 global-settings-type: cfp
629
630 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800631 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400632 goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B
633 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimberg24443ee2017-02-02 08:29:12 -0800634 properties:
635 - '{maven-deploy-properties}'
JulienBe2f4ee072017-02-01 21:42:32 +0100636 settings: '{mvn-settings}'
637 settings-type: cfp
638 global-settings: 'global-settings'
639 global-settings-type: cfp
640
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700641 publishers:
642 - infra-shiplogs:
643 maven-version: '{maven-version}'
644
JulienBe2f4ee072017-02-01 21:42:32 +0100645- job-template:
Carsten Lundda8b6972017-02-15 23:59:25 +0000646 # Job template for Java daily release jobs with POM not at the root
647 #
648 # The purpose of this job template is to run "maven version && maven clean
649 # deploy" for projects using this template.
650 #
651 # Required Variables:
652 # branch: git branch (eg. stable/lithium or master)
653 # pom: name/location of the pom.xml file relative to the workspace
654
655
656 name: '{project-name}-{stream}-{subproject}-release-java-daily'
657
658 project-type: freestyle
659 node: '{build-node}'
660 maven-deploy-properties:
661 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700662 - infra-properties:
Carsten Lundda8b6972017-02-15 23:59:25 +0000663 build-days-to-keep: '{build-days-to-keep}'
664
665 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700666 - infra-parameters:
Carsten Lundda8b6972017-02-15 23:59:25 +0000667 project: '{project}'
668 branch: '{branch}'
669 refspec: 'refs/heads/{branch}'
670 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800671 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800672 maven-version: '{maven-version}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000673
674 scm:
675 - gerrit-trigger-scm:
676 refspec: ''
677 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500678 submodule-recursive: '{submodule-recursive}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000679
680 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700681 - infra-wrappers:
Carsten Lundda8b6972017-02-15 23:59:25 +0000682 build-timeout: '{build-timeout}'
683
684 triggers:
685 # 11 AM UTC
686 - timed: 'H 11 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -0800687 - gerrit-trigger-release-manually:
688 server: '{server-name}'
689 project: '{project}'
690 branch: '{branch}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000691
692 builders:
693 - provide-maven-settings:
694 global-settings-file: 'global-settings'
695 settings-file: '{mvn-settings}'
696
Carsten Lundda8b6972017-02-15 23:59:25 +0000697 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800698 maven-version: '{maven-version}'
Carsten Lund63cd3b82017-02-18 18:19:22 +0000699 pom: '{pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400700 goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B
701 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lundda8b6972017-02-15 23:59:25 +0000702 properties:
703 - '{maven-deploy-properties}'
704 settings: '{mvn-settings}'
705 settings-type: cfp
706 global-settings: 'global-settings'
707 global-settings-type: cfp
708
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700709 publishers:
710 - infra-shiplogs:
711 maven-version: '{maven-version}'
712
Carsten Lundda8b6972017-02-15 23:59:25 +0000713- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800714 # Job template for Java merge jobs
715 #
716 # The purpose of this job template is to run "maven clean deploy" for
717 # projects using this template.
718 #
719 # Required Variables:
720 # branch: git branch (eg. stable/lithium or master)
Andrew Grimbergce2286c2017-01-31 05:50:39 -0800721 name: '{project-name}-{stream}-merge-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800722
723 project-type: freestyle
724 node: '{build-node}'
725
726 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700727 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800728 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800729
730 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700731 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800732 project: '{project}'
733 branch: '{branch}'
734 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -0800735 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800736 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800737 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800738
739 scm:
740 - gerrit-trigger-scm:
741 refspec: ''
742 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500743 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800744
745 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700746 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800747 build-timeout: '{build-timeout}'
748
749 triggers:
750 - gerrit-trigger-patch-merged:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800751 server: '{server-name}'
752 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800753 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800754 files: '**'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800755
756 builders:
757 - provide-maven-settings:
758 global-settings-file: 'global-settings'
759 settings-file: '{mvn-settings}'
760 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800761 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400762 goals: 'clean deploy -B
763 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800764 settings: '{mvn-settings}'
765 settings-type: cfp
766 global-settings: 'global-settings'
767 global-settings-type: cfp
768
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700769 publishers:
770 - infra-shiplogs:
771 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800772
773- job-template:
JulienBeef823f12017-04-12 04:52:40 -0700774 # Job template for Java merge jobs that takes a maven template
775 #
776 # The purpose of this job template is to run "maven clean deploy -P {x}"
777 # for projects using this template.
778 #
779 # Required Variables:
780 # branch: git branch (eg. stable/lithium or master)
781 name: '{project-name}-{stream}-merge-profile-java'
782
783 project-type: freestyle
784 node: '{build-node}'
785
786 properties:
787 - infra-properties:
788 build-days-to-keep: '{build-days-to-keep}'
789
790 parameters:
791 - infra-parameters:
792 project: '{project}'
793 branch: '{branch}'
794 refspec: 'refs/heads/{branch}'
795 artifacts: '{archive-artifacts}'
796 - maven-exec:
797 maven-version: '{maven-version}'
798
799 scm:
800 - gerrit-trigger-scm:
801 refspec: ''
802 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500803 submodule-recursive: '{submodule-recursive}'
JulienBeef823f12017-04-12 04:52:40 -0700804
805 wrappers:
806 - infra-wrappers:
807 build-timeout: '{build-timeout}'
808
809 triggers:
810 - gerrit-trigger-patch-merged:
811 server: '{server-name}'
812 project: '{project}'
813 branch: '{branch}'
814 files: '**'
815
816 builders:
817 - provide-maven-settings:
818 global-settings-file: 'global-settings'
819 settings-file: '{mvn-settings}'
Determe, Sebastien (sd378r)62e4e662017-04-26 08:00:00 -0700820
821 - docker-login
822
JulienBeef823f12017-04-12 04:52:40 -0700823 - maven-target:
824 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400825 goals: 'clean deploy -P {mvn-profile} -B
826 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBeef823f12017-04-12 04:52:40 -0700827 settings: '{mvn-settings}'
828 settings-type: cfp
829 global-settings: 'global-settings'
830 global-settings-type: cfp
Determe, Sebastien (sd378r)345956b2017-04-28 08:45:52 -0700831 properties:
832 - docker.pull.registry=nexus3.onap.org:10001
833 - docker.push.registry=nexus3.onap.org:10003
JulienBeef823f12017-04-12 04:52:40 -0700834
835 publishers:
836 - infra-shiplogs:
837 maven-version: '{maven-version}'
838
839- job-template:
Andrew Grimbergdd853c52017-02-16 14:14:26 -0800840 # Job template for Java merge jobs that should also be triggered by upstream
841 # merges
842 #
843 # Required Variables:
844 # stream: release stream
845 # branch: git branch
846 # dependencies: fully qualified upstream job name to trigger on
847 # this may be ''
848 name: '{project-name}-{stream}-downstream-merge-java'
849
850 project-type: freestyle
851 node: '{build-node}'
852
853 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700854 - infra-properties:
Andrew Grimbergdd853c52017-02-16 14:14:26 -0800855 build-days-to-keep: '{build-days-to-keep}'
856
857 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700858 - infra-parameters:
Andrew Grimbergdd853c52017-02-16 14:14:26 -0800859 project: '{project}'
860 branch: '{branch}'
861 refspec: 'refs/heads/{branch}'
862 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800863 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800864 maven-version: '{maven-version}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -0800865
866 scm:
867 - gerrit-trigger-scm:
868 refspec: ''
869 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500870 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -0800871
872 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700873 - infra-wrappers:
Andrew Grimbergdd853c52017-02-16 14:14:26 -0800874 build-timeout: '{build-timeout}'
875
876 triggers:
877 - reverse:
878 jobs: '{dependencies}'
879 result: 'success'
880 - gerrit-trigger-patch-merged:
881 server: '{server-name}'
882 project: '{project}'
883 branch: '{branch}'
884 files: '**'
885
886 builders:
887 - provide-maven-settings:
888 global-settings-file: 'global-settings'
889 settings-file: '{mvn-settings}'
890 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800891 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400892 goals: 'clean deploy -B
893 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergdd853c52017-02-16 14:14:26 -0800894 settings: '{mvn-settings}'
895 settings-type: cfp
896 global-settings: 'global-settings'
897 global-settings-type: cfp
898
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700899 publishers:
900 - infra-shiplogs:
901 maven-version: '{maven-version}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -0800902
903- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800904 # Job template for Java merge jobs with POM not at the root
905 #
906 # The purpose of this job template is to run "maven clean deploy" for
907 # projects using this template.
908 #
909 # Required Variables:
910 # branch: git branch (eg. stable/lithium or master)
911 # pom: name/location of the pom.xml file relative to the workspace
912 # pattern: ant file-path pattern relative to the workspace used to
913 # trigger the job
914
Andrew Grimbergce2286c2017-01-31 05:50:39 -0800915 name: '{project-name}-{stream}-{subproject}-merge-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800916
917 project-type: freestyle
918 node: '{build-node}'
919
920 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700921 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800922 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800923
924 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700925 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800926 project: '{project}'
927 branch: '{branch}'
928 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -0800929 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800930 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800931 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800932
933 scm:
934 - gerrit-trigger-scm:
935 refspec: ''
936 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500937 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800938
939 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700940 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800941 build-timeout: '{build-timeout}'
942
943 triggers:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800944 - gerrit-trigger-patch-merged:
945 server: '{server-name}'
946 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800947 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800948 files: '{pattern}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800949
950 builders:
951 - provide-maven-settings:
952 global-settings-file: 'global-settings'
953 settings-file: '{mvn-settings}'
954 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800955 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800956 pom: '{pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400957 goals: 'clean deploy -B
958 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800959 settings: '{mvn-settings}'
960 settings-type: cfp
961 global-settings: 'global-settings'
962 global-settings-type: cfp
963
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700964 publishers:
965 - infra-shiplogs:
966 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +0100967
968- job-template:
969 name: '{project-name}-{stream}-docker-java-daily'
970 project-type: freestyle
Andrew Grimberg2137b1d2017-02-15 07:24:53 -0800971 node: 'ubuntu1604-docker-8c-8g'
Anaël Clossonabbafb52017-02-09 17:55:10 +0100972
973 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700974 - infra-properties:
Anaël Clossonabbafb52017-02-09 17:55:10 +0100975 build-days-to-keep: '{build-days-to-keep}'
976
977 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700978 - infra-parameters:
Anaël Clossonabbafb52017-02-09 17:55:10 +0100979 project: '{project}'
980 branch: '{branch}'
981 refspec: 'refs/heads/{branch}'
982 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800983 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800984 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +0100985
986 scm:
987 - gerrit-trigger-scm:
988 refspec: ''
989 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500990 submodule-recursive: '{submodule-recursive}'
Anaël Clossonabbafb52017-02-09 17:55:10 +0100991
Anaël Clossonabbafb52017-02-09 17:55:10 +0100992 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700993 - infra-wrappers:
Anaël Clossonabbafb52017-02-09 17:55:10 +0100994 build-timeout: '{build-timeout}'
995
996 triggers:
JulienBe0d8c2c32017-02-16 11:50:48 -0800997 # 12 AM UTC
Anaël Clossonabbafb52017-02-09 17:55:10 +0100998 - timed: 'H 12 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -0800999 - gerrit-trigger-release-manually:
1000 server: '{server-name}'
1001 project: '{project}'
1002 branch: '{branch}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001003
1004 builders:
Anaël Closson63e090e2017-02-15 14:50:45 +01001005
Anaël Clossonabbafb52017-02-09 17:55:10 +01001006 - provide-maven-settings:
1007 global-settings-file: 'global-settings'
1008 settings-file: '{mvn-settings}'
Anaël Closson7313fea2017-02-14 15:56:21 +01001009
Anaël Closson63e090e2017-02-15 14:50:45 +01001010 - docker-login
1011
Anaël Clossonabbafb52017-02-09 17:55:10 +01001012 - maven-docker-push-daily:
Andrew Grimberge2465882017-02-24 12:38:05 -08001013 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001014 mvn-settings: '{mvn-settings}'
1015 pom: '{docker-pom}'
Anaël Closson30a5c772017-02-16 15:02:56 +01001016 # use default as mvn-profile if profile is not needed
1017 mvn-profile: '{mvn-profile}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001018
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001019 publishers:
1020 - infra-shiplogs:
1021 maven-version: '{maven-version}'
1022
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001023- job-template:
JulienBe91c56ec2017-06-21 23:37:39 +02001024 # Job template for building & pushing docker images
1025 #
1026 # The purpose of this job template is to run :
1027 # 1. login to the docker registry
1028 # 2. do a clean deploy on the specified profile
1029 #
1030 # Required Variables:
1031 # pom: name/location of the pom.xml file relative to the workspace
1032 # profile: the docker profile defined in the pom
1033 # maven-properties: properties passed to maven
1034 name: '{project-name}-{stream}-docker-java-properties-daily'
1035 project-type: freestyle
1036 node: 'ubuntu1604-docker-8c-8g'
1037 properties:
1038 - infra-properties:
1039 build-days-to-keep: '{build-days-to-keep}'
1040 parameters:
1041 - infra-parameters:
1042 project: '{project}'
1043 branch: '{branch}'
1044 refspec: 'refs/heads/{branch}'
1045 artifacts: '{archive-artifacts}'
1046 - maven-exec:
1047 maven-version: '{maven-version}'
1048 scm:
1049 - gerrit-trigger-scm:
1050 refspec: ''
1051 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001052 submodule-recursive: '{submodule-recursive}'
JulienBe91c56ec2017-06-21 23:37:39 +02001053 wrappers:
1054 - infra-wrappers:
1055 build-timeout: '{build-timeout}'
1056 triggers:
1057 # 12 AM UTC
1058 - timed: 'H 12 * * *'
1059 - gerrit-trigger-release-manually:
1060 server: '{server-name}'
1061 project: '{project}'
1062 branch: '{branch}'
1063 builders:
1064 - provide-maven-settings:
1065 global-settings-file: 'global-settings'
1066 settings-file: '{mvn-settings}'
1067 - docker-login
1068 - maven-docker-push-daily:
1069 maven-version: '{maven-version}'
1070 mvn-settings: '{mvn-settings}'
1071 pom: '{docker-pom}'
1072 properties: '{maven-properties}'
1073 # use default as mvn-profile if profile is not needed
1074 mvn-profile: '{mvn-profile}'
1075 publishers:
1076 - infra-shiplogs:
1077 maven-version: '{maven-version}'
1078
1079- job-template:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001080 name: '{project-name}-{stream}-docker-java-shell-daily'
1081 project-type: freestyle
1082 node: 'ubuntu1604-docker-8c-8g'
1083
1084 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001085 - infra-properties:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001086 build-days-to-keep: '{build-days-to-keep}'
1087
1088 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001089 - infra-parameters:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001090 project: '{project}'
1091 branch: '{branch}'
1092 refspec: 'refs/heads/{branch}'
1093 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001094 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001095 maven-version: '{maven-version}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001096
1097 scm:
1098 - gerrit-trigger-scm:
1099 refspec: ''
1100 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001101 submodule-recursive: '{submodule-recursive}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001102
1103 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001104 - infra-wrappers:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001105 build-timeout: '{build-timeout}'
1106
1107 triggers:
1108 # 12 AM UTC
1109 - timed: 'H 12 * * *'
1110 - gerrit-trigger-release-manually:
1111 server: '{server-name}'
1112 project: '{project}'
1113 branch: '{branch}'
1114
1115 builders:
1116
1117 - provide-maven-settings:
1118 global-settings-file: 'global-settings'
1119 settings-file: '{mvn-settings}'
1120
1121 - docker-login
1122
Pamela Dragosh366fbc32017-02-19 20:09:09 -05001123 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001124 maven-version: '{maven-version}'
Pamela Dragosh366fbc32017-02-19 20:09:09 -05001125 goals: '{mvn-goals}'
1126 settings: '{mvn-settings}'
1127 settings-type: cfp
1128 global-settings: 'global-settings'
1129 global-settings-type: cfp
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001130
1131 - shell: '{script}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001132
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001133 publishers:
1134 - infra-shiplogs:
1135 maven-version: '{maven-version}'
1136
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001137- job-template:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001138 name: '{project-name}-{stream}-docker-java-version-shell-daily'
1139 project-type: freestyle
1140 node: 'ubuntu1604-docker-8c-8g'
1141
1142 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001143 - infra-properties:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001144 build-days-to-keep: '{build-days-to-keep}'
1145
1146 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001147 - infra-parameters:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001148 project: '{project}'
1149 branch: '{branch}'
1150 refspec: 'refs/heads/{branch}'
1151 artifacts: '{archive-artifacts}'
1152 - maven-exec:
1153 maven-version: '{maven-version}'
1154
1155 scm:
1156 - gerrit-trigger-scm:
1157 refspec: ''
1158 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001159 submodule-recursive: '{submodule-recursive}'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001160
1161 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001162 - infra-wrappers:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001163 build-timeout: '{build-timeout}'
1164
1165 triggers:
1166 # 12 AM UTC
1167 - timed: 'H 12 * * *'
1168 - gerrit-trigger-release-manually:
1169 server: '{server-name}'
1170 project: '{project}'
1171 branch: '{branch}'
1172
1173 builders:
1174
1175 - provide-maven-settings:
1176 global-settings-file: 'global-settings'
1177 settings-file: '{mvn-settings}'
1178
1179 - inject:
1180 properties-file: version.properties
1181
1182 - maven-target:
1183 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001184 goals: 'versions:set versions:update-child-modules versions:commit -B'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001185 properties:
1186 - 'newVersion=${{release_version}}'
1187 settings: '{mvn-settings}'
1188 settings-type: cfp
1189 global-settings: 'global-settings'
1190 global-settings-type: cfp
1191
1192 - docker-login
1193
1194 - maven-target:
1195 maven-version: '{maven-version}'
1196 goals: '{mvn-goals}'
1197 settings: '{mvn-settings}'
1198 settings-type: cfp
1199 global-settings: 'global-settings'
1200 global-settings-type: cfp
1201
1202 - shell: '{script}'
1203
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001204 publishers:
1205 - infra-shiplogs:
1206 maven-version: '{maven-version}'
1207
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001208- job-template:
Patrick Brady39f388a2017-03-09 11:26:59 -08001209 name: '{project-name}-{stream}-docker-version-java-daily'
1210 project-type: freestyle
1211 node: 'ubuntu1604-docker-8c-8g'
1212
1213 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001214 - infra-properties:
Patrick Brady39f388a2017-03-09 11:26:59 -08001215 build-days-to-keep: '{build-days-to-keep}'
1216
1217 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001218 - infra-parameters:
Patrick Brady39f388a2017-03-09 11:26:59 -08001219 project: '{project}'
1220 branch: '{branch}'
1221 refspec: 'refs/heads/{branch}'
1222 artifacts: '{archive-artifacts}'
1223 - maven-exec:
1224 maven-version: '{maven-version}'
1225
1226 scm:
1227 - gerrit-trigger-scm:
1228 refspec: ''
1229 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001230 submodule-recursive: '{submodule-recursive}'
Patrick Brady39f388a2017-03-09 11:26:59 -08001231
1232 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001233 - infra-wrappers:
Patrick Brady39f388a2017-03-09 11:26:59 -08001234 build-timeout: '{build-timeout}'
1235
1236 triggers:
1237 # 12 AM UTC
1238 - timed: 'H 12 * * *'
1239 - gerrit-trigger-release-manually:
1240 server: '{server-name}'
1241 project: '{project}'
1242 branch: '{branch}'
1243
1244 builders:
1245
1246 - provide-maven-settings:
1247 global-settings-file: 'global-settings'
1248 settings-file: '{mvn-settings}'
1249
1250 - inject:
1251 properties-file: version.properties
1252
1253 - maven-target:
1254 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001255 goals: 'versions:set versions:update-child-modules versions:commit -B'
Patrick Brady39f388a2017-03-09 11:26:59 -08001256 properties:
1257 - 'newVersion=${{release_version}}'
1258 settings: '{mvn-settings}'
1259 settings-type: cfp
1260 global-settings: 'global-settings'
1261 global-settings-type: cfp
1262
1263 - docker-login
1264
1265 - maven-docker-push-daily:
1266 maven-version: '{maven-version}'
1267 mvn-settings: '{mvn-settings}'
1268 pom: '{docker-pom}'
1269 # use default as mvn-profile if profile is not needed
1270 mvn-profile: '{mvn-profile}'
1271
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001272 publishers:
1273 - infra-shiplogs:
1274 maven-version: '{maven-version}'
1275
Patrick Brady39f388a2017-03-09 11:26:59 -08001276- job-template:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001277 name: '{project-name}-{stream}-aai-docker-java-daily'
1278 project-type: freestyle
1279 node: 'ubuntu1604-docker-8c-8g'
1280
1281 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001282 - infra-properties:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001283 build-days-to-keep: '{build-days-to-keep}'
1284
1285 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001286 - infra-parameters:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001287 project: '{project}'
1288 branch: '{branch}'
1289 refspec: 'refs/heads/{branch}'
1290 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001291 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001292 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001293
1294 scm:
1295 - gerrit-trigger-scm:
1296 refspec: ''
1297 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001298 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001299
1300 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001301 - infra-wrappers:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001302 build-timeout: '{build-timeout}'
1303
1304 triggers:
1305 # 12 AM UTC
1306 - timed: 'H 12 * * *'
1307 - gerrit-trigger-release-manually:
1308 server: '{server-name}'
1309 project: '{project}'
1310 branch: '{branch}'
1311
1312 builders:
1313
1314 - provide-maven-settings:
1315 global-settings-file: 'global-settings'
1316 settings-file: '{mvn-settings}'
1317
1318 - docker-login
1319
1320 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001321 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001322 pom: 'pom.xml'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001323 goals: 'clean install -DskipTests -B
1324 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001325 settings: '{mvn-settings}'
1326 settings-type: cfp
1327 global-settings: 'global-settings'
1328 global-settings-type: cfp
1329
1330 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001331 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001332 pom: '{pom}'
1333 goals: '{mvn-goals}'
1334 settings: '{mvn-settings}'
1335 settings-type: cfp
1336 global-settings: 'global-settings'
1337 global-settings-type: cfp
1338 properties:
1339 - maven.test.skip=true
Jeremy Phelps48028ab2017-03-28 15:38:24 -05001340 - docker.pull.registry=nexus3.onap.org:10001
1341 - docker.push.registry=nexus3.onap.org:10003
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001342
Venkata Harish K Kajurbf07d0a2017-03-26 11:58:15 +00001343 - shell: !include-raw-escape: include-docker-push.sh
Carsten Lund2d06a692017-02-23 18:23:07 +00001344
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001345 publishers:
1346 - infra-shiplogs:
1347 maven-version: '{maven-version}'
1348
Carsten Lund2d06a692017-02-23 18:23:07 +00001349- job-template:
1350 # Job template for Java daily release jobs
1351 #
1352 # The purpose of this job template is to run
1353 # - change version in all POM files to the release version specified
1354 # in version.properties. This is done using a script instread of
1355 # the mvn version plugin that assumes some specific parent structure.
1356 # - runs maven clean deploy sonar
1357 #
1358 # The POM files are required to use the Maven staging plugin so the deploy
1359 # does not deploy directly to the release repo.
1360 #
1361 # Required Variables:
1362 # branch: git branch (eg. stable/lithium or master)
1363 name: '{project-name}-{stream}-release-version2-java-daily'
1364
1365 project-type: freestyle
1366 node: '{build-node}'
1367 maven-deploy-properties:
1368 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001369 - infra-properties:
Carsten Lund2d06a692017-02-23 18:23:07 +00001370 build-days-to-keep: '{build-days-to-keep}'
1371
1372 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001373 - infra-parameters:
Carsten Lund2d06a692017-02-23 18:23:07 +00001374 project: '{project}'
1375 branch: '{branch}'
1376 refspec: 'refs/heads/{branch}'
1377 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001378 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001379 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001380
1381 scm:
1382 - gerrit-trigger-scm:
1383 refspec: ''
1384 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001385 submodule-recursive: '{submodule-recursive}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001386
1387 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001388 - infra-wrappers:
Carsten Lund2d06a692017-02-23 18:23:07 +00001389 build-timeout: '{build-timeout}'
1390
1391 triggers:
1392 # 11 AM UTC
1393 - timed: 'H 11 * * *'
1394 - gerrit-trigger-release-manually:
1395 server: '{server-name}'
1396 project: '{project}'
1397 branch: '{branch}'
1398
1399 builders:
1400 - provide-maven-settings:
1401 global-settings-file: 'global-settings'
1402 settings-file: '{mvn-settings}'
Andrew Grimbergb7f16152017-02-24 13:13:15 -08001403 - maven-install:
1404 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001405
1406 - inject:
1407 properties-file: version.properties
1408
1409 - shell: !include-raw-escape: include-update-pom-versions.sh
1410
1411 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001412 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001413 goals: 'clean deploy sonar:sonar site:site site:stage-deploy
1414 -Dsonar.host.url=${{SONAR}} -B
1415 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lund2d06a692017-02-23 18:23:07 +00001416 properties:
1417 - '{maven-deploy-properties}'
1418 settings: '{mvn-settings}'
1419 settings-type: cfp
1420 global-settings: 'global-settings'
1421 global-settings-type: cfp
1422
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001423 publishers:
1424 - infra-shiplogs:
1425 maven-version: '{maven-version}'
1426
Carsten Lund2d06a692017-02-23 18:23:07 +00001427- job-template:
1428 # Job template for Java daily release jobs
1429 #
1430 # The purpose of this job template is to run
1431 # - change version in all POM files to the release version specified
1432 # in version.properties. This is done using a script instread of
1433 # the mvn version plugin that assumes some specific parent structure.
1434 # - runs maven clean deploy sonar
1435 #
1436 # The POM files are required to use the Maven staging plugin so the deploy
1437 # does not deploy directly to the release repo.
1438 #
1439 # Required Variables:
1440 # branch: git branch (eg. stable/lithium or master)
1441 # pom: name/location of the pom.xml file relative to the workspace
1442 # pattern: ant file-path pattern relative to the workspace used to
1443 # trigger the job
1444
1445 name: '{project-name}-{stream}-{subproject}-release-version2-java-daily'
1446
1447 project-type: freestyle
1448 node: '{build-node}'
1449 maven-deploy-properties:
1450 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001451 - infra-properties:
Carsten Lund2d06a692017-02-23 18:23:07 +00001452 build-days-to-keep: '{build-days-to-keep}'
1453
1454 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001455 - infra-parameters:
Carsten Lund2d06a692017-02-23 18:23:07 +00001456 project: '{project}'
1457 branch: '{branch}'
1458 refspec: 'refs/heads/{branch}'
1459 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001460 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001461 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001462
1463 scm:
1464 - gerrit-trigger-scm:
1465 refspec: ''
1466 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001467 submodule-recursive: '{submodule-recursive}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001468
1469 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001470 - infra-wrappers:
Carsten Lund2d06a692017-02-23 18:23:07 +00001471 build-timeout: '{build-timeout}'
1472
1473 triggers:
1474 # 11 AM UTC
1475 - timed: 'H 11 * * *'
1476 - gerrit-trigger-release-manually:
1477 server: '{server-name}'
1478 project: '{project}'
1479 branch: '{branch}'
1480 files: '{pattern}'
1481
1482 builders:
1483 - provide-maven-settings:
1484 global-settings-file: 'global-settings'
1485 settings-file: '{mvn-settings}'
Andrew Grimbergb7f16152017-02-24 13:13:15 -08001486 - maven-install:
1487 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001488
1489 - inject:
1490 properties-file: version.properties
1491
1492 - shell: !include-raw-escape: include-update-pom-versions.sh
1493
1494 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001495 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001496 pom: '{pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001497 goals: 'clean deploy sonar:sonar site:site site:stage-deploy
1498 -Dsonar.host.url=${{SONAR}} -B
1499 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lund2d06a692017-02-23 18:23:07 +00001500 properties:
1501 - '{maven-deploy-properties}'
1502 settings: '{mvn-settings}'
1503 settings-type: cfp
1504 global-settings: 'global-settings'
1505 global-settings-type: cfp
Anaël Clossonadcb39d2017-03-10 15:39:09 +01001506
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001507 publishers:
1508 - infra-shiplogs:
1509 maven-version: '{maven-version}'
1510
Anaël Clossonadcb39d2017-03-10 15:39:09 +01001511- job-template:
1512 # Template for maven site plugin invocation
1513 #
1514 # It's designed to be triggered when the trigger-job job
1515 # succeeds as there's no need for new documentaiton
1516 # if the build job fails.
1517 #
1518 # Those parameters should be set :
1519 # - site-pom : the pom file that contains the site confiration
1520 # - trigger-job : the name of the project that triggers this job
1521 # upon success. The job name can be
1522 # parameterized.
1523 name: '{project-name}-{stream}-stage-site-java'
1524 project-type: freestyle
Anaël Clossonb8c5fb52017-03-14 15:43:18 +01001525 node: '{build-node}'
Anaël Clossonadcb39d2017-03-10 15:39:09 +01001526
1527 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001528 - infra-properties:
Anaël Clossonadcb39d2017-03-10 15:39:09 +01001529 build-days-to-keep: '{build-days-to-keep}'
1530
1531 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001532 - infra-parameters:
Anaël Clossonadcb39d2017-03-10 15:39:09 +01001533 project: '{project}'
1534 branch: '{branch}'
1535 refspec: 'refs/heads/{branch}'
1536 artifacts: '{archive-artifacts}'
1537 - maven-exec:
1538 maven-version: '{maven-version}'
1539
1540 scm:
1541 - gerrit-trigger-scm:
1542 refspec: ''
1543 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001544 submodule-recursive: '{submodule-recursive}'
Anaël Clossonadcb39d2017-03-10 15:39:09 +01001545
1546 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001547 - infra-wrappers:
Anaël Clossonadcb39d2017-03-10 15:39:09 +01001548 build-timeout: '{build-timeout}'
1549
1550 triggers:
1551 - trigger-on-build-success:
1552 job-name: '{trigger-job}'
1553
1554 builders:
1555 - provide-maven-settings:
1556 global-settings-file: 'global-settings'
1557 settings-file: '{mvn-settings}'
Anaël Closson09166842017-03-15 11:19:40 +01001558 - inject:
1559 properties-file: version.properties
1560 - maven-target:
1561 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001562 goals: 'versions:set versions:update-child-modules versions:commit -B'
Anaël Closson09166842017-03-15 11:19:40 +01001563 properties:
1564 - 'newVersion=${{release_version}}'
1565 settings: '{mvn-settings}'
1566 settings-type: cfp
1567 global-settings: 'global-settings'
1568 global-settings-type: cfp
Anaël Clossonadcb39d2017-03-10 15:39:09 +01001569
1570 - maven-target:
1571 maven-version: '{maven-version}'
Anaël Closson03222ed2017-03-13 16:37:09 +01001572 pom: '{site-pom}'
Anaël Clossonb7c8aa32017-03-14 15:50:20 +01001573 goals: 'clean site:site site:stage-deploy'
Anaël Clossonadcb39d2017-03-10 15:39:09 +01001574 settings: '{mvn-settings}'
1575 settings-type: cfp
1576 global-settings: 'global-settings'
1577 global-settings-type: cfp
ig61339fdb9d22017-04-03 17:47:19 +03001578
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001579 publishers:
1580 - infra-shiplogs:
1581 maven-version: '{maven-version}'
1582
ig61339fdb9d22017-04-03 17:47:19 +03001583- job-template:
1584 # Job template for Java merge jobs
1585 #
1586 # The purpose of this job template is to run "maven clean deploy" for
1587 # projects using this template.
1588 #
1589 # Required Variables:
1590 # branch: git branch (eg. stable/lithium or master)
1591 name: '{project-name}-{stream}-sdc-merge-java'
1592
1593 project-type: freestyle
ig6133cb3f8232017-04-05 14:22:42 +03001594 node: 'ubuntu1604-docker-8c-8g'
ig61339fdb9d22017-04-03 17:47:19 +03001595
1596 properties:
1597 - infra-properties:
1598 build-days-to-keep: '{build-days-to-keep}'
1599
1600 parameters:
1601 - infra-parameters:
1602 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}'
ig61339fdb9d22017-04-03 17:47:19 +03001614
1615 wrappers:
1616 - infra-wrappers:
1617 build-timeout: '{build-timeout}'
1618
1619 triggers:
1620 - gerrit-trigger-patch-merged:
1621 server: '{server-name}'
1622 project: '{project}'
1623 branch: '{branch}'
1624 files: '**'
1625
1626 builders:
1627 - provide-maven-settings:
1628 global-settings-file: 'global-settings'
1629 settings-file: '{mvn-settings}'
ig61339fdb9d22017-04-03 17:47:19 +03001630
1631 - docker-login
1632
ig6133cb3f8232017-04-05 14:22:42 +03001633 - maven-docker-push-daily:
ig61339fdb9d22017-04-03 17:47:19 +03001634 maven-version: '{maven-version}'
ig6133cb3f8232017-04-05 14:22:42 +03001635 mvn-settings: '{mvn-settings}'
1636 pom: '{docker-pom}'
1637 # use default as mvn-profile if profile is not needed
1638 mvn-profile: '{mvn-profile}'
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001639
1640 publishers:
1641 - infra-shiplogs:
1642 maven-version: '{maven-version}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04001643
1644- job-template:
1645 name: '{project-name}-{stream}-aai-docker-java-version-daily'
1646 project-type: freestyle
1647 node: 'ubuntu1604-docker-8c-8g'
1648
1649 properties:
1650 - infra-properties:
1651 build-days-to-keep: '{build-days-to-keep}'
1652
1653 parameters:
1654 - infra-parameters:
1655 project: '{project}'
1656 branch: '{branch}'
1657 refspec: 'refs/heads/{branch}'
1658 artifacts: '{archive-artifacts}'
1659 - maven-exec:
1660 maven-version: '{maven-version}'
1661
1662 scm:
1663 - gerrit-trigger-scm:
1664 refspec: ''
1665 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001666 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04001667
1668 wrappers:
1669 - infra-wrappers:
1670 build-timeout: '{build-timeout}'
1671
1672 triggers:
1673 # 12 AM UTC
1674 - timed: 'H 12 * * *'
1675 - gerrit-trigger-release-manually:
1676 server: '{server-name}'
1677 project: '{project}'
1678 branch: '{branch}'
1679
1680 builders:
1681
1682 - provide-maven-settings:
1683 global-settings-file: 'global-settings'
1684 settings-file: '{mvn-settings}'
1685
1686 - docker-login
1687
1688 - maven-target:
1689 maven-version: '{maven-version}'
1690 pom: 'pom.xml'
1691 goals: 'clean install -DskipTests -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
1692 settings: '{mvn-settings}'
1693 settings-type: cfp
1694 global-settings: 'global-settings'
1695 global-settings-type: cfp
1696
1697 - maven-target:
1698 maven-version: '{maven-version}'
1699 pom: '{pom}'
1700 goals: '{mvn-goals}'
1701 settings: '{mvn-settings}'
1702 settings-type: cfp
1703 global-settings: 'global-settings'
1704 global-settings-type: cfp
1705 properties:
1706 - maven.test.skip=true
1707 - docker.pull.registry=nexus3.onap.org:10001
1708 - docker.push.registry=nexus3.onap.org:10003
1709
1710 publishers:
1711 - infra-shiplogs:
1712 maven-version: '{maven-version}'
1713