blob: 3c662957bce9845ed513daa4179db6866515491a [file] [log] [blame]
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001---
2- job-template:
3 # Job template for Java verify jobs
4 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08005 # The purpose of this job template is to run:
6 # 1. maven clean install -DskipTests=true
Andrew Grimbergebc710a2017-01-30 12:59:38 -08007 #
8 # Required Variables:
9 # branch: git branch (eg. stable/lithium or master)
10
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050011 name: '{project-name}-{stream}-verify-java-skip-tests'
12
13 project-type: freestyle
14 concurrent: true
15 node: '{build-node}'
16
17 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -070018 - infra-properties:
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050019 build-days-to-keep: '{build-days-to-keep}'
20
21 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -070022 - infra-parameters:
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050023 project: '{project}'
24 branch: '{branch}'
25 refspec: 'refs/heads/{branch}'
26 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -080027 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -080028 maven-version: '{maven-version}'
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050029
30 scm:
31 - gerrit-trigger-scm:
32 refspec: '$GERRIT_REFSPEC'
33 choosing-strategy: 'gerrit'
Jeremy Phelps11f5d412017-06-30 13:56:19 -050034 submodule-recursive: '{submodule-recursive}'
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050035
36 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -070037 - infra-wrappers:
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050038 build-timeout: '{build-timeout}'
39
40 triggers:
41 - gerrit-trigger-patch-submitted:
42 server: '{server-name}'
43 project: '{project}'
44 branch: '{branch}'
45 files: '**'
46
47 builders:
48 - provide-maven-settings:
49 global-settings-file: 'global-settings'
50 settings-file: '{mvn-settings}'
51 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -080052 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -040053 goals: 'clean install -DskipTests=true -B
54 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050055 settings: '{mvn-settings}'
56 settings-type: cfp
57 global-settings: 'global-settings'
58 global-settings-type: cfp
59 maven-opts:
60 - maven.test.skip=true
61
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -070062 publishers:
63 - infra-shiplogs:
64 maven-version: '{maven-version}'
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050065
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050066- job-template:
67 # Job template for Java verify jobs
68 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -080069 # The purpose of this job template is to run:
70 # 1. maven clean install
Pamela Dragoshc6ff9c72017-02-16 11:11:45 -050071 #
72 # Required Variables:
73 # branch: git branch (eg. stable/lithium or master)
74
Andrew Grimbergce2286c2017-01-31 05:50:39 -080075 name: '{project-name}-{stream}-verify-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080076
77 project-type: freestyle
78 concurrent: true
79 node: '{build-node}'
80
81 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -070082 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -080083 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080084
85 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -070086 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -080087 project: '{project}'
88 branch: '{branch}'
89 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -080090 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -080091 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -080092 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080093
94 scm:
95 - gerrit-trigger-scm:
96 refspec: '$GERRIT_REFSPEC'
97 choosing-strategy: 'gerrit'
Jeremy Phelps11f5d412017-06-30 13:56:19 -050098 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -080099
100 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700101 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800102 build-timeout: '{build-timeout}'
103
104 triggers:
105 - gerrit-trigger-patch-submitted:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800106 server: '{server-name}'
107 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800108 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800109 files: '**'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800110
111 builders:
112 - provide-maven-settings:
113 global-settings-file: 'global-settings'
114 settings-file: '{mvn-settings}'
115 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800116 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400117 goals: 'clean install -B
118 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800119 settings: '{mvn-settings}'
120 settings-type: cfp
121 global-settings: 'global-settings'
122 global-settings-type: cfp
123
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700124 publishers:
125 - infra-shiplogs:
126 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800127
128- job-template:
JulienBe77903ed2017-07-17 15:30:26 +0200129 # Job template for Java verify jobs running checkstyle at the end
130 # When checkstyle will be fully incorporated, it is meant to replace
131 # '{project-name}-{stream}-verify-java-checkstyle'
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800132 #
133 # The purpose of this job template is to run:
134 # 1. maven clean install
135 #
136 # This job publishes checkstyle results.
JulienBe77903ed2017-07-17 15:30:26 +0200137 #
138 # Required Variables:
139 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800140
JulienBe77903ed2017-07-17 15:30:26 +0200141 name: '{project-name}-{stream}-verify-java-checkstyle'
142 project-type: freestyle
143 concurrent: true
144 node: '{build-node}'
145 properties:
146 - infra-properties:
147 build-days-to-keep: '{build-days-to-keep}'
148 parameters:
149 - infra-parameters:
150 project: '{project}'
151 branch: '{branch}'
152 refspec: 'refs/heads/{branch}'
153 artifacts: '{archive-artifacts}'
154 - maven-exec:
155 maven-version: '{maven-version}'
156 scm:
157 - gerrit-trigger-scm:
158 refspec: '$GERRIT_REFSPEC'
159 choosing-strategy: 'gerrit'
160 submodule-recursive: '{submodule-recursive}'
161 wrappers:
162 - infra-wrappers:
163 build-timeout: '{build-timeout}'
164 triggers:
165 - gerrit-trigger-patch-submitted:
166 server: '{server-name}'
167 project: '{project}'
168 branch: '{branch}'
169 files: '**'
170 builders:
171 - provide-maven-settings:
172 global-settings-file: 'global-settings'
173 settings-file: '{mvn-settings}'
174 - maven-target:
175 maven-version: '{maven-version}'
176 goals: 'clean install -B
177 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
178 settings: '{mvn-settings}'
179 settings-type: cfp
180 global-settings: 'global-settings'
181 global-settings-type: cfp
182 publishers:
183 - infra-shiplogs:
184 maven-version: '{maven-version}'
185 - checkstyle-result
186
187- job-template:
JulienBeef823f12017-04-12 04:52:40 -0700188 # Job template for Java verify jobs that takes a maven template
189 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800190 # The purpose of this job template is to run:
191 # 1. maven clean install -P {mvn-profile}
JulienBeef823f12017-04-12 04:52:40 -0700192 #
193 # Required Variables:
194 # branch: git branch (eg. stable/lithium or master)
195
196 name: '{project-name}-{stream}-verify-profile-java'
197
198 project-type: freestyle
199 concurrent: true
200 node: '{build-node}'
201
202 properties:
203 - infra-properties:
204 build-days-to-keep: '{build-days-to-keep}'
205
206 parameters:
207 - infra-parameters:
208 project: '{project}'
209 branch: '{branch}'
210 refspec: 'refs/heads/{branch}'
211 artifacts: '{archive-artifacts}'
212 - maven-exec:
213 maven-version: '{maven-version}'
214
215 scm:
216 - gerrit-trigger-scm:
217 refspec: '$GERRIT_REFSPEC'
218 choosing-strategy: 'gerrit'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500219 submodule-recursive: '{submodule-recursive}'
JulienBeef823f12017-04-12 04:52:40 -0700220
221 wrappers:
222 - infra-wrappers:
223 build-timeout: '{build-timeout}'
224
225 triggers:
226 - gerrit-trigger-patch-submitted:
227 server: '{server-name}'
228 project: '{project}'
229 branch: '{branch}'
230 files: '**'
231
232 builders:
233 - provide-maven-settings:
234 global-settings-file: 'global-settings'
235 settings-file: '{mvn-settings}'
236 - maven-target:
237 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400238 goals: 'clean install -P {mvn-profile} -B
239 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBeef823f12017-04-12 04:52:40 -0700240 settings: '{mvn-settings}'
241 settings-type: cfp
242 global-settings: 'global-settings'
243 global-settings-type: cfp
244
245 publishers:
246 - infra-shiplogs:
247 maven-version: '{maven-version}'
248
249- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800250 # Job template for Java verify jobs with POM not at the root
251 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800252 # The purpose of this job template is to run:
253 # 1. maven clean install
254 #
255 # This job supports subprojects.
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800256 #
257 # Required Variables:
258 # branch: git branch (eg. stable/lithium or master)
259 # pom: name/location of the pom.xml file relative to the workspace
260 # pattern: ant file-path pattern relative to the workspace used to
261 # trigger the job
262
Andrew Grimbergce2286c2017-01-31 05:50:39 -0800263 name: '{project-name}-{stream}-{subproject}-verify-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800264
265 project-type: freestyle
266 concurrent: true
267 node: '{build-node}'
268
269 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700270 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800271 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800272
273 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700274 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800275 project: '{project}'
276 branch: '{branch}'
277 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -0800278 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800279 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800280 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800281
282 scm:
283 - gerrit-trigger-scm:
284 refspec: '$GERRIT_REFSPEC'
285 choosing-strategy: 'gerrit'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500286 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800287
288 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700289 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800290 build-timeout: '{build-timeout}'
291
292 triggers:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800293 - gerrit-trigger-patch-submitted:
294 server: '{server-name}'
295 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800296 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800297 files: '{pattern}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800298
299 builders:
300 - provide-maven-settings:
301 global-settings-file: 'global-settings'
302 settings-file: '{mvn-settings}'
303 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800304 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800305 pom: '{pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400306 goals: 'clean install -B
307 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800308 settings: '{mvn-settings}'
309 settings-type: cfp
310 global-settings: 'global-settings'
311 global-settings-type: cfp
312
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700313 publishers:
314 - infra-shiplogs:
315 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800316
317- job-template:
JulienBe2f4ee072017-02-01 21:42:32 +0100318 # Job template for Java daily release jobs
319 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800320 # The purpose of this job template is to run:
321 # 1. maven clean deploy with Sonar scans
JulienBe2f4ee072017-02-01 21:42:32 +0100322 #
323 # Required Variables:
324 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800325
JulienBe2f4ee072017-02-01 21:42:32 +0100326 name: '{project-name}-{stream}-release-java-daily'
327
328 project-type: freestyle
329 node: '{build-node}'
Jessica Wagantalle903e732018-02-12 13:31:48 -0800330 disabled: false
JulienBe2f4ee072017-02-01 21:42:32 +0100331 maven-deploy-properties:
332 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700333 - infra-properties:
JulienBe2f4ee072017-02-01 21:42:32 +0100334 build-days-to-keep: '{build-days-to-keep}'
335
336 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700337 - infra-parameters:
JulienBe2f4ee072017-02-01 21:42:32 +0100338 project: '{project}'
339 branch: '{branch}'
340 refspec: 'refs/heads/{branch}'
341 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800342 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800343 maven-version: '{maven-version}'
JulienBe2f4ee072017-02-01 21:42:32 +0100344
345 scm:
346 - gerrit-trigger-scm:
347 refspec: ''
348 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500349 submodule-recursive: '{submodule-recursive}'
JulienBe2f4ee072017-02-01 21:42:32 +0100350
351 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700352 - infra-wrappers:
JulienBe2f4ee072017-02-01 21:42:32 +0100353 build-timeout: '{build-timeout}'
354
355 triggers:
356 # 11 AM UTC
357 - timed: 'H 11 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -0800358 - gerrit-trigger-release-manually:
359 server: '{server-name}'
360 project: '{project}'
361 branch: '{branch}'
JulienBe2f4ee072017-02-01 21:42:32 +0100362
363 builders:
364 - provide-maven-settings:
365 global-settings-file: 'global-settings'
366 settings-file: '{mvn-settings}'
367
JulienBe5641aa02017-02-17 01:08:38 -0800368 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800369 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800370 goals: 'clean deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -0400371 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBe5641aa02017-02-17 01:08:38 -0800372 properties:
373 - '{maven-deploy-properties}'
Jessica Wagantall6223d1d2017-08-07 14:46:58 -0700374 java-opts:
375 - '-Xmx4096m -XX:MaxPermSize=512m'
JulienBe5641aa02017-02-17 01:08:38 -0800376 settings: '{mvn-settings}'
377 settings-type: cfp
378 global-settings: 'global-settings'
379 global-settings-type: cfp
380
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700381 publishers:
382 - infra-shiplogs:
383 maven-version: '{maven-version}'
384
JulienBe5641aa02017-02-17 01:08:38 -0800385- job-template:
JulienBe77903ed2017-07-17 15:30:26 +0200386 # Job template for Java daily release jobs running checkstyle at the end
387 # When checkstyle will be fully incorporated, it is meant to replace
388 # '{project-name}-{stream}-release-java-daily'
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800389 #
390 # The purpose of this job template is to run:
391 # 1. maven clean deploy with Sonar scans
392 #
393 # This job publishes checkstyle results.
394 # This job uses a conditional regex match step to set versions.
JulienBe77903ed2017-07-17 15:30:26 +0200395 #
396 # Required Variables:
397 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800398
JulienBe77903ed2017-07-17 15:30:26 +0200399 name: '{project-name}-{stream}-release-java-daily-checkstyle'
400 project-type: freestyle
401 node: '{build-node}'
Jessica Wagantalle903e732018-02-12 13:31:48 -0800402 disabled: false
JulienBe77903ed2017-07-17 15:30:26 +0200403 maven-deploy-properties:
404 properties:
405 - infra-properties:
406 build-days-to-keep: '{build-days-to-keep}'
407 parameters:
408 - infra-parameters:
409 project: '{project}'
410 branch: '{branch}'
411 refspec: 'refs/heads/{branch}'
412 artifacts: '{archive-artifacts}'
413 - maven-exec:
414 maven-version: '{maven-version}'
415 scm:
416 - gerrit-trigger-scm:
417 refspec: ''
418 choosing-strategy: 'default'
419 submodule-recursive: '{submodule-recursive}'
420 wrappers:
421 - infra-wrappers:
422 build-timeout: '{build-timeout}'
423 triggers:
424 # 11 AM UTC
425 - timed: 'H 11 * * *'
426 - gerrit-trigger-release-manually:
427 server: '{server-name}'
428 project: '{project}'
429 branch: '{branch}'
430 builders:
431 - provide-maven-settings:
432 global-settings-file: 'global-settings'
433 settings-file: '{mvn-settings}'
JulienBed91a33a2017-09-25 15:56:34 +0200434 - conditional-step:
435 condition-kind: regex-match
436 regex: DoSetVersion
437 label: '{setVersion}'
438 steps:
439 - inject:
440 properties-file: version.properties
441 - maven-target:
442 maven-version: '{maven-version}'
443 goals: 'versions:set versions:update-child-modules versions:commit -B'
444 properties:
445 - 'newVersion=${{release_version}}'
446 settings: '{mvn-settings}'
447 settings-type: cfp
448 global-settings: 'global-settings'
449 global-settings-type: cfp
JulienBe77903ed2017-07-17 15:30:26 +0200450 - maven-target:
451 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800452 goals: 'clean deploy -B
JulienBe77903ed2017-07-17 15:30:26 +0200453 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBec9d90e22017-08-08 10:44:10 +0200454 properties: '{obj:mvn_properties}'
JulienBe77903ed2017-07-17 15:30:26 +0200455 settings: '{mvn-settings}'
456 settings-type: cfp
457 global-settings: 'global-settings'
458 global-settings-type: cfp
459 publishers:
460 - infra-shiplogs:
461 maven-version: '{maven-version}'
462 - checkstyle-result-daily
463
464- job-template:
JulienBe5641aa02017-02-17 01:08:38 -0800465 # Job template for Java daily release jobs
466 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800467 # The purpose of this job template is to run:
468 # 1. maven set versions
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800469 # 2. maven clean deploy with Sonar scans
Pamela Dragosh55ceb8f2017-05-23 12:23:16 -0400470 #
471 # Required Variables:
472 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800473
JulienBe5641aa02017-02-17 01:08:38 -0800474 name: '{project-name}-{stream}-release-version-java-daily'
475
476 project-type: freestyle
477 node: '{build-node}'
Jessica Wagantalle903e732018-02-12 13:31:48 -0800478 disabled: false
JulienBe5641aa02017-02-17 01:08:38 -0800479 maven-deploy-properties:
480 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700481 - infra-properties:
JulienBe5641aa02017-02-17 01:08:38 -0800482 build-days-to-keep: '{build-days-to-keep}'
483
484 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700485 - infra-parameters:
JulienBe5641aa02017-02-17 01:08:38 -0800486 project: '{project}'
487 branch: '{branch}'
488 refspec: 'refs/heads/{branch}'
489 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800490 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800491 maven-version: '{maven-version}'
JulienBe5641aa02017-02-17 01:08:38 -0800492
493 scm:
494 - gerrit-trigger-scm:
495 refspec: ''
496 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500497 submodule-recursive: '{submodule-recursive}'
JulienBe5641aa02017-02-17 01:08:38 -0800498
499 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700500 - infra-wrappers:
JulienBe5641aa02017-02-17 01:08:38 -0800501 build-timeout: '{build-timeout}'
502
503 triggers:
504 # 11 AM UTC
Jessica Wagantall77494942017-10-02 15:12:14 -0700505 - timed: 'H H(10-17) * * *'
JulienBe5641aa02017-02-17 01:08:38 -0800506 - gerrit-trigger-release-manually:
507 server: '{server-name}'
508 project: '{project}'
509 branch: '{branch}'
510
511 builders:
512 - provide-maven-settings:
513 global-settings-file: 'global-settings'
514 settings-file: '{mvn-settings}'
515
JulienBe2f4ee072017-02-01 21:42:32 +0100516 - inject:
517 properties-file: version.properties
518 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800519 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -0400520 goals: 'versions:set versions:update-child-modules versions:commit -B'
JulienBe2f4ee072017-02-01 21:42:32 +0100521 properties:
522 - 'newVersion=${{release_version}}'
523 settings: '{mvn-settings}'
524 settings-type: cfp
525 global-settings: 'global-settings'
526 global-settings-type: cfp
527
528 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800529 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800530 goals: 'clean deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -0400531 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimberg24443ee2017-02-02 08:29:12 -0800532 properties:
533 - '{maven-deploy-properties}'
JulienBe2f4ee072017-02-01 21:42:32 +0100534 settings: '{mvn-settings}'
535 settings-type: cfp
536 global-settings: 'global-settings'
537 global-settings-type: cfp
538
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700539 publishers:
540 - infra-shiplogs:
541 maven-version: '{maven-version}'
542
JulienBe2f4ee072017-02-01 21:42:32 +0100543- job-template:
JulienBe645951d2017-09-28 18:44:18 +0200544 # Job template for Java daily release jobs
545 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800546 # The purpose of this job template is to run:
547 # 1. maven set versions
548 # 2. maven clean deploy -P {mvn-profile} with Sonar scans
JulienBe645951d2017-09-28 18:44:18 +0200549 #
550 # Required Variables:
551 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800552
JulienBe645951d2017-09-28 18:44:18 +0200553 name: '{project-name}-{stream}-release-version-profile-java-daily'
554
555 project-type: freestyle
556 node: '{build-node}'
Jessica Wagantalle903e732018-02-12 13:31:48 -0800557 disabled: false
JulienBe645951d2017-09-28 18:44:18 +0200558 maven-deploy-properties:
559 properties:
560 - infra-properties:
561 build-days-to-keep: '{build-days-to-keep}'
562
563 parameters:
564 - infra-parameters:
565 project: '{project}'
566 branch: '{branch}'
567 refspec: 'refs/heads/{branch}'
568 artifacts: '{archive-artifacts}'
569 - maven-exec:
570 maven-version: '{maven-version}'
571
572 scm:
573 - gerrit-trigger-scm:
574 refspec: ''
575 choosing-strategy: 'default'
576 submodule-recursive: '{submodule-recursive}'
577
578 wrappers:
579 - infra-wrappers:
580 build-timeout: '{build-timeout}'
581
582 triggers:
583 # 11 AM UTC
584 - timed: 'H 11 * * *'
585 - gerrit-trigger-release-manually:
586 server: '{server-name}'
587 project: '{project}'
588 branch: '{branch}'
589
590 builders:
591 - provide-maven-settings:
592 global-settings-file: 'global-settings'
593 settings-file: '{mvn-settings}'
594
595 - inject:
596 properties-file: version.properties
597 - maven-target:
598 maven-version: '{maven-version}'
599 goals: 'versions:set versions:update-child-modules versions:commit -B'
600 properties:
601 - 'newVersion=${{release_version}}'
602 settings: '{mvn-settings}'
603 settings-type: cfp
604 global-settings: 'global-settings'
605 global-settings-type: cfp
606
607 - maven-target:
608 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800609 goals: 'clean deploy -P {mvn-profile} -B
JulienBe645951d2017-09-28 18:44:18 +0200610 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
611 properties:
612 - '{maven-deploy-properties}'
613 settings: '{mvn-settings}'
614 settings-type: cfp
615 global-settings: 'global-settings'
616 global-settings-type: cfp
617
618 publishers:
619 - infra-shiplogs:
620 maven-version: '{maven-version}'
621
622
623- job-template:
Carsten Lundda8b6972017-02-15 23:59:25 +0000624 # Job template for Java daily release jobs with POM not at the root
625 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800626 # The purpose of this job template is to run:
627 # 1. maven clean deploy with Sonar scans
628 #
629 # This job supports subprojects.
Carsten Lundda8b6972017-02-15 23:59:25 +0000630 #
631 # Required Variables:
632 # branch: git branch (eg. stable/lithium or master)
633 # pom: name/location of the pom.xml file relative to the workspace
634
Carsten Lundda8b6972017-02-15 23:59:25 +0000635 name: '{project-name}-{stream}-{subproject}-release-java-daily'
636
637 project-type: freestyle
638 node: '{build-node}'
Jessica Wagantalle903e732018-02-12 13:31:48 -0800639 disabled: false
Carsten Lundda8b6972017-02-15 23:59:25 +0000640 maven-deploy-properties:
641 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700642 - infra-properties:
Carsten Lundda8b6972017-02-15 23:59:25 +0000643 build-days-to-keep: '{build-days-to-keep}'
644
645 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700646 - infra-parameters:
Carsten Lundda8b6972017-02-15 23:59:25 +0000647 project: '{project}'
648 branch: '{branch}'
649 refspec: 'refs/heads/{branch}'
650 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800651 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800652 maven-version: '{maven-version}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000653
654 scm:
655 - gerrit-trigger-scm:
656 refspec: ''
657 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500658 submodule-recursive: '{submodule-recursive}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000659
660 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700661 - infra-wrappers:
Carsten Lundda8b6972017-02-15 23:59:25 +0000662 build-timeout: '{build-timeout}'
663
664 triggers:
665 # 11 AM UTC
666 - timed: 'H 11 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -0800667 - gerrit-trigger-release-manually:
668 server: '{server-name}'
669 project: '{project}'
670 branch: '{branch}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000671
672 builders:
673 - provide-maven-settings:
674 global-settings-file: 'global-settings'
675 settings-file: '{mvn-settings}'
676
Carsten Lundda8b6972017-02-15 23:59:25 +0000677 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800678 maven-version: '{maven-version}'
Carsten Lund63cd3b82017-02-18 18:19:22 +0000679 pom: '{pom}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800680 goals: 'clean deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -0400681 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lundda8b6972017-02-15 23:59:25 +0000682 properties:
683 - '{maven-deploy-properties}'
Jessica Wagantall30f0d782017-08-08 13:37:25 -0700684 java-opts:
685 - '-Xmx4096m -XX:MaxPermSize=512m'
Carsten Lundda8b6972017-02-15 23:59:25 +0000686 settings: '{mvn-settings}'
687 settings-type: cfp
688 global-settings: 'global-settings'
689 global-settings-type: cfp
690
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700691 publishers:
692 - infra-shiplogs:
693 maven-version: '{maven-version}'
694
Carsten Lundda8b6972017-02-15 23:59:25 +0000695- job-template:
Jessica Wagantallae897942017-09-28 10:56:55 -0700696 # Job template for Java daily release jobs with POM not at the root
697 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800698 # The purpose of this job template is to run:
699 # 1. maven set versions
700 # 2. maven clean deploy with Sonar scans
701 #
702 # This job supports subprojects.
Jessica Wagantallae897942017-09-28 10:56:55 -0700703 #
704 # Required Variables:
705 # branch: git branch (eg. stable/lithium or master)
706 # pom: name/location of the pom.xml file relative to the workspace
707
Zhaoxinga77c0412017-10-11 09:05:49 +0800708 name: '{project-name}-{stream}-{subproject}-release-version-java-daily'
709
710 project-type: freestyle
711 node: '{build-node}'
Jessica Wagantalle903e732018-02-12 13:31:48 -0800712 disabled: false
Zhaoxinga77c0412017-10-11 09:05:49 +0800713 maven-deploy-properties:
714 properties:
715 - infra-properties:
716 build-days-to-keep: '{build-days-to-keep}'
717
718 parameters:
719 - infra-parameters:
720 project: '{project}'
721 branch: '{branch}'
722 refspec: 'refs/heads/{branch}'
723 artifacts: '{archive-artifacts}'
724 - maven-exec:
725 maven-version: '{maven-version}'
726
727 scm:
728 - gerrit-trigger-scm:
729 refspec: ''
730 choosing-strategy: 'default'
731 submodule-recursive: '{submodule-recursive}'
732
733 wrappers:
734 - infra-wrappers:
735 build-timeout: '{build-timeout}'
736
737 triggers:
738 # 11 AM UTC
739 - timed: 'H 11 * * *'
740 - gerrit-trigger-release-manually:
741 server: '{server-name}'
742 project: '{project}'
743 branch: '{branch}'
744
745 builders:
746 - provide-maven-settings:
747 global-settings-file: 'global-settings'
748 settings-file: '{mvn-settings}'
749
750 - inject:
751 properties-file: version.properties
752 - maven-target:
753 maven-version: '{maven-version}'
Zhaoxing327f9592017-10-13 13:37:17 +0800754 pom: '{pom}'
Zhaoxinga77c0412017-10-11 09:05:49 +0800755 goals: 'versions:set versions:update-child-modules versions:commit -B'
756 properties:
757 - 'newVersion=${{release_version}}'
758 settings: '{mvn-settings}'
759 settings-type: cfp
760 global-settings: 'global-settings'
761 global-settings-type: cfp
762
763 - maven-target:
764 maven-version: '{maven-version}'
765 pom: '{pom}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800766 goals: 'clean deploy -B
Zhaoxinga77c0412017-10-11 09:05:49 +0800767 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
768 properties:
769 - '{maven-deploy-properties}'
770 settings: '{mvn-settings}'
771 settings-type: cfp
772 global-settings: 'global-settings'
773 global-settings-type: cfp
774
775 publishers:
776 - infra-shiplogs:
777 maven-version: '{maven-version}'
778
779- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800780 # Job template for Java merge jobs
781 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800782 # The purpose of this job template is to run:
783 # 1. maven clean deploy
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800784 #
785 # Required Variables:
786 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800787
Andrew Grimbergce2286c2017-01-31 05:50:39 -0800788 name: '{project-name}-{stream}-merge-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800789
790 project-type: freestyle
791 node: '{build-node}'
792
793 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700794 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800795 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800796
797 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700798 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800799 project: '{project}'
800 branch: '{branch}'
801 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -0800802 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800803 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800804 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800805
806 scm:
807 - gerrit-trigger-scm:
808 refspec: ''
809 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500810 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800811
812 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700813 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800814 build-timeout: '{build-timeout}'
815
816 triggers:
817 - gerrit-trigger-patch-merged:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800818 server: '{server-name}'
819 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800820 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800821 files: '**'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800822
823 builders:
824 - provide-maven-settings:
825 global-settings-file: 'global-settings'
826 settings-file: '{mvn-settings}'
827 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800828 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400829 goals: 'clean deploy -B
830 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800831 settings: '{mvn-settings}'
832 settings-type: cfp
833 global-settings: 'global-settings'
834 global-settings-type: cfp
835
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700836 publishers:
837 - infra-shiplogs:
838 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800839
840- job-template:
JulienBea4868a62017-07-28 17:13:11 +0200841 # Job template for Java merge jobs based on
842 # '{project-name}-{stream}-merge-java'
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800843 # The purpose of this job template is to run:
844 # 1. maven clean deploy
845 #
846 # This project supports maven properties.
JulienBea4868a62017-07-28 17:13:11 +0200847 #
848 # Required Variables:
849 # branch: git branch (eg. stable/lithium or master)
850 # maven-properties: properties passed to maven
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800851
JulienBea4868a62017-07-28 17:13:11 +0200852 name: '{project-name}-{stream}-merge-properties-java'
853
854 project-type: freestyle
855 node: '{build-node}'
856
857 properties:
858 - infra-properties:
859 build-days-to-keep: '{build-days-to-keep}'
860
861 parameters:
862 - infra-parameters:
863 project: '{project}'
864 branch: '{branch}'
865 refspec: 'refs/heads/{branch}'
866 artifacts: '{archive-artifacts}'
867 - maven-exec:
868 maven-version: '{maven-version}'
869
870 scm:
871 - gerrit-trigger-scm:
872 refspec: ''
873 choosing-strategy: 'default'
874 submodule-recursive: '{submodule-recursive}'
875
876 wrappers:
877 - infra-wrappers:
878 build-timeout: '{build-timeout}'
879
880 triggers:
881 - gerrit-trigger-patch-merged:
882 server: '{server-name}'
883 project: '{project}'
884 branch: '{branch}'
885 files: '**'
886
887 builders:
888 - provide-maven-settings:
889 global-settings-file: 'global-settings'
890 settings-file: '{mvn-settings}'
891 - maven-target:
892 maven-version: '{maven-version}'
893 goals: 'clean deploy -B
894 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
895 settings: '{mvn-settings}'
896 settings-type: cfp
897 global-settings: 'global-settings'
898 global-settings-type: cfp
JulienBec9d90e22017-08-08 10:44:10 +0200899 properties: '{obj:mvn_properties}'
JulienBea4868a62017-07-28 17:13:11 +0200900
901 publishers:
902 - infra-shiplogs:
903 maven-version: '{maven-version}'
904
905- job-template:
JulienBeef823f12017-04-12 04:52:40 -0700906 # Job template for Java merge jobs that takes a maven template
907 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800908 # The purpose of this job template is to run:
909 # 1. maven clean deploy -P {mvn-profile}
JulienBeef823f12017-04-12 04:52:40 -0700910 #
911 # Required Variables:
912 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800913
JulienBeef823f12017-04-12 04:52:40 -0700914 name: '{project-name}-{stream}-merge-profile-java'
915
916 project-type: freestyle
917 node: '{build-node}'
918
919 properties:
920 - infra-properties:
921 build-days-to-keep: '{build-days-to-keep}'
922
923 parameters:
924 - infra-parameters:
925 project: '{project}'
926 branch: '{branch}'
927 refspec: 'refs/heads/{branch}'
928 artifacts: '{archive-artifacts}'
929 - maven-exec:
930 maven-version: '{maven-version}'
931
932 scm:
933 - gerrit-trigger-scm:
934 refspec: ''
935 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500936 submodule-recursive: '{submodule-recursive}'
JulienBeef823f12017-04-12 04:52:40 -0700937
938 wrappers:
939 - infra-wrappers:
940 build-timeout: '{build-timeout}'
941
942 triggers:
943 - gerrit-trigger-patch-merged:
944 server: '{server-name}'
945 project: '{project}'
946 branch: '{branch}'
947 files: '**'
948
949 builders:
950 - provide-maven-settings:
951 global-settings-file: 'global-settings'
952 settings-file: '{mvn-settings}'
Determe, Sebastien (sd378r)62e4e662017-04-26 08:00:00 -0700953
954 - docker-login
955
JulienBeef823f12017-04-12 04:52:40 -0700956 - maven-target:
957 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400958 goals: 'clean deploy -P {mvn-profile} -B
959 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBeef823f12017-04-12 04:52:40 -0700960 settings: '{mvn-settings}'
961 settings-type: cfp
962 global-settings: 'global-settings'
963 global-settings-type: cfp
Determe, Sebastien (sd378r)345956b2017-04-28 08:45:52 -0700964 properties:
965 - docker.pull.registry=nexus3.onap.org:10001
966 - docker.push.registry=nexus3.onap.org:10003
JulienBeef823f12017-04-12 04:52:40 -0700967
968 publishers:
969 - infra-shiplogs:
970 maven-version: '{maven-version}'
971
972- job-template:
Andrew Grimbergdd853c52017-02-16 14:14:26 -0800973 # Job template for Java merge jobs that should also be triggered by upstream
974 # merges
975 #
976 # Required Variables:
977 # stream: release stream
978 # branch: git branch
979 # dependencies: fully qualified upstream job name to trigger on
980 # this may be ''
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800981
Andrew Grimbergdd853c52017-02-16 14:14:26 -0800982 name: '{project-name}-{stream}-downstream-merge-java'
983
984 project-type: freestyle
985 node: '{build-node}'
986
987 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700988 - infra-properties:
Andrew Grimbergdd853c52017-02-16 14:14:26 -0800989 build-days-to-keep: '{build-days-to-keep}'
990
991 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700992 - infra-parameters:
Andrew Grimbergdd853c52017-02-16 14:14:26 -0800993 project: '{project}'
994 branch: '{branch}'
995 refspec: 'refs/heads/{branch}'
996 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800997 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800998 maven-version: '{maven-version}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -0800999
1000 scm:
1001 - gerrit-trigger-scm:
1002 refspec: ''
1003 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001004 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001005
1006 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001007 - infra-wrappers:
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001008 build-timeout: '{build-timeout}'
1009
1010 triggers:
1011 - reverse:
1012 jobs: '{dependencies}'
1013 result: 'success'
1014 - gerrit-trigger-patch-merged:
1015 server: '{server-name}'
1016 project: '{project}'
1017 branch: '{branch}'
1018 files: '**'
1019
1020 builders:
1021 - provide-maven-settings:
1022 global-settings-file: 'global-settings'
1023 settings-file: '{mvn-settings}'
1024 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001025 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001026 goals: 'clean deploy -B
1027 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001028 settings: '{mvn-settings}'
1029 settings-type: cfp
1030 global-settings: 'global-settings'
1031 global-settings-type: cfp
1032
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001033 publishers:
1034 - infra-shiplogs:
1035 maven-version: '{maven-version}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001036
1037- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001038 # Job template for Java merge jobs with POM not at the root
1039 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001040 # The purpose of this job template is to run:
1041 # 1. maven clean deploy
1042 #
1043 # This job supports subprojects.
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001044 #
1045 # Required Variables:
1046 # branch: git branch (eg. stable/lithium or master)
1047 # pom: name/location of the pom.xml file relative to the workspace
1048 # pattern: ant file-path pattern relative to the workspace used to
1049 # trigger the job
1050
Andrew Grimbergce2286c2017-01-31 05:50:39 -08001051 name: '{project-name}-{stream}-{subproject}-merge-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001052
1053 project-type: freestyle
1054 node: '{build-node}'
1055
1056 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001057 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001058 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001059
1060 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001061 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001062 project: '{project}'
1063 branch: '{branch}'
1064 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -08001065 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001066 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001067 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001068
1069 scm:
1070 - gerrit-trigger-scm:
1071 refspec: ''
1072 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001073 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001074
1075 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001076 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001077 build-timeout: '{build-timeout}'
1078
1079 triggers:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001080 - gerrit-trigger-patch-merged:
1081 server: '{server-name}'
1082 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001083 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001084 files: '{pattern}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001085
1086 builders:
1087 - provide-maven-settings:
1088 global-settings-file: 'global-settings'
1089 settings-file: '{mvn-settings}'
1090 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001091 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001092 pom: '{pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001093 goals: 'clean deploy -B
1094 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001095 settings: '{mvn-settings}'
1096 settings-type: cfp
1097 global-settings: 'global-settings'
1098 global-settings-type: cfp
1099
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001100 publishers:
1101 - infra-shiplogs:
1102 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001103
1104- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001105 # Job template for Docker daily jobs
1106 #
1107 # The purpose of this job template is to run:
1108 # 1. login to the docker registry
1109 # 2. docker push
1110 #
1111 # Required Variables:
1112 # branch: git branch (eg. stable/lithium or master)
1113
Anaël Clossonabbafb52017-02-09 17:55:10 +01001114 name: '{project-name}-{stream}-docker-java-daily'
1115 project-type: freestyle
Andrew Grimberg2137b1d2017-02-15 07:24:53 -08001116 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantalle903e732018-02-12 13:31:48 -08001117 disabled: false
Anaël Clossonabbafb52017-02-09 17:55:10 +01001118 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001119 - infra-properties:
Anaël Clossonabbafb52017-02-09 17:55:10 +01001120 build-days-to-keep: '{build-days-to-keep}'
1121
1122 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001123 - infra-parameters:
Anaël Clossonabbafb52017-02-09 17:55:10 +01001124 project: '{project}'
1125 branch: '{branch}'
1126 refspec: 'refs/heads/{branch}'
1127 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001128 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001129 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001130
1131 scm:
1132 - gerrit-trigger-scm:
1133 refspec: ''
1134 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001135 submodule-recursive: '{submodule-recursive}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001136
Anaël Clossonabbafb52017-02-09 17:55:10 +01001137 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001138 - infra-wrappers:
Anaël Clossonabbafb52017-02-09 17:55:10 +01001139 build-timeout: '{build-timeout}'
1140
1141 triggers:
JulienBe0d8c2c32017-02-16 11:50:48 -08001142 # 12 AM UTC
Anaël Clossonabbafb52017-02-09 17:55:10 +01001143 - timed: 'H 12 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -08001144 - gerrit-trigger-release-manually:
1145 server: '{server-name}'
1146 project: '{project}'
1147 branch: '{branch}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001148
1149 builders:
Anaël Closson63e090e2017-02-15 14:50:45 +01001150
Anaël Clossonabbafb52017-02-09 17:55:10 +01001151 - provide-maven-settings:
1152 global-settings-file: 'global-settings'
1153 settings-file: '{mvn-settings}'
Anaël Closson7313fea2017-02-14 15:56:21 +01001154
Anaël Closson63e090e2017-02-15 14:50:45 +01001155 - docker-login
1156
Anaël Clossonabbafb52017-02-09 17:55:10 +01001157 - maven-docker-push-daily:
Andrew Grimberge2465882017-02-24 12:38:05 -08001158 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001159 mvn-settings: '{mvn-settings}'
1160 pom: '{docker-pom}'
Anaël Closson30a5c772017-02-16 15:02:56 +01001161 # use default as mvn-profile if profile is not needed
1162 mvn-profile: '{mvn-profile}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001163
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001164 publishers:
1165 - infra-shiplogs:
1166 maven-version: '{maven-version}'
1167
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001168- job-template:
JulienBe91c56ec2017-06-21 23:37:39 +02001169 # Job template for building & pushing docker images
1170 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001171 # The purpose of this job template is to run:
JulienBe91c56ec2017-06-21 23:37:39 +02001172 # 1. login to the docker registry
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001173 # 2. maven clean deploy on the specified profile
1174 #
1175 # This job uses a conditional regex match step to set versions.
1176 # This template supports maven properties.
JulienBe91c56ec2017-06-21 23:37:39 +02001177 #
1178 # Required Variables:
1179 # pom: name/location of the pom.xml file relative to the workspace
1180 # profile: the docker profile defined in the pom
1181 # maven-properties: properties passed to maven
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001182
JulienBe91c56ec2017-06-21 23:37:39 +02001183 name: '{project-name}-{stream}-docker-java-properties-daily'
1184 project-type: freestyle
1185 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantalle903e732018-02-12 13:31:48 -08001186 disabled: false
JulienBe91c56ec2017-06-21 23:37:39 +02001187 properties:
1188 - infra-properties:
1189 build-days-to-keep: '{build-days-to-keep}'
1190 parameters:
1191 - infra-parameters:
1192 project: '{project}'
1193 branch: '{branch}'
1194 refspec: 'refs/heads/{branch}'
1195 artifacts: '{archive-artifacts}'
1196 - maven-exec:
1197 maven-version: '{maven-version}'
1198 scm:
1199 - gerrit-trigger-scm:
1200 refspec: ''
1201 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001202 submodule-recursive: '{submodule-recursive}'
JulienBe91c56ec2017-06-21 23:37:39 +02001203 wrappers:
1204 - infra-wrappers:
1205 build-timeout: '{build-timeout}'
1206 triggers:
1207 # 12 AM UTC
1208 - timed: 'H 12 * * *'
1209 - gerrit-trigger-release-manually:
1210 server: '{server-name}'
1211 project: '{project}'
1212 branch: '{branch}'
1213 builders:
1214 - provide-maven-settings:
1215 global-settings-file: 'global-settings'
1216 settings-file: '{mvn-settings}'
JulienBecda17972017-10-17 13:46:51 +02001217 - conditional-step:
1218 condition-kind: regex-match
1219 regex: DoSetVersion
1220 label: '{setVersion}'
1221 steps:
1222 - inject:
1223 properties-file: version.properties
1224 - maven-target:
1225 maven-version: '{maven-version}'
1226 goals: 'versions:set versions:update-child-modules versions:commit -B'
1227 properties:
1228 - 'newVersion=${{release_version}}'
1229 settings: '{mvn-settings}'
1230 settings-type: cfp
1231 global-settings: 'global-settings'
1232 global-settings-type: cfp
JulienBe91c56ec2017-06-21 23:37:39 +02001233 - docker-login
1234 - maven-docker-push-daily:
1235 maven-version: '{maven-version}'
1236 mvn-settings: '{mvn-settings}'
1237 pom: '{docker-pom}'
1238 properties: '{maven-properties}'
1239 # use default as mvn-profile if profile is not needed
1240 mvn-profile: '{mvn-profile}'
1241 publishers:
1242 - infra-shiplogs:
1243 maven-version: '{maven-version}'
1244
1245- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001246 # Job template for building & pushing docker images
1247 #
1248 # The purpose of this job template is to run:
1249 # 1. login to the docker registry
1250 # 2. run a specified shell builder
1251 #
1252 # Required Variables:
1253 # pom: name/location of the pom.xml file relative to the workspace
1254 # maven-properties: properties passed to maven
1255
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001256 name: '{project-name}-{stream}-docker-java-shell-daily'
1257 project-type: freestyle
1258 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantalle903e732018-02-12 13:31:48 -08001259 disabled: false
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001260 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001261 - infra-properties:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001262 build-days-to-keep: '{build-days-to-keep}'
1263
1264 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001265 - infra-parameters:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001266 project: '{project}'
1267 branch: '{branch}'
1268 refspec: 'refs/heads/{branch}'
1269 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001270 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001271 maven-version: '{maven-version}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001272
1273 scm:
1274 - gerrit-trigger-scm:
1275 refspec: ''
1276 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001277 submodule-recursive: '{submodule-recursive}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001278
1279 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001280 - infra-wrappers:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001281 build-timeout: '{build-timeout}'
1282
1283 triggers:
1284 # 12 AM UTC
1285 - timed: 'H 12 * * *'
1286 - gerrit-trigger-release-manually:
1287 server: '{server-name}'
1288 project: '{project}'
1289 branch: '{branch}'
1290
1291 builders:
1292
1293 - provide-maven-settings:
1294 global-settings-file: 'global-settings'
1295 settings-file: '{mvn-settings}'
1296
1297 - docker-login
1298
Pamela Dragosh366fbc32017-02-19 20:09:09 -05001299 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001300 maven-version: '{maven-version}'
Pamela Dragosh366fbc32017-02-19 20:09:09 -05001301 goals: '{mvn-goals}'
1302 settings: '{mvn-settings}'
1303 settings-type: cfp
1304 global-settings: 'global-settings'
1305 global-settings-type: cfp
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001306
1307 - shell: '{script}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001308
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001309 publishers:
1310 - infra-shiplogs:
1311 maven-version: '{maven-version}'
1312
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001313- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001314 # Job template for building & pushing docker images
1315 #
1316 # The purpose of this job template is to run:
1317 # 1. login to the docker registry
1318 # 2. inject a version.properties file and set versions
1319 # 3. run a specified shell builder
1320 #
1321 # Required Variables:
1322 # pom: name/location of the pom.xml file relative to the workspace
1323 # maven-properties: properties passed to maven
1324
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001325 name: '{project-name}-{stream}-docker-java-version-shell-daily'
1326 project-type: freestyle
1327 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantalle903e732018-02-12 13:31:48 -08001328 disabled: false
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001329 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001330 - infra-properties:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001331 build-days-to-keep: '{build-days-to-keep}'
1332
1333 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001334 - infra-parameters:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001335 project: '{project}'
1336 branch: '{branch}'
1337 refspec: 'refs/heads/{branch}'
1338 artifacts: '{archive-artifacts}'
1339 - maven-exec:
1340 maven-version: '{maven-version}'
1341
1342 scm:
1343 - gerrit-trigger-scm:
1344 refspec: ''
1345 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001346 submodule-recursive: '{submodule-recursive}'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001347
1348 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001349 - infra-wrappers:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001350 build-timeout: '{build-timeout}'
1351
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
1360 builders:
1361
1362 - provide-maven-settings:
1363 global-settings-file: 'global-settings'
1364 settings-file: '{mvn-settings}'
1365
1366 - inject:
1367 properties-file: version.properties
1368
1369 - maven-target:
1370 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001371 goals: 'versions:set versions:update-child-modules versions:commit -B'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001372 properties:
1373 - 'newVersion=${{release_version}}'
1374 settings: '{mvn-settings}'
1375 settings-type: cfp
1376 global-settings: 'global-settings'
1377 global-settings-type: cfp
1378
1379 - docker-login
1380
1381 - maven-target:
1382 maven-version: '{maven-version}'
1383 goals: '{mvn-goals}'
1384 settings: '{mvn-settings}'
1385 settings-type: cfp
1386 global-settings: 'global-settings'
1387 global-settings-type: cfp
1388
1389 - shell: '{script}'
1390
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001391 publishers:
1392 - infra-shiplogs:
1393 maven-version: '{maven-version}'
1394
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001395- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001396 # Job template for building & pushing docker images
1397 #
1398 # The purpose of this job template is to run:
1399 # 1. login to the docker registry
1400 # 2. inject a version.properties file and set versions
1401 # 3. run a specified shell builder
1402 #
1403 # This template supports subprojects.
1404 #
1405 # Required Variables:
1406 # pom: name/location of the pom.xml file relative to the workspace
1407 # maven-properties: properties passed to maven
1408
Zhaoxing49773042017-10-13 17:14:35 +08001409 name: '{project-name}-{stream}-{subproject}-docker-java-version-shell-daily'
1410 project-type: freestyle
1411 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantalle903e732018-02-12 13:31:48 -08001412 disabled: false
Zhaoxing49773042017-10-13 17:14:35 +08001413 properties:
1414 - infra-properties:
1415 build-days-to-keep: '{build-days-to-keep}'
1416
1417 parameters:
1418 - infra-parameters:
1419 project: '{project}'
1420 branch: '{branch}'
1421 refspec: 'refs/heads/{branch}'
1422 artifacts: '{archive-artifacts}'
1423 - maven-exec:
1424 maven-version: '{maven-version}'
1425
1426 scm:
1427 - gerrit-trigger-scm:
1428 refspec: ''
1429 choosing-strategy: 'default'
1430 submodule-recursive: '{submodule-recursive}'
1431
1432 wrappers:
1433 - infra-wrappers:
1434 build-timeout: '{build-timeout}'
1435
1436 triggers:
1437 # 12 AM UTC
1438 - timed: 'H 12 * * *'
1439 - gerrit-trigger-release-manually:
1440 server: '{server-name}'
1441 project: '{project}'
1442 branch: '{branch}'
1443
1444 builders:
1445
1446 - provide-maven-settings:
1447 global-settings-file: 'global-settings'
1448 settings-file: '{mvn-settings}'
1449
1450 - inject:
1451 properties-file: version.properties
1452
1453 - maven-target:
1454 maven-version: '{maven-version}'
1455 pom: '{pom}'
1456 goals: 'versions:set versions:update-child-modules versions:commit -B'
1457 properties:
1458 - 'newVersion=${{release_version}}'
1459 settings: '{mvn-settings}'
1460 settings-type: cfp
1461 global-settings: 'global-settings'
1462 global-settings-type: cfp
1463
1464 - docker-login
1465
1466 - maven-target:
1467 maven-version: '{maven-version}'
1468 pom: '{pom}'
1469 goals: '{mvn-goals}'
1470 settings: '{mvn-settings}'
1471 settings-type: cfp
1472 global-settings: 'global-settings'
1473 global-settings-type: cfp
1474
1475 - shell: '{script}'
1476
1477 publishers:
1478 - infra-shiplogs:
1479 maven-version: '{maven-version}'
1480
1481- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001482 # Job template for building & pushing docker images
1483 #
1484 # The purpose of this job template is to run:
1485 # 1. login to the docker registry
1486 # 2. inject a version.properties file and set versions
1487 # 3. run a docker push
1488 #
1489 # Required Variables:
1490 # pom: name/location of the pom.xml file relative to the workspace
1491 # profile: the docker profile defined in the pom
1492 # maven-properties: properties passed to maven
1493
Patrick Brady39f388a2017-03-09 11:26:59 -08001494 name: '{project-name}-{stream}-docker-version-java-daily'
1495 project-type: freestyle
1496 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantalle903e732018-02-12 13:31:48 -08001497 disabled: false
Patrick Brady39f388a2017-03-09 11:26:59 -08001498 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001499 - infra-properties:
Patrick Brady39f388a2017-03-09 11:26:59 -08001500 build-days-to-keep: '{build-days-to-keep}'
1501
1502 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001503 - infra-parameters:
Patrick Brady39f388a2017-03-09 11:26:59 -08001504 project: '{project}'
1505 branch: '{branch}'
1506 refspec: 'refs/heads/{branch}'
1507 artifacts: '{archive-artifacts}'
1508 - maven-exec:
1509 maven-version: '{maven-version}'
1510
1511 scm:
1512 - gerrit-trigger-scm:
1513 refspec: ''
1514 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001515 submodule-recursive: '{submodule-recursive}'
Patrick Brady39f388a2017-03-09 11:26:59 -08001516
1517 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001518 - infra-wrappers:
Patrick Brady39f388a2017-03-09 11:26:59 -08001519 build-timeout: '{build-timeout}'
1520
1521 triggers:
1522 # 12 AM UTC
1523 - timed: 'H 12 * * *'
1524 - gerrit-trigger-release-manually:
1525 server: '{server-name}'
1526 project: '{project}'
1527 branch: '{branch}'
1528
1529 builders:
1530
1531 - provide-maven-settings:
1532 global-settings-file: 'global-settings'
1533 settings-file: '{mvn-settings}'
1534
1535 - inject:
1536 properties-file: version.properties
1537
1538 - maven-target:
1539 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001540 goals: 'versions:set versions:update-child-modules versions:commit -B'
Patrick Brady39f388a2017-03-09 11:26:59 -08001541 properties:
1542 - 'newVersion=${{release_version}}'
1543 settings: '{mvn-settings}'
1544 settings-type: cfp
1545 global-settings: 'global-settings'
1546 global-settings-type: cfp
1547
1548 - docker-login
1549
1550 - maven-docker-push-daily:
1551 maven-version: '{maven-version}'
1552 mvn-settings: '{mvn-settings}'
1553 pom: '{docker-pom}'
1554 # use default as mvn-profile if profile is not needed
1555 mvn-profile: '{mvn-profile}'
1556
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001557 publishers:
1558 - infra-shiplogs:
1559 maven-version: '{maven-version}'
1560
Patrick Brady39f388a2017-03-09 11:26:59 -08001561- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001562 # Job template for building & pushing docker images
1563 #
1564 # The purpose of this job template is to run:
1565 # 1. inject a version.properties file and set versions
1566 # 2. login to the docker registry
1567 # 3. run a docker push
1568 #
1569 # This job supports subprojects.
1570 #
1571 # Required Variables:
1572 # pom: name/location of the pom.xml file relative to the workspace
1573 # maven-properties: properties passed to maven
1574
Zhaoxing49773042017-10-13 17:14:35 +08001575 name: '{project-name}-{stream}-{subproject}-docker-version-java-daily'
1576 project-type: freestyle
1577 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantalle903e732018-02-12 13:31:48 -08001578 disabled: false
Zhaoxing49773042017-10-13 17:14:35 +08001579 properties:
1580 - infra-properties:
1581 build-days-to-keep: '{build-days-to-keep}'
1582
1583 parameters:
1584 - infra-parameters:
1585 project: '{project}'
1586 branch: '{branch}'
1587 refspec: 'refs/heads/{branch}'
1588 artifacts: '{archive-artifacts}'
1589 - maven-exec:
1590 maven-version: '{maven-version}'
1591
1592 scm:
1593 - gerrit-trigger-scm:
1594 refspec: ''
1595 choosing-strategy: 'default'
1596 submodule-recursive: '{submodule-recursive}'
1597
1598 wrappers:
1599 - infra-wrappers:
1600 build-timeout: '{build-timeout}'
1601
1602 triggers:
1603 # 12 AM UTC
1604 - timed: 'H 12 * * *'
1605 - gerrit-trigger-release-manually:
1606 server: '{server-name}'
1607 project: '{project}'
1608 branch: '{branch}'
1609
1610 builders:
1611
1612 - provide-maven-settings:
1613 global-settings-file: 'global-settings'
1614 settings-file: '{mvn-settings}'
1615
1616 - inject:
1617 properties-file: version.properties
1618
1619 - maven-target:
1620 maven-version: '{maven-version}'
1621 pom: '{pom}'
1622 goals: 'versions:set versions:update-child-modules versions:commit -B'
1623 properties:
1624 - 'newVersion=${{release_version}}'
1625 settings: '{mvn-settings}'
1626 settings-type: cfp
1627 global-settings: 'global-settings'
1628 global-settings-type: cfp
1629
1630 - docker-login
1631
1632 - maven-docker-push-daily:
1633 maven-version: '{maven-version}'
1634 pom: '{pom}'
1635 mvn-settings: '{mvn-settings}'
1636 pom: '{docker-pom}'
1637 # use default as mvn-profile if profile is not needed
1638 mvn-profile: '{mvn-profile}'
1639
1640 publishers:
1641 - infra-shiplogs:
1642 maven-version: '{maven-version}'
1643
1644- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001645 # Job template for building & pushing docker images for AAI specific repos
1646 #
1647 # The purpose of this job template is to run:
1648 # 1. login to the docker registry
1649 # 2. run maven goals
1650 # 3. run include-docker-push.sh
1651 #
1652 # Required Variables:
1653 # pom: name/location of the pom.xml file relative to the workspace
1654 # maven-properties: properties passed to maven
1655
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001656 name: '{project-name}-{stream}-aai-docker-java-daily'
1657 project-type: freestyle
1658 node: 'ubuntu1604-docker-8c-8g'
Gary Wudc3f2952017-08-23 16:48:59 -07001659 docker-image-name: ''
Jessica Wagantalle903e732018-02-12 13:31:48 -08001660 disabled: false
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001661 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001662 - infra-properties:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001663 build-days-to-keep: '{build-days-to-keep}'
1664
1665 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001666 - infra-parameters:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001667 project: '{project}'
1668 branch: '{branch}'
1669 refspec: 'refs/heads/{branch}'
1670 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001671 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001672 maven-version: '{maven-version}'
Gary Wudc3f2952017-08-23 16:48:59 -07001673 - docker-image-name:
1674 docker-image-name: '{docker-image-name}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001675
1676 scm:
1677 - gerrit-trigger-scm:
1678 refspec: ''
1679 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001680 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001681
1682 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001683 - infra-wrappers:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001684 build-timeout: '{build-timeout}'
1685
1686 triggers:
1687 # 12 AM UTC
1688 - timed: 'H 12 * * *'
1689 - gerrit-trigger-release-manually:
1690 server: '{server-name}'
1691 project: '{project}'
1692 branch: '{branch}'
1693
1694 builders:
1695
1696 - provide-maven-settings:
1697 global-settings-file: 'global-settings'
1698 settings-file: '{mvn-settings}'
1699
1700 - docker-login
1701
1702 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001703 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001704 pom: 'pom.xml'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001705 goals: 'clean install -DskipTests -B
1706 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001707 settings: '{mvn-settings}'
1708 settings-type: cfp
1709 global-settings: 'global-settings'
1710 global-settings-type: cfp
1711
1712 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001713 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001714 pom: '{pom}'
1715 goals: '{mvn-goals}'
1716 settings: '{mvn-settings}'
1717 settings-type: cfp
1718 global-settings: 'global-settings'
1719 global-settings-type: cfp
1720 properties:
1721 - maven.test.skip=true
Jeremy Phelps48028ab2017-03-28 15:38:24 -05001722 - docker.pull.registry=nexus3.onap.org:10001
1723 - docker.push.registry=nexus3.onap.org:10003
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001724
Venkata Harish K Kajurbf07d0a2017-03-26 11:58:15 +00001725 - shell: !include-raw-escape: include-docker-push.sh
Carsten Lund2d06a692017-02-23 18:23:07 +00001726
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001727 publishers:
1728 - infra-shiplogs:
1729 maven-version: '{maven-version}'
1730
Carsten Lund2d06a692017-02-23 18:23:07 +00001731- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001732 # Job template for building & pushing docker images for AAI specific repos
1733 #
1734 # The purpose of this job template is to run:
1735 # 1. login to the docker registry
1736 # 2. run maven goals
1737 # 3. run include-docker-push.sh
1738 #
1739 # This job supports subprojects
1740 #
1741 # Required Variables:
1742 # pom: name/location of the pom.xml file relative to the workspace
1743 # maven-properties: properties passed to maven
1744
Jessica Wagantallfec94482017-09-19 11:49:15 -07001745 name: '{project-name}-{stream}-{subproject}-aai-docker-java-daily'
1746 project-type: freestyle
1747 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantalle903e732018-02-12 13:31:48 -08001748 disabled: false
Jessica Wagantallfec94482017-09-19 11:49:15 -07001749 docker-image-name: ''
1750
1751 properties:
1752 - infra-properties:
1753 build-days-to-keep: '{build-days-to-keep}'
1754
1755 parameters:
1756 - infra-parameters:
1757 project: '{project}'
1758 branch: '{branch}'
1759 refspec: 'refs/heads/{branch}'
1760 artifacts: '{archive-artifacts}'
1761 - maven-exec:
1762 maven-version: '{maven-version}'
1763 - docker-image-name:
1764 docker-image-name: '{docker-image-name}'
1765
1766 scm:
1767 - gerrit-trigger-scm:
1768 refspec: ''
1769 choosing-strategy: 'default'
1770 submodule-recursive: '{submodule-recursive}'
1771
1772 wrappers:
1773 - infra-wrappers:
1774 build-timeout: '{build-timeout}'
1775
1776 triggers:
1777 # 12 AM UTC
1778 - timed: 'H 12 * * *'
1779 - gerrit-trigger-release-manually:
1780 server: '{server-name}'
1781 project: '{project}'
1782 branch: '{branch}'
1783
1784 builders:
1785
1786 - provide-maven-settings:
1787 global-settings-file: 'global-settings'
1788 settings-file: '{mvn-settings}'
1789
1790 - docker-login
1791
1792 - maven-target:
1793 maven-version: '{maven-version}'
1794 pom: 'pom.xml'
1795 goals: 'clean install -DskipTests -B
1796 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
1797 settings: '{mvn-settings}'
1798 settings-type: cfp
1799 global-settings: 'global-settings'
1800 global-settings-type: cfp
1801
1802 - maven-target:
1803 maven-version: '{maven-version}'
1804 pom: '{pom}'
1805 goals: '{mvn-goals}'
1806 settings: '{mvn-settings}'
1807 settings-type: cfp
1808 global-settings: 'global-settings'
1809 global-settings-type: cfp
1810 properties:
1811 - maven.test.skip=true
1812 - docker.pull.registry=nexus3.onap.org:10001
1813 - docker.push.registry=nexus3.onap.org:10003
1814
1815 - shell: !include-raw-escape: include-docker-push.sh
1816
1817 publishers:
1818 - infra-shiplogs:
1819 maven-version: '{maven-version}'
1820
1821- job-template:
Carsten Lund2d06a692017-02-23 18:23:07 +00001822 # Job template for Java daily release jobs
1823 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001824 # The purpose of this job template is to run:
1825 # 1. inject a version.properties file and set versions
1826 # 2. change version in all POM files to the release version specified
1827 # in version.properties. This is done using a script instread of
1828 # the mvn version plugin that assumes some specific parent structure
Carsten Lund2d06a692017-02-23 18:23:07 +00001829 #
1830 # The POM files are required to use the Maven staging plugin so the deploy
1831 # does not deploy directly to the release repo.
1832 #
1833 # Required Variables:
1834 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001835
Carsten Lund2d06a692017-02-23 18:23:07 +00001836 name: '{project-name}-{stream}-release-version2-java-daily'
1837
1838 project-type: freestyle
1839 node: '{build-node}'
Jessica Wagantalle903e732018-02-12 13:31:48 -08001840 disabled: false
Carsten Lund2d06a692017-02-23 18:23:07 +00001841 maven-deploy-properties:
1842 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001843 - infra-properties:
Carsten Lund2d06a692017-02-23 18:23:07 +00001844 build-days-to-keep: '{build-days-to-keep}'
1845
1846 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001847 - infra-parameters:
Carsten Lund2d06a692017-02-23 18:23:07 +00001848 project: '{project}'
1849 branch: '{branch}'
1850 refspec: 'refs/heads/{branch}'
1851 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001852 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001853 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001854
1855 scm:
1856 - gerrit-trigger-scm:
1857 refspec: ''
1858 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001859 submodule-recursive: '{submodule-recursive}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001860
1861 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001862 - infra-wrappers:
Carsten Lund2d06a692017-02-23 18:23:07 +00001863 build-timeout: '{build-timeout}'
1864
1865 triggers:
1866 # 11 AM UTC
1867 - timed: 'H 11 * * *'
1868 - gerrit-trigger-release-manually:
1869 server: '{server-name}'
1870 project: '{project}'
1871 branch: '{branch}'
1872
1873 builders:
1874 - provide-maven-settings:
1875 global-settings-file: 'global-settings'
1876 settings-file: '{mvn-settings}'
Andrew Grimbergb7f16152017-02-24 13:13:15 -08001877 - maven-install:
1878 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001879
1880 - inject:
1881 properties-file: version.properties
1882
1883 - shell: !include-raw-escape: include-update-pom-versions.sh
1884
1885 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001886 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -08001887 goals: 'clean deploy site:site site:stage-deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -04001888 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lund2d06a692017-02-23 18:23:07 +00001889 properties:
1890 - '{maven-deploy-properties}'
1891 settings: '{mvn-settings}'
1892 settings-type: cfp
1893 global-settings: 'global-settings'
1894 global-settings-type: cfp
1895
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001896 publishers:
1897 - infra-shiplogs:
1898 maven-version: '{maven-version}'
1899
Carsten Lund2d06a692017-02-23 18:23:07 +00001900- job-template:
1901 # Job template for Java daily release jobs
1902 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001903 # The purpose of this job template is to run:
1904 # 1. inject a version.properties file and set versions
1905 # 2. change version in all POM files to the release version specified
Carsten Lund2d06a692017-02-23 18:23:07 +00001906 # in version.properties. This is done using a script instread of
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001907 # the mvn version plugin that assumes some specific parent structure
Carsten Lund2d06a692017-02-23 18:23:07 +00001908 #
1909 # The POM files are required to use the Maven staging plugin so the deploy
1910 # does not deploy directly to the release repo.
1911 #
1912 # Required Variables:
1913 # branch: git branch (eg. stable/lithium or master)
1914 # pom: name/location of the pom.xml file relative to the workspace
1915 # pattern: ant file-path pattern relative to the workspace used to
1916 # trigger the job
1917
1918 name: '{project-name}-{stream}-{subproject}-release-version2-java-daily'
1919
1920 project-type: freestyle
1921 node: '{build-node}'
Jessica Wagantalle903e732018-02-12 13:31:48 -08001922 disabled: false
Carsten Lund2d06a692017-02-23 18:23:07 +00001923 maven-deploy-properties:
1924 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001925 - infra-properties:
Carsten Lund2d06a692017-02-23 18:23:07 +00001926 build-days-to-keep: '{build-days-to-keep}'
1927
1928 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001929 - infra-parameters:
Carsten Lund2d06a692017-02-23 18:23:07 +00001930 project: '{project}'
1931 branch: '{branch}'
1932 refspec: 'refs/heads/{branch}'
1933 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001934 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001935 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001936
1937 scm:
1938 - gerrit-trigger-scm:
1939 refspec: ''
1940 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001941 submodule-recursive: '{submodule-recursive}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001942
1943 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001944 - infra-wrappers:
Carsten Lund2d06a692017-02-23 18:23:07 +00001945 build-timeout: '{build-timeout}'
1946
1947 triggers:
1948 # 11 AM UTC
1949 - timed: 'H 11 * * *'
1950 - gerrit-trigger-release-manually:
1951 server: '{server-name}'
1952 project: '{project}'
1953 branch: '{branch}'
1954 files: '{pattern}'
1955
1956 builders:
1957 - provide-maven-settings:
1958 global-settings-file: 'global-settings'
1959 settings-file: '{mvn-settings}'
Andrew Grimbergb7f16152017-02-24 13:13:15 -08001960 - maven-install:
1961 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001962
1963 - inject:
1964 properties-file: version.properties
1965
1966 - shell: !include-raw-escape: include-update-pom-versions.sh
1967
1968 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001969 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001970 pom: '{pom}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -08001971 goals: 'clean deploy site:site site:stage-deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -04001972 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lund2d06a692017-02-23 18:23:07 +00001973 properties:
1974 - '{maven-deploy-properties}'
1975 settings: '{mvn-settings}'
1976 settings-type: cfp
1977 global-settings: 'global-settings'
1978 global-settings-type: cfp
Anaël Clossonadcb39d2017-03-10 15:39:09 +01001979
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001980 publishers:
1981 - infra-shiplogs:
1982 maven-version: '{maven-version}'
1983
Anaël Clossonadcb39d2017-03-10 15:39:09 +01001984- job-template:
Dan Timoneya44e0b42017-10-06 09:52:29 -04001985 # Job template for Java daily release jobs
1986 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001987 # The purpose of this job template is to run:
1988 # 1. inject a version.properties file and set versions
1989 # 2. change version in all POM files to the release version specified
Dan Timoneya44e0b42017-10-06 09:52:29 -04001990 # in version.properties. This is done using a script instread of
1991 # the mvn version plugin that assumes some specific parent structure
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001992 # This version does NOT change the version within the <parent> tag
Dan Timoneya44e0b42017-10-06 09:52:29 -04001993 #
1994 # The POM files are required to use the Maven staging plugin so the deploy
1995 # does not deploy directly to the release repo.
1996 #
1997 # Required Variables:
1998 # branch: git branch (eg. stable/lithium or master)
1999 # pom: name/location of the pom.xml file relative to the workspace
2000 # pattern: ant file-path pattern relative to the workspace used to
2001 # trigger the job
2002
2003 name: '{project-name}-{stream}-{subproject}-release-version3-java-daily'
2004
2005 project-type: freestyle
2006 node: '{build-node}'
Jessica Wagantalle903e732018-02-12 13:31:48 -08002007 disabled: false
Dan Timoneya44e0b42017-10-06 09:52:29 -04002008 maven-deploy-properties:
2009 properties:
2010 - infra-properties:
2011 build-days-to-keep: '{build-days-to-keep}'
2012
2013 parameters:
2014 - infra-parameters:
2015 project: '{project}'
2016 branch: '{branch}'
2017 refspec: 'refs/heads/{branch}'
2018 artifacts: '{archive-artifacts}'
2019 - maven-exec:
2020 maven-version: '{maven-version}'
2021
2022 scm:
2023 - gerrit-trigger-scm:
2024 refspec: ''
2025 choosing-strategy: 'default'
2026 submodule-recursive: '{submodule-recursive}'
2027
2028 wrappers:
2029 - infra-wrappers:
2030 build-timeout: '{build-timeout}'
2031
2032 triggers:
2033 # 11 AM UTC
2034 - timed: 'H 11 * * *'
2035 - gerrit-trigger-release-manually:
2036 server: '{server-name}'
2037 project: '{project}'
2038 branch: '{branch}'
2039 files: '{pattern}'
2040
2041 builders:
2042 - provide-maven-settings:
2043 global-settings-file: 'global-settings'
2044 settings-file: '{mvn-settings}'
2045 - maven-install:
2046 maven-version: '{maven-version}'
2047
2048 - inject:
2049 properties-file: version.properties
2050
2051 - shell: !include-raw-escape: include-update-pom-versions-not-parent.sh
2052
2053 - maven-target:
2054 maven-version: '{maven-version}'
2055 pom: '{pom}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -08002056 goals: 'clean deploy site:site site:stage-deploy -B
Dan Timoneya44e0b42017-10-06 09:52:29 -04002057 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
2058 properties:
2059 - '{maven-deploy-properties}'
2060 settings: '{mvn-settings}'
2061 settings-type: cfp
2062 global-settings: 'global-settings'
2063 global-settings-type: cfp
2064
2065 publishers:
2066 - infra-shiplogs:
2067 maven-version: '{maven-version}'
2068
2069- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002070 # Job template for Java merge jobs for SDC specific repos
ig61339fdb9d22017-04-03 17:47:19 +03002071 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002072 # The purpose of this job template is to run:
2073 # 1. maven clean deploy
ig61339fdb9d22017-04-03 17:47:19 +03002074 #
2075 # Required Variables:
2076 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002077
ig61339fdb9d22017-04-03 17:47:19 +03002078 name: '{project-name}-{stream}-sdc-merge-java'
2079
2080 project-type: freestyle
ig6133cb3f8232017-04-05 14:22:42 +03002081 node: 'ubuntu1604-docker-8c-8g'
ig61339fdb9d22017-04-03 17:47:19 +03002082
2083 properties:
2084 - infra-properties:
2085 build-days-to-keep: '{build-days-to-keep}'
2086
2087 parameters:
2088 - infra-parameters:
2089 project: '{project}'
2090 branch: '{branch}'
2091 refspec: 'refs/heads/{branch}'
2092 artifacts: '{archive-artifacts}'
2093 - maven-exec:
2094 maven-version: '{maven-version}'
2095
2096 scm:
2097 - gerrit-trigger-scm:
2098 refspec: ''
2099 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002100 submodule-recursive: '{submodule-recursive}'
ig61339fdb9d22017-04-03 17:47:19 +03002101
2102 wrappers:
2103 - infra-wrappers:
2104 build-timeout: '{build-timeout}'
2105
2106 triggers:
2107 - gerrit-trigger-patch-merged:
2108 server: '{server-name}'
2109 project: '{project}'
2110 branch: '{branch}'
2111 files: '**'
2112
2113 builders:
2114 - provide-maven-settings:
2115 global-settings-file: 'global-settings'
2116 settings-file: '{mvn-settings}'
ig61339fdb9d22017-04-03 17:47:19 +03002117
2118 - docker-login
2119
ig6133cb3f8232017-04-05 14:22:42 +03002120 - maven-docker-push-daily:
ig61339fdb9d22017-04-03 17:47:19 +03002121 maven-version: '{maven-version}'
ig6133cb3f8232017-04-05 14:22:42 +03002122 mvn-settings: '{mvn-settings}'
2123 pom: '{docker-pom}'
2124 # use default as mvn-profile if profile is not needed
2125 mvn-profile: '{mvn-profile}'
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07002126
2127 publishers:
2128 - infra-shiplogs:
2129 maven-version: '{maven-version}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002130
2131- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002132 # Job template for building & pushing docker images for AAI specific repos
2133 #
2134 # The purpose of this job template is to run:
2135 # 1. login to the docker registry
2136 # 2. run maven clean install goals skipping tests
2137 # 3. run maven goals
2138 #
2139 # Required Variables:
2140 # pom: name/location of the pom.xml file relative to the workspace
2141 # maven-properties: properties passed to maven
2142
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002143 name: '{project-name}-{stream}-aai-docker-java-version-daily'
2144 project-type: freestyle
2145 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantalle903e732018-02-12 13:31:48 -08002146 disabled: false
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002147 properties:
2148 - infra-properties:
2149 build-days-to-keep: '{build-days-to-keep}'
2150
2151 parameters:
2152 - infra-parameters:
2153 project: '{project}'
2154 branch: '{branch}'
2155 refspec: 'refs/heads/{branch}'
2156 artifacts: '{archive-artifacts}'
2157 - maven-exec:
2158 maven-version: '{maven-version}'
2159
2160 scm:
2161 - gerrit-trigger-scm:
2162 refspec: ''
2163 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002164 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002165
2166 wrappers:
2167 - infra-wrappers:
2168 build-timeout: '{build-timeout}'
2169
2170 triggers:
2171 # 12 AM UTC
2172 - timed: 'H 12 * * *'
2173 - gerrit-trigger-release-manually:
2174 server: '{server-name}'
2175 project: '{project}'
2176 branch: '{branch}'
2177
2178 builders:
2179
2180 - provide-maven-settings:
2181 global-settings-file: 'global-settings'
2182 settings-file: '{mvn-settings}'
2183
2184 - docker-login
2185
2186 - maven-target:
2187 maven-version: '{maven-version}'
2188 pom: 'pom.xml'
2189 goals: 'clean install -DskipTests -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
2190 settings: '{mvn-settings}'
2191 settings-type: cfp
2192 global-settings: 'global-settings'
2193 global-settings-type: cfp
2194
2195 - maven-target:
2196 maven-version: '{maven-version}'
2197 pom: '{pom}'
2198 goals: '{mvn-goals}'
2199 settings: '{mvn-settings}'
2200 settings-type: cfp
2201 global-settings: 'global-settings'
2202 global-settings-type: cfp
2203 properties:
2204 - maven.test.skip=true
2205 - docker.pull.registry=nexus3.onap.org:10001
2206 - docker.push.registry=nexus3.onap.org:10003
2207
2208 publishers:
2209 - infra-shiplogs:
2210 maven-version: '{maven-version}'
2211