blob: 210ed9b829ac556c38f4124c92f58a7bfc094b15 [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 Wagantall27a8a392018-03-16 17:22:11 -0700330 disabled: '{disabled}'
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 Wagantall27a8a392018-03-16 17:22:11 -0700402 disabled: '{disabled}'
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
Jessica Wagantall27a8a392018-03-16 17:22:11 -0700477 disabled: '{disabled}'
JulienBe5641aa02017-02-17 01:08:38 -0800478 node: '{build-node}'
479 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 Wagantall27a8a392018-03-16 17:22:11 -0700557 disabled: '{disabled}'
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 Wagantall27a8a392018-03-16 17:22:11 -0700639 disabled: '{disabled}'
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 Wagantall27a8a392018-03-16 17:22:11 -0700712 disabled: '{disabled}'
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:
Jessica Wagantall91685e12018-03-20 17:13:40 -0700780 # Job template for Java daily release jobs with POM not at the root
781 #
782 # The purpose of this job template is to run:
783 # 1. maven set versions
784 # 2. maven clean deploy with Sonar scans
785 #
786 # This job supports subprojects.
787 #
788 # Required Variables:
789 # branch: git branch (eg. stable/lithium or master)
790 # pom: name/location of the pom.xml file relative to the workspace
791
792 name: '{project-name}-{stream}-{subproject}-release-version-java-shell-daily'
793
794 project-type: freestyle
795 node: '{build-node}'
796 disabled: '{disabled}'
797 maven-deploy-properties:
798 properties:
799 - infra-properties:
800 build-days-to-keep: '{build-days-to-keep}'
801
802 parameters:
803 - infra-parameters:
804 project: '{project}'
805 branch: '{branch}'
806 refspec: 'refs/heads/{branch}'
807 artifacts: '{archive-artifacts}'
808 - maven-exec:
809 maven-version: '{maven-version}'
810
811 scm:
812 - gerrit-trigger-scm:
813 refspec: ''
814 choosing-strategy: 'default'
815 submodule-recursive: '{submodule-recursive}'
816
817 wrappers:
818 - infra-wrappers:
819 build-timeout: '{build-timeout}'
820
821 triggers:
822 # 11 AM UTC
823 - timed: 'H 11 * * *'
824 - gerrit-trigger-release-manually:
825 server: '{server-name}'
826 project: '{project}'
827 branch: '{branch}'
828
829 builders:
830 - provide-maven-settings:
831 global-settings-file: 'global-settings'
832 settings-file: '{mvn-settings}'
833
834 - inject:
835 properties-file: version.properties
836 - maven-target:
837 maven-version: '{maven-version}'
838 pom: '{pom}'
839 goals: 'versions:set versions:update-child-modules versions:commit -B'
840 properties:
841 - 'newVersion=${{release_version}}'
842 settings: '{mvn-settings}'
843 settings-type: cfp
844 global-settings: 'global-settings'
845 global-settings-type: cfp
846
847 - shell: '{script}'
848
849 - maven-target:
850 maven-version: '{maven-version}'
851 pom: '{pom}'
852 goals: 'clean deploy sonar:sonar -Dsonar.host.url=${{SONAR}} -B
853 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
854 properties:
855 - '{maven-deploy-properties}'
856 settings: '{mvn-settings}'
857 settings-type: cfp
858 global-settings: 'global-settings'
859 global-settings-type: cfp
860
861 publishers:
862 - infra-shiplogs:
863 maven-version: '{maven-version}'
864
865- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800866 # Job template for Java merge jobs
867 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800868 # The purpose of this job template is to run:
869 # 1. maven clean deploy
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800870 #
871 # Required Variables:
872 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800873
Andrew Grimbergce2286c2017-01-31 05:50:39 -0800874 name: '{project-name}-{stream}-merge-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800875
876 project-type: freestyle
877 node: '{build-node}'
878
879 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700880 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800881 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800882
883 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700884 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800885 project: '{project}'
886 branch: '{branch}'
887 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -0800888 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800889 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800890 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800891
892 scm:
893 - gerrit-trigger-scm:
894 refspec: ''
895 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500896 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800897
898 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700899 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800900 build-timeout: '{build-timeout}'
901
902 triggers:
903 - gerrit-trigger-patch-merged:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800904 server: '{server-name}'
905 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800906 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800907 files: '**'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800908
909 builders:
910 - provide-maven-settings:
911 global-settings-file: 'global-settings'
912 settings-file: '{mvn-settings}'
913 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800914 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400915 goals: 'clean deploy -B
916 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800917 settings: '{mvn-settings}'
918 settings-type: cfp
919 global-settings: 'global-settings'
920 global-settings-type: cfp
921
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700922 publishers:
923 - infra-shiplogs:
924 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800925
926- job-template:
JulienBea4868a62017-07-28 17:13:11 +0200927 # Job template for Java merge jobs based on
928 # '{project-name}-{stream}-merge-java'
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800929 # The purpose of this job template is to run:
930 # 1. maven clean deploy
931 #
932 # This project supports maven properties.
JulienBea4868a62017-07-28 17:13:11 +0200933 #
934 # Required Variables:
935 # branch: git branch (eg. stable/lithium or master)
936 # maven-properties: properties passed to maven
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800937
JulienBea4868a62017-07-28 17:13:11 +0200938 name: '{project-name}-{stream}-merge-properties-java'
939
940 project-type: freestyle
941 node: '{build-node}'
942
943 properties:
944 - infra-properties:
945 build-days-to-keep: '{build-days-to-keep}'
946
947 parameters:
948 - infra-parameters:
949 project: '{project}'
950 branch: '{branch}'
951 refspec: 'refs/heads/{branch}'
952 artifacts: '{archive-artifacts}'
953 - maven-exec:
954 maven-version: '{maven-version}'
955
956 scm:
957 - gerrit-trigger-scm:
958 refspec: ''
959 choosing-strategy: 'default'
960 submodule-recursive: '{submodule-recursive}'
961
962 wrappers:
963 - infra-wrappers:
964 build-timeout: '{build-timeout}'
965
966 triggers:
967 - gerrit-trigger-patch-merged:
968 server: '{server-name}'
969 project: '{project}'
970 branch: '{branch}'
971 files: '**'
972
973 builders:
974 - provide-maven-settings:
975 global-settings-file: 'global-settings'
976 settings-file: '{mvn-settings}'
977 - maven-target:
978 maven-version: '{maven-version}'
979 goals: 'clean deploy -B
980 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
981 settings: '{mvn-settings}'
982 settings-type: cfp
983 global-settings: 'global-settings'
984 global-settings-type: cfp
JulienBec9d90e22017-08-08 10:44:10 +0200985 properties: '{obj:mvn_properties}'
JulienBea4868a62017-07-28 17:13:11 +0200986
987 publishers:
988 - infra-shiplogs:
989 maven-version: '{maven-version}'
990
991- job-template:
JulienBeef823f12017-04-12 04:52:40 -0700992 # Job template for Java merge jobs that takes a maven template
993 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800994 # The purpose of this job template is to run:
995 # 1. maven clean deploy -P {mvn-profile}
JulienBeef823f12017-04-12 04:52:40 -0700996 #
997 # Required Variables:
998 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800999
JulienBeef823f12017-04-12 04:52:40 -07001000 name: '{project-name}-{stream}-merge-profile-java'
1001
1002 project-type: freestyle
1003 node: '{build-node}'
1004
1005 properties:
1006 - infra-properties:
1007 build-days-to-keep: '{build-days-to-keep}'
1008
1009 parameters:
1010 - infra-parameters:
1011 project: '{project}'
1012 branch: '{branch}'
1013 refspec: 'refs/heads/{branch}'
1014 artifacts: '{archive-artifacts}'
1015 - maven-exec:
1016 maven-version: '{maven-version}'
1017
1018 scm:
1019 - gerrit-trigger-scm:
1020 refspec: ''
1021 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001022 submodule-recursive: '{submodule-recursive}'
JulienBeef823f12017-04-12 04:52:40 -07001023
1024 wrappers:
1025 - infra-wrappers:
1026 build-timeout: '{build-timeout}'
1027
1028 triggers:
1029 - gerrit-trigger-patch-merged:
1030 server: '{server-name}'
1031 project: '{project}'
1032 branch: '{branch}'
1033 files: '**'
1034
1035 builders:
1036 - provide-maven-settings:
1037 global-settings-file: 'global-settings'
1038 settings-file: '{mvn-settings}'
Determe, Sebastien (sd378r)62e4e662017-04-26 08:00:00 -07001039
1040 - docker-login
1041
JulienBeef823f12017-04-12 04:52:40 -07001042 - maven-target:
1043 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001044 goals: 'clean deploy -P {mvn-profile} -B
1045 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBeef823f12017-04-12 04:52:40 -07001046 settings: '{mvn-settings}'
1047 settings-type: cfp
1048 global-settings: 'global-settings'
1049 global-settings-type: cfp
Determe, Sebastien (sd378r)345956b2017-04-28 08:45:52 -07001050 properties:
1051 - docker.pull.registry=nexus3.onap.org:10001
1052 - docker.push.registry=nexus3.onap.org:10003
JulienBeef823f12017-04-12 04:52:40 -07001053
1054 publishers:
1055 - infra-shiplogs:
1056 maven-version: '{maven-version}'
1057
1058- job-template:
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001059 # Job template for Java merge jobs that should also be triggered by upstream
1060 # merges
1061 #
1062 # Required Variables:
1063 # stream: release stream
1064 # branch: git branch
1065 # dependencies: fully qualified upstream job name to trigger on
1066 # this may be ''
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001067
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001068 name: '{project-name}-{stream}-downstream-merge-java'
1069
1070 project-type: freestyle
1071 node: '{build-node}'
1072
1073 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001074 - infra-properties:
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001075 build-days-to-keep: '{build-days-to-keep}'
1076
1077 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001078 - infra-parameters:
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001079 project: '{project}'
1080 branch: '{branch}'
1081 refspec: 'refs/heads/{branch}'
1082 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001083 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001084 maven-version: '{maven-version}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001085
1086 scm:
1087 - gerrit-trigger-scm:
1088 refspec: ''
1089 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001090 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001091
1092 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001093 - infra-wrappers:
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001094 build-timeout: '{build-timeout}'
1095
1096 triggers:
1097 - reverse:
1098 jobs: '{dependencies}'
1099 result: 'success'
1100 - gerrit-trigger-patch-merged:
1101 server: '{server-name}'
1102 project: '{project}'
1103 branch: '{branch}'
1104 files: '**'
1105
1106 builders:
1107 - provide-maven-settings:
1108 global-settings-file: 'global-settings'
1109 settings-file: '{mvn-settings}'
1110 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001111 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001112 goals: 'clean deploy -B
1113 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001114 settings: '{mvn-settings}'
1115 settings-type: cfp
1116 global-settings: 'global-settings'
1117 global-settings-type: cfp
1118
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001119 publishers:
1120 - infra-shiplogs:
1121 maven-version: '{maven-version}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001122
1123- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001124 # Job template for Java merge jobs with POM not at the root
1125 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001126 # The purpose of this job template is to run:
1127 # 1. maven clean deploy
1128 #
1129 # This job supports subprojects.
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001130 #
1131 # Required Variables:
1132 # branch: git branch (eg. stable/lithium or master)
1133 # pom: name/location of the pom.xml file relative to the workspace
1134 # pattern: ant file-path pattern relative to the workspace used to
1135 # trigger the job
1136
Andrew Grimbergce2286c2017-01-31 05:50:39 -08001137 name: '{project-name}-{stream}-{subproject}-merge-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001138
1139 project-type: freestyle
1140 node: '{build-node}'
1141
1142 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001143 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001144 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001145
1146 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001147 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001148 project: '{project}'
1149 branch: '{branch}'
1150 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -08001151 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001152 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001153 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001154
1155 scm:
1156 - gerrit-trigger-scm:
1157 refspec: ''
1158 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001159 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001160
1161 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001162 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001163 build-timeout: '{build-timeout}'
1164
1165 triggers:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001166 - gerrit-trigger-patch-merged:
1167 server: '{server-name}'
1168 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001169 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001170 files: '{pattern}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001171
1172 builders:
1173 - provide-maven-settings:
1174 global-settings-file: 'global-settings'
1175 settings-file: '{mvn-settings}'
1176 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001177 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001178 pom: '{pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001179 goals: 'clean deploy -B
1180 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001181 settings: '{mvn-settings}'
1182 settings-type: cfp
1183 global-settings: 'global-settings'
1184 global-settings-type: cfp
1185
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001186 publishers:
1187 - infra-shiplogs:
1188 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001189
1190- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001191 # Job template for Docker daily jobs
1192 #
1193 # The purpose of this job template is to run:
1194 # 1. login to the docker registry
1195 # 2. docker push
1196 #
1197 # Required Variables:
1198 # branch: git branch (eg. stable/lithium or master)
1199
Anaël Clossonabbafb52017-02-09 17:55:10 +01001200 name: '{project-name}-{stream}-docker-java-daily'
1201 project-type: freestyle
Andrew Grimberg2137b1d2017-02-15 07:24:53 -08001202 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001203 disabled: '{disabled}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001204 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001205 - infra-properties:
Anaël Clossonabbafb52017-02-09 17:55:10 +01001206 build-days-to-keep: '{build-days-to-keep}'
1207
1208 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001209 - infra-parameters:
Anaël Clossonabbafb52017-02-09 17:55:10 +01001210 project: '{project}'
1211 branch: '{branch}'
1212 refspec: 'refs/heads/{branch}'
1213 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001214 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001215 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001216
1217 scm:
1218 - gerrit-trigger-scm:
1219 refspec: ''
1220 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001221 submodule-recursive: '{submodule-recursive}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001222
Anaël Clossonabbafb52017-02-09 17:55:10 +01001223 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001224 - infra-wrappers:
Anaël Clossonabbafb52017-02-09 17:55:10 +01001225 build-timeout: '{build-timeout}'
1226
1227 triggers:
JulienBe0d8c2c32017-02-16 11:50:48 -08001228 # 12 AM UTC
Anaël Clossonabbafb52017-02-09 17:55:10 +01001229 - timed: 'H 12 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -08001230 - gerrit-trigger-release-manually:
1231 server: '{server-name}'
1232 project: '{project}'
1233 branch: '{branch}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001234
1235 builders:
Anaël Closson63e090e2017-02-15 14:50:45 +01001236
Anaël Clossonabbafb52017-02-09 17:55:10 +01001237 - provide-maven-settings:
1238 global-settings-file: 'global-settings'
1239 settings-file: '{mvn-settings}'
Anaël Closson7313fea2017-02-14 15:56:21 +01001240
Anaël Closson63e090e2017-02-15 14:50:45 +01001241 - docker-login
1242
Anaël Clossonabbafb52017-02-09 17:55:10 +01001243 - maven-docker-push-daily:
Andrew Grimberge2465882017-02-24 12:38:05 -08001244 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001245 mvn-settings: '{mvn-settings}'
1246 pom: '{docker-pom}'
Anaël Closson30a5c772017-02-16 15:02:56 +01001247 # use default as mvn-profile if profile is not needed
1248 mvn-profile: '{mvn-profile}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001249
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001250 publishers:
1251 - infra-shiplogs:
1252 maven-version: '{maven-version}'
1253
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001254- job-template:
JulienBe91c56ec2017-06-21 23:37:39 +02001255 # Job template for building & pushing docker images
1256 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001257 # The purpose of this job template is to run:
JulienBe91c56ec2017-06-21 23:37:39 +02001258 # 1. login to the docker registry
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001259 # 2. maven clean deploy on the specified profile
1260 #
1261 # This job uses a conditional regex match step to set versions.
1262 # This template supports maven properties.
JulienBe91c56ec2017-06-21 23:37:39 +02001263 #
1264 # Required Variables:
1265 # pom: name/location of the pom.xml file relative to the workspace
1266 # profile: the docker profile defined in the pom
1267 # maven-properties: properties passed to maven
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001268
JulienBe91c56ec2017-06-21 23:37:39 +02001269 name: '{project-name}-{stream}-docker-java-properties-daily'
1270 project-type: freestyle
1271 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001272 disabled: '{disabled}'
JulienBe91c56ec2017-06-21 23:37:39 +02001273 properties:
1274 - infra-properties:
1275 build-days-to-keep: '{build-days-to-keep}'
1276 parameters:
1277 - infra-parameters:
1278 project: '{project}'
1279 branch: '{branch}'
1280 refspec: 'refs/heads/{branch}'
1281 artifacts: '{archive-artifacts}'
1282 - maven-exec:
1283 maven-version: '{maven-version}'
1284 scm:
1285 - gerrit-trigger-scm:
1286 refspec: ''
1287 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001288 submodule-recursive: '{submodule-recursive}'
JulienBe91c56ec2017-06-21 23:37:39 +02001289 wrappers:
1290 - infra-wrappers:
1291 build-timeout: '{build-timeout}'
1292 triggers:
1293 # 12 AM UTC
1294 - timed: 'H 12 * * *'
1295 - gerrit-trigger-release-manually:
1296 server: '{server-name}'
1297 project: '{project}'
1298 branch: '{branch}'
1299 builders:
1300 - provide-maven-settings:
1301 global-settings-file: 'global-settings'
1302 settings-file: '{mvn-settings}'
JulienBecda17972017-10-17 13:46:51 +02001303 - conditional-step:
1304 condition-kind: regex-match
1305 regex: DoSetVersion
1306 label: '{setVersion}'
1307 steps:
1308 - inject:
1309 properties-file: version.properties
1310 - maven-target:
1311 maven-version: '{maven-version}'
1312 goals: 'versions:set versions:update-child-modules versions:commit -B'
1313 properties:
1314 - 'newVersion=${{release_version}}'
1315 settings: '{mvn-settings}'
1316 settings-type: cfp
1317 global-settings: 'global-settings'
1318 global-settings-type: cfp
JulienBe91c56ec2017-06-21 23:37:39 +02001319 - docker-login
1320 - maven-docker-push-daily:
1321 maven-version: '{maven-version}'
1322 mvn-settings: '{mvn-settings}'
1323 pom: '{docker-pom}'
1324 properties: '{maven-properties}'
1325 # use default as mvn-profile if profile is not needed
1326 mvn-profile: '{mvn-profile}'
1327 publishers:
1328 - infra-shiplogs:
1329 maven-version: '{maven-version}'
1330
1331- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001332 # Job template for building & pushing docker images
1333 #
1334 # The purpose of this job template is to run:
1335 # 1. login to the docker registry
1336 # 2. run a specified shell builder
1337 #
1338 # Required Variables:
1339 # pom: name/location of the pom.xml file relative to the workspace
1340 # maven-properties: properties passed to maven
1341
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001342 name: '{project-name}-{stream}-docker-java-shell-daily'
1343 project-type: freestyle
1344 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001345 disabled: '{disabled}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001346 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001347 - infra-properties:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001348 build-days-to-keep: '{build-days-to-keep}'
1349
1350 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001351 - infra-parameters:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001352 project: '{project}'
1353 branch: '{branch}'
1354 refspec: 'refs/heads/{branch}'
1355 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001356 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001357 maven-version: '{maven-version}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001358
1359 scm:
1360 - gerrit-trigger-scm:
1361 refspec: ''
1362 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001363 submodule-recursive: '{submodule-recursive}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001364
1365 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001366 - infra-wrappers:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001367 build-timeout: '{build-timeout}'
1368
1369 triggers:
1370 # 12 AM UTC
1371 - timed: 'H 12 * * *'
1372 - gerrit-trigger-release-manually:
1373 server: '{server-name}'
1374 project: '{project}'
1375 branch: '{branch}'
1376
1377 builders:
1378
1379 - provide-maven-settings:
1380 global-settings-file: 'global-settings'
1381 settings-file: '{mvn-settings}'
1382
1383 - docker-login
1384
Pamela Dragosh366fbc32017-02-19 20:09:09 -05001385 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001386 maven-version: '{maven-version}'
Pamela Dragosh366fbc32017-02-19 20:09:09 -05001387 goals: '{mvn-goals}'
1388 settings: '{mvn-settings}'
1389 settings-type: cfp
1390 global-settings: 'global-settings'
1391 global-settings-type: cfp
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001392
1393 - shell: '{script}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001394
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001395 publishers:
1396 - infra-shiplogs:
1397 maven-version: '{maven-version}'
1398
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001399- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001400 # Job template for building & pushing docker images
1401 #
1402 # The purpose of this job template is to run:
1403 # 1. login to the docker registry
1404 # 2. inject a version.properties file and set versions
1405 # 3. run a specified shell builder
1406 #
1407 # Required Variables:
1408 # pom: name/location of the pom.xml file relative to the workspace
1409 # maven-properties: properties passed to maven
1410
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001411 name: '{project-name}-{stream}-docker-java-version-shell-daily'
1412 project-type: freestyle
1413 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001414 disabled: '{disabled}'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001415 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001416 - infra-properties:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001417 build-days-to-keep: '{build-days-to-keep}'
1418
1419 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001420 - infra-parameters:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001421 project: '{project}'
1422 branch: '{branch}'
1423 refspec: 'refs/heads/{branch}'
1424 artifacts: '{archive-artifacts}'
1425 - maven-exec:
1426 maven-version: '{maven-version}'
1427
1428 scm:
1429 - gerrit-trigger-scm:
1430 refspec: ''
1431 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001432 submodule-recursive: '{submodule-recursive}'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001433
1434 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001435 - infra-wrappers:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001436 build-timeout: '{build-timeout}'
1437
1438 triggers:
1439 # 12 AM UTC
1440 - timed: 'H 12 * * *'
1441 - gerrit-trigger-release-manually:
1442 server: '{server-name}'
1443 project: '{project}'
1444 branch: '{branch}'
1445
1446 builders:
1447
1448 - provide-maven-settings:
1449 global-settings-file: 'global-settings'
1450 settings-file: '{mvn-settings}'
1451
1452 - inject:
1453 properties-file: version.properties
1454
1455 - maven-target:
1456 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001457 goals: 'versions:set versions:update-child-modules versions:commit -B'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001458 properties:
1459 - 'newVersion=${{release_version}}'
1460 settings: '{mvn-settings}'
1461 settings-type: cfp
1462 global-settings: 'global-settings'
1463 global-settings-type: cfp
1464
1465 - docker-login
1466
1467 - maven-target:
1468 maven-version: '{maven-version}'
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
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001477 publishers:
1478 - infra-shiplogs:
1479 maven-version: '{maven-version}'
1480
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001481- 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 specified shell builder
1488 #
1489 # This template supports subprojects.
1490 #
1491 # Required Variables:
1492 # pom: name/location of the pom.xml file relative to the workspace
1493 # maven-properties: properties passed to maven
1494
Zhaoxing49773042017-10-13 17:14:35 +08001495 name: '{project-name}-{stream}-{subproject}-docker-java-version-shell-daily'
1496 project-type: freestyle
1497 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001498 disabled: '{disabled}'
Zhaoxing49773042017-10-13 17:14:35 +08001499 properties:
1500 - infra-properties:
1501 build-days-to-keep: '{build-days-to-keep}'
1502
1503 parameters:
1504 - infra-parameters:
1505 project: '{project}'
1506 branch: '{branch}'
1507 refspec: 'refs/heads/{branch}'
1508 artifacts: '{archive-artifacts}'
1509 - maven-exec:
1510 maven-version: '{maven-version}'
1511
1512 scm:
1513 - gerrit-trigger-scm:
1514 refspec: ''
1515 choosing-strategy: 'default'
1516 submodule-recursive: '{submodule-recursive}'
1517
1518 wrappers:
1519 - infra-wrappers:
1520 build-timeout: '{build-timeout}'
1521
1522 triggers:
1523 # 12 AM UTC
1524 - timed: 'H 12 * * *'
1525 - gerrit-trigger-release-manually:
1526 server: '{server-name}'
1527 project: '{project}'
1528 branch: '{branch}'
1529
1530 builders:
1531
1532 - provide-maven-settings:
1533 global-settings-file: 'global-settings'
1534 settings-file: '{mvn-settings}'
1535
1536 - inject:
1537 properties-file: version.properties
1538
1539 - maven-target:
1540 maven-version: '{maven-version}'
1541 pom: '{pom}'
1542 goals: 'versions:set versions:update-child-modules versions:commit -B'
1543 properties:
1544 - 'newVersion=${{release_version}}'
1545 settings: '{mvn-settings}'
1546 settings-type: cfp
1547 global-settings: 'global-settings'
1548 global-settings-type: cfp
1549
1550 - docker-login
1551
1552 - maven-target:
1553 maven-version: '{maven-version}'
1554 pom: '{pom}'
1555 goals: '{mvn-goals}'
1556 settings: '{mvn-settings}'
1557 settings-type: cfp
1558 global-settings: 'global-settings'
1559 global-settings-type: cfp
1560
1561 - shell: '{script}'
1562
1563 publishers:
1564 - infra-shiplogs:
1565 maven-version: '{maven-version}'
1566
1567- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001568 # Job template for building & pushing docker images
1569 #
1570 # The purpose of this job template is to run:
1571 # 1. login to the docker registry
1572 # 2. inject a version.properties file and set versions
1573 # 3. run a docker push
1574 #
1575 # Required Variables:
1576 # pom: name/location of the pom.xml file relative to the workspace
1577 # profile: the docker profile defined in the pom
1578 # maven-properties: properties passed to maven
1579
Patrick Brady39f388a2017-03-09 11:26:59 -08001580 name: '{project-name}-{stream}-docker-version-java-daily'
1581 project-type: freestyle
1582 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001583 disabled: '{disabled}'
Patrick Brady39f388a2017-03-09 11:26:59 -08001584 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001585 - infra-properties:
Patrick Brady39f388a2017-03-09 11:26:59 -08001586 build-days-to-keep: '{build-days-to-keep}'
1587
1588 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001589 - infra-parameters:
Patrick Brady39f388a2017-03-09 11:26:59 -08001590 project: '{project}'
1591 branch: '{branch}'
1592 refspec: 'refs/heads/{branch}'
1593 artifacts: '{archive-artifacts}'
1594 - maven-exec:
1595 maven-version: '{maven-version}'
1596
1597 scm:
1598 - gerrit-trigger-scm:
1599 refspec: ''
1600 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001601 submodule-recursive: '{submodule-recursive}'
Patrick Brady39f388a2017-03-09 11:26:59 -08001602
1603 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001604 - infra-wrappers:
Patrick Brady39f388a2017-03-09 11:26:59 -08001605 build-timeout: '{build-timeout}'
1606
1607 triggers:
1608 # 12 AM UTC
1609 - timed: 'H 12 * * *'
1610 - gerrit-trigger-release-manually:
1611 server: '{server-name}'
1612 project: '{project}'
1613 branch: '{branch}'
1614
1615 builders:
1616
1617 - provide-maven-settings:
1618 global-settings-file: 'global-settings'
1619 settings-file: '{mvn-settings}'
1620
1621 - inject:
1622 properties-file: version.properties
1623
1624 - maven-target:
1625 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001626 goals: 'versions:set versions:update-child-modules versions:commit -B'
Patrick Brady39f388a2017-03-09 11:26:59 -08001627 properties:
1628 - 'newVersion=${{release_version}}'
1629 settings: '{mvn-settings}'
1630 settings-type: cfp
1631 global-settings: 'global-settings'
1632 global-settings-type: cfp
1633
1634 - docker-login
1635
1636 - maven-docker-push-daily:
1637 maven-version: '{maven-version}'
1638 mvn-settings: '{mvn-settings}'
1639 pom: '{docker-pom}'
1640 # use default as mvn-profile if profile is not needed
1641 mvn-profile: '{mvn-profile}'
1642
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001643 publishers:
1644 - infra-shiplogs:
1645 maven-version: '{maven-version}'
1646
Patrick Brady39f388a2017-03-09 11:26:59 -08001647- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001648 # Job template for building & pushing docker images
1649 #
1650 # The purpose of this job template is to run:
1651 # 1. inject a version.properties file and set versions
1652 # 2. login to the docker registry
1653 # 3. run a docker push
1654 #
1655 # This job supports subprojects.
1656 #
1657 # Required Variables:
1658 # pom: name/location of the pom.xml file relative to the workspace
1659 # maven-properties: properties passed to maven
1660
Zhaoxing49773042017-10-13 17:14:35 +08001661 name: '{project-name}-{stream}-{subproject}-docker-version-java-daily'
1662 project-type: freestyle
1663 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001664 disabled: '{disabled}'
Zhaoxing49773042017-10-13 17:14:35 +08001665 properties:
1666 - infra-properties:
1667 build-days-to-keep: '{build-days-to-keep}'
1668
1669 parameters:
1670 - infra-parameters:
1671 project: '{project}'
1672 branch: '{branch}'
1673 refspec: 'refs/heads/{branch}'
1674 artifacts: '{archive-artifacts}'
1675 - maven-exec:
1676 maven-version: '{maven-version}'
1677
1678 scm:
1679 - gerrit-trigger-scm:
1680 refspec: ''
1681 choosing-strategy: 'default'
1682 submodule-recursive: '{submodule-recursive}'
1683
1684 wrappers:
1685 - infra-wrappers:
1686 build-timeout: '{build-timeout}'
1687
1688 triggers:
1689 # 12 AM UTC
1690 - timed: 'H 12 * * *'
1691 - gerrit-trigger-release-manually:
1692 server: '{server-name}'
1693 project: '{project}'
1694 branch: '{branch}'
1695
1696 builders:
1697
1698 - provide-maven-settings:
1699 global-settings-file: 'global-settings'
1700 settings-file: '{mvn-settings}'
1701
1702 - inject:
1703 properties-file: version.properties
1704
1705 - maven-target:
1706 maven-version: '{maven-version}'
1707 pom: '{pom}'
1708 goals: 'versions:set versions:update-child-modules versions:commit -B'
1709 properties:
1710 - 'newVersion=${{release_version}}'
1711 settings: '{mvn-settings}'
1712 settings-type: cfp
1713 global-settings: 'global-settings'
1714 global-settings-type: cfp
1715
1716 - docker-login
1717
1718 - maven-docker-push-daily:
1719 maven-version: '{maven-version}'
1720 pom: '{pom}'
1721 mvn-settings: '{mvn-settings}'
1722 pom: '{docker-pom}'
1723 # use default as mvn-profile if profile is not needed
1724 mvn-profile: '{mvn-profile}'
1725
1726 publishers:
1727 - infra-shiplogs:
1728 maven-version: '{maven-version}'
1729
1730- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001731 # Job template for building & pushing docker images for AAI specific repos
1732 #
1733 # The purpose of this job template is to run:
1734 # 1. login to the docker registry
1735 # 2. run maven goals
1736 # 3. run include-docker-push.sh
1737 #
1738 # Required Variables:
1739 # pom: name/location of the pom.xml file relative to the workspace
1740 # maven-properties: properties passed to maven
1741
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001742 name: '{project-name}-{stream}-aai-docker-java-daily'
1743 project-type: freestyle
1744 node: 'ubuntu1604-docker-8c-8g'
Gary Wudc3f2952017-08-23 16:48:59 -07001745 docker-image-name: ''
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001746 disabled: '{disabled}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001747 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001748 - infra-properties:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001749 build-days-to-keep: '{build-days-to-keep}'
1750
1751 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001752 - infra-parameters:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001753 project: '{project}'
1754 branch: '{branch}'
1755 refspec: 'refs/heads/{branch}'
1756 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001757 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001758 maven-version: '{maven-version}'
Gary Wudc3f2952017-08-23 16:48:59 -07001759 - docker-image-name:
1760 docker-image-name: '{docker-image-name}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001761
1762 scm:
1763 - gerrit-trigger-scm:
1764 refspec: ''
1765 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001766 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001767
1768 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001769 - infra-wrappers:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001770 build-timeout: '{build-timeout}'
1771
1772 triggers:
1773 # 12 AM UTC
1774 - timed: 'H 12 * * *'
1775 - gerrit-trigger-release-manually:
1776 server: '{server-name}'
1777 project: '{project}'
1778 branch: '{branch}'
1779
1780 builders:
1781
1782 - provide-maven-settings:
1783 global-settings-file: 'global-settings'
1784 settings-file: '{mvn-settings}'
1785
1786 - docker-login
1787
1788 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001789 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001790 pom: 'pom.xml'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001791 goals: 'clean install -DskipTests -B
1792 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001793 settings: '{mvn-settings}'
1794 settings-type: cfp
1795 global-settings: 'global-settings'
1796 global-settings-type: cfp
1797
1798 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001799 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001800 pom: '{pom}'
1801 goals: '{mvn-goals}'
1802 settings: '{mvn-settings}'
1803 settings-type: cfp
1804 global-settings: 'global-settings'
1805 global-settings-type: cfp
1806 properties:
1807 - maven.test.skip=true
Jeremy Phelps48028ab2017-03-28 15:38:24 -05001808 - docker.pull.registry=nexus3.onap.org:10001
1809 - docker.push.registry=nexus3.onap.org:10003
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001810
Venkata Harish K Kajurbf07d0a2017-03-26 11:58:15 +00001811 - shell: !include-raw-escape: include-docker-push.sh
Carsten Lund2d06a692017-02-23 18:23:07 +00001812
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001813 publishers:
1814 - infra-shiplogs:
1815 maven-version: '{maven-version}'
1816
Carsten Lund2d06a692017-02-23 18:23:07 +00001817- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001818 # Job template for building & pushing docker images for AAI specific repos
1819 #
1820 # The purpose of this job template is to run:
1821 # 1. login to the docker registry
1822 # 2. run maven goals
1823 # 3. run include-docker-push.sh
1824 #
1825 # This job supports subprojects
1826 #
1827 # Required Variables:
1828 # pom: name/location of the pom.xml file relative to the workspace
1829 # maven-properties: properties passed to maven
1830
Jessica Wagantallfec94482017-09-19 11:49:15 -07001831 name: '{project-name}-{stream}-{subproject}-aai-docker-java-daily'
1832 project-type: freestyle
1833 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001834 disabled: '{disabled}'
Jessica Wagantallfec94482017-09-19 11:49:15 -07001835 docker-image-name: ''
1836
1837 properties:
1838 - infra-properties:
1839 build-days-to-keep: '{build-days-to-keep}'
1840
1841 parameters:
1842 - infra-parameters:
1843 project: '{project}'
1844 branch: '{branch}'
1845 refspec: 'refs/heads/{branch}'
1846 artifacts: '{archive-artifacts}'
1847 - maven-exec:
1848 maven-version: '{maven-version}'
1849 - docker-image-name:
1850 docker-image-name: '{docker-image-name}'
1851
1852 scm:
1853 - gerrit-trigger-scm:
1854 refspec: ''
1855 choosing-strategy: 'default'
1856 submodule-recursive: '{submodule-recursive}'
1857
1858 wrappers:
1859 - infra-wrappers:
1860 build-timeout: '{build-timeout}'
1861
1862 triggers:
1863 # 12 AM UTC
1864 - timed: 'H 12 * * *'
1865 - gerrit-trigger-release-manually:
1866 server: '{server-name}'
1867 project: '{project}'
1868 branch: '{branch}'
1869
1870 builders:
1871
1872 - provide-maven-settings:
1873 global-settings-file: 'global-settings'
1874 settings-file: '{mvn-settings}'
1875
1876 - docker-login
1877
1878 - maven-target:
1879 maven-version: '{maven-version}'
1880 pom: 'pom.xml'
1881 goals: 'clean install -DskipTests -B
1882 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
1883 settings: '{mvn-settings}'
1884 settings-type: cfp
1885 global-settings: 'global-settings'
1886 global-settings-type: cfp
1887
1888 - maven-target:
1889 maven-version: '{maven-version}'
1890 pom: '{pom}'
1891 goals: '{mvn-goals}'
1892 settings: '{mvn-settings}'
1893 settings-type: cfp
1894 global-settings: 'global-settings'
1895 global-settings-type: cfp
1896 properties:
1897 - maven.test.skip=true
1898 - docker.pull.registry=nexus3.onap.org:10001
1899 - docker.push.registry=nexus3.onap.org:10003
1900
1901 - shell: !include-raw-escape: include-docker-push.sh
1902
1903 publishers:
1904 - infra-shiplogs:
1905 maven-version: '{maven-version}'
1906
1907- job-template:
Carsten Lund2d06a692017-02-23 18:23:07 +00001908 # Job template for Java daily release jobs
1909 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001910 # The purpose of this job template is to run:
1911 # 1. inject a version.properties file and set versions
1912 # 2. change version in all POM files to the release version specified
1913 # in version.properties. This is done using a script instread of
1914 # the mvn version plugin that assumes some specific parent structure
Carsten Lund2d06a692017-02-23 18:23:07 +00001915 #
1916 # The POM files are required to use the Maven staging plugin so the deploy
1917 # does not deploy directly to the release repo.
1918 #
1919 # Required Variables:
1920 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001921
Carsten Lund2d06a692017-02-23 18:23:07 +00001922 name: '{project-name}-{stream}-release-version2-java-daily'
1923
1924 project-type: freestyle
1925 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07001926 disabled: '{disabled}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001927 maven-deploy-properties:
1928 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001929 - infra-properties:
Carsten Lund2d06a692017-02-23 18:23:07 +00001930 build-days-to-keep: '{build-days-to-keep}'
1931
1932 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001933 - infra-parameters:
Carsten Lund2d06a692017-02-23 18:23:07 +00001934 project: '{project}'
1935 branch: '{branch}'
1936 refspec: 'refs/heads/{branch}'
1937 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001938 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001939 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001940
1941 scm:
1942 - gerrit-trigger-scm:
1943 refspec: ''
1944 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001945 submodule-recursive: '{submodule-recursive}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001946
1947 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001948 - infra-wrappers:
Carsten Lund2d06a692017-02-23 18:23:07 +00001949 build-timeout: '{build-timeout}'
1950
1951 triggers:
1952 # 11 AM UTC
1953 - timed: 'H 11 * * *'
1954 - gerrit-trigger-release-manually:
1955 server: '{server-name}'
1956 project: '{project}'
1957 branch: '{branch}'
1958
1959 builders:
1960 - provide-maven-settings:
1961 global-settings-file: 'global-settings'
1962 settings-file: '{mvn-settings}'
Andrew Grimbergb7f16152017-02-24 13:13:15 -08001963 - maven-install:
1964 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001965
1966 - inject:
1967 properties-file: version.properties
1968
1969 - shell: !include-raw-escape: include-update-pom-versions.sh
1970
1971 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001972 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -08001973 goals: 'clean deploy site:site site:stage-deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -04001974 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lund2d06a692017-02-23 18:23:07 +00001975 properties:
1976 - '{maven-deploy-properties}'
1977 settings: '{mvn-settings}'
1978 settings-type: cfp
1979 global-settings: 'global-settings'
1980 global-settings-type: cfp
1981
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001982 publishers:
1983 - infra-shiplogs:
1984 maven-version: '{maven-version}'
1985
Carsten Lund2d06a692017-02-23 18:23:07 +00001986- job-template:
1987 # Job template for Java daily release jobs
1988 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001989 # The purpose of this job template is to run:
1990 # 1. inject a version.properties file and set versions
1991 # 2. change version in all POM files to the release version specified
Carsten Lund2d06a692017-02-23 18:23:07 +00001992 # in version.properties. This is done using a script instread of
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001993 # the mvn version plugin that assumes some specific parent structure
Carsten Lund2d06a692017-02-23 18:23:07 +00001994 #
1995 # The POM files are required to use the Maven staging plugin so the deploy
1996 # does not deploy directly to the release repo.
1997 #
1998 # Required Variables:
1999 # branch: git branch (eg. stable/lithium or master)
2000 # pom: name/location of the pom.xml file relative to the workspace
2001 # pattern: ant file-path pattern relative to the workspace used to
2002 # trigger the job
2003
2004 name: '{project-name}-{stream}-{subproject}-release-version2-java-daily'
2005
2006 project-type: freestyle
2007 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07002008 disabled: '{disabled}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002009 maven-deploy-properties:
2010 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002011 - infra-properties:
Carsten Lund2d06a692017-02-23 18:23:07 +00002012 build-days-to-keep: '{build-days-to-keep}'
2013
2014 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002015 - infra-parameters:
Carsten Lund2d06a692017-02-23 18:23:07 +00002016 project: '{project}'
2017 branch: '{branch}'
2018 refspec: 'refs/heads/{branch}'
2019 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08002020 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08002021 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002022
2023 scm:
2024 - gerrit-trigger-scm:
2025 refspec: ''
2026 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002027 submodule-recursive: '{submodule-recursive}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002028
2029 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002030 - infra-wrappers:
Carsten Lund2d06a692017-02-23 18:23:07 +00002031 build-timeout: '{build-timeout}'
2032
2033 triggers:
2034 # 11 AM UTC
2035 - timed: 'H 11 * * *'
2036 - gerrit-trigger-release-manually:
2037 server: '{server-name}'
2038 project: '{project}'
2039 branch: '{branch}'
2040 files: '{pattern}'
2041
2042 builders:
2043 - provide-maven-settings:
2044 global-settings-file: 'global-settings'
2045 settings-file: '{mvn-settings}'
Andrew Grimbergb7f16152017-02-24 13:13:15 -08002046 - maven-install:
2047 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002048
2049 - inject:
2050 properties-file: version.properties
2051
2052 - shell: !include-raw-escape: include-update-pom-versions.sh
2053
2054 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08002055 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00002056 pom: '{pom}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -08002057 goals: 'clean deploy site:site site:stage-deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -04002058 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lund2d06a692017-02-23 18:23:07 +00002059 properties:
2060 - '{maven-deploy-properties}'
2061 settings: '{mvn-settings}'
2062 settings-type: cfp
2063 global-settings: 'global-settings'
2064 global-settings-type: cfp
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002065
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07002066 publishers:
2067 - infra-shiplogs:
2068 maven-version: '{maven-version}'
2069
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002070- job-template:
Dan Timoneya44e0b42017-10-06 09:52:29 -04002071 # Job template for Java daily release jobs
2072 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002073 # The purpose of this job template is to run:
2074 # 1. inject a version.properties file and set versions
2075 # 2. change version in all POM files to the release version specified
Dan Timoneya44e0b42017-10-06 09:52:29 -04002076 # in version.properties. This is done using a script instread of
2077 # the mvn version plugin that assumes some specific parent structure
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002078 # This version does NOT change the version within the <parent> tag
Dan Timoneya44e0b42017-10-06 09:52:29 -04002079 #
2080 # The POM files are required to use the Maven staging plugin so the deploy
2081 # does not deploy directly to the release repo.
2082 #
2083 # Required Variables:
2084 # branch: git branch (eg. stable/lithium or master)
2085 # pom: name/location of the pom.xml file relative to the workspace
2086 # pattern: ant file-path pattern relative to the workspace used to
2087 # trigger the job
2088
2089 name: '{project-name}-{stream}-{subproject}-release-version3-java-daily'
2090
2091 project-type: freestyle
2092 node: '{build-node}'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07002093 disabled: '{disabled}'
Dan Timoneya44e0b42017-10-06 09:52:29 -04002094 maven-deploy-properties:
2095 properties:
2096 - infra-properties:
2097 build-days-to-keep: '{build-days-to-keep}'
2098
2099 parameters:
2100 - infra-parameters:
2101 project: '{project}'
2102 branch: '{branch}'
2103 refspec: 'refs/heads/{branch}'
2104 artifacts: '{archive-artifacts}'
2105 - maven-exec:
2106 maven-version: '{maven-version}'
2107
2108 scm:
2109 - gerrit-trigger-scm:
2110 refspec: ''
2111 choosing-strategy: 'default'
2112 submodule-recursive: '{submodule-recursive}'
2113
2114 wrappers:
2115 - infra-wrappers:
2116 build-timeout: '{build-timeout}'
2117
2118 triggers:
2119 # 11 AM UTC
2120 - timed: 'H 11 * * *'
2121 - gerrit-trigger-release-manually:
2122 server: '{server-name}'
2123 project: '{project}'
2124 branch: '{branch}'
2125 files: '{pattern}'
2126
2127 builders:
2128 - provide-maven-settings:
2129 global-settings-file: 'global-settings'
2130 settings-file: '{mvn-settings}'
2131 - maven-install:
2132 maven-version: '{maven-version}'
2133
2134 - inject:
2135 properties-file: version.properties
2136
2137 - shell: !include-raw-escape: include-update-pom-versions-not-parent.sh
2138
2139 - maven-target:
2140 maven-version: '{maven-version}'
2141 pom: '{pom}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -08002142 goals: 'clean deploy site:site site:stage-deploy -B
Dan Timoneya44e0b42017-10-06 09:52:29 -04002143 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
2144 properties:
2145 - '{maven-deploy-properties}'
2146 settings: '{mvn-settings}'
2147 settings-type: cfp
2148 global-settings: 'global-settings'
2149 global-settings-type: cfp
2150
2151 publishers:
2152 - infra-shiplogs:
2153 maven-version: '{maven-version}'
2154
2155- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002156 # Job template for Java merge jobs for SDC specific repos
ig61339fdb9d22017-04-03 17:47:19 +03002157 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002158 # The purpose of this job template is to run:
2159 # 1. maven clean deploy
ig61339fdb9d22017-04-03 17:47:19 +03002160 #
2161 # Required Variables:
2162 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002163
ig61339fdb9d22017-04-03 17:47:19 +03002164 name: '{project-name}-{stream}-sdc-merge-java'
2165
2166 project-type: freestyle
ig6133cb3f8232017-04-05 14:22:42 +03002167 node: 'ubuntu1604-docker-8c-8g'
ig61339fdb9d22017-04-03 17:47:19 +03002168
2169 properties:
2170 - infra-properties:
2171 build-days-to-keep: '{build-days-to-keep}'
2172
2173 parameters:
2174 - infra-parameters:
2175 project: '{project}'
2176 branch: '{branch}'
2177 refspec: 'refs/heads/{branch}'
2178 artifacts: '{archive-artifacts}'
2179 - maven-exec:
2180 maven-version: '{maven-version}'
2181
2182 scm:
2183 - gerrit-trigger-scm:
2184 refspec: ''
2185 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002186 submodule-recursive: '{submodule-recursive}'
ig61339fdb9d22017-04-03 17:47:19 +03002187
2188 wrappers:
2189 - infra-wrappers:
2190 build-timeout: '{build-timeout}'
2191
2192 triggers:
2193 - gerrit-trigger-patch-merged:
2194 server: '{server-name}'
2195 project: '{project}'
2196 branch: '{branch}'
2197 files: '**'
2198
2199 builders:
2200 - provide-maven-settings:
2201 global-settings-file: 'global-settings'
2202 settings-file: '{mvn-settings}'
ig61339fdb9d22017-04-03 17:47:19 +03002203
2204 - docker-login
2205
Jessica Wagantall9a03dac2018-03-19 09:27:18 -07002206 - maven-docker-push-daily-test:
ig61339fdb9d22017-04-03 17:47:19 +03002207 maven-version: '{maven-version}'
ig6133cb3f8232017-04-05 14:22:42 +03002208 mvn-settings: '{mvn-settings}'
2209 pom: '{docker-pom}'
2210 # use default as mvn-profile if profile is not needed
2211 mvn-profile: '{mvn-profile}'
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07002212
2213 publishers:
2214 - infra-shiplogs:
2215 maven-version: '{maven-version}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002216
2217- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002218 # Job template for building & pushing docker images for AAI specific repos
2219 #
2220 # The purpose of this job template is to run:
2221 # 1. login to the docker registry
2222 # 2. run maven clean install goals skipping tests
2223 # 3. run maven goals
2224 #
2225 # Required Variables:
2226 # pom: name/location of the pom.xml file relative to the workspace
2227 # maven-properties: properties passed to maven
2228
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002229 name: '{project-name}-{stream}-aai-docker-java-version-daily'
2230 project-type: freestyle
2231 node: 'ubuntu1604-docker-8c-8g'
Jessica Wagantall27a8a392018-03-16 17:22:11 -07002232 disabled: '{disabled}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002233 properties:
2234 - infra-properties:
2235 build-days-to-keep: '{build-days-to-keep}'
2236
2237 parameters:
2238 - infra-parameters:
2239 project: '{project}'
2240 branch: '{branch}'
2241 refspec: 'refs/heads/{branch}'
2242 artifacts: '{archive-artifacts}'
2243 - maven-exec:
2244 maven-version: '{maven-version}'
2245
2246 scm:
2247 - gerrit-trigger-scm:
2248 refspec: ''
2249 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002250 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002251
2252 wrappers:
2253 - infra-wrappers:
2254 build-timeout: '{build-timeout}'
2255
2256 triggers:
2257 # 12 AM UTC
2258 - timed: 'H 12 * * *'
2259 - gerrit-trigger-release-manually:
2260 server: '{server-name}'
2261 project: '{project}'
2262 branch: '{branch}'
2263
2264 builders:
2265
2266 - provide-maven-settings:
2267 global-settings-file: 'global-settings'
2268 settings-file: '{mvn-settings}'
2269
2270 - docker-login
2271
2272 - maven-target:
2273 maven-version: '{maven-version}'
2274 pom: 'pom.xml'
2275 goals: 'clean install -DskipTests -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
2276 settings: '{mvn-settings}'
2277 settings-type: cfp
2278 global-settings: 'global-settings'
2279 global-settings-type: cfp
2280
2281 - maven-target:
2282 maven-version: '{maven-version}'
2283 pom: '{pom}'
2284 goals: '{mvn-goals}'
2285 settings: '{mvn-settings}'
2286 settings-type: cfp
2287 global-settings: 'global-settings'
2288 global-settings-type: cfp
2289 properties:
2290 - maven.test.skip=true
2291 - docker.pull.registry=nexus3.onap.org:10001
2292 - docker.push.registry=nexus3.onap.org:10003
2293
2294 publishers:
2295 - infra-shiplogs:
2296 maven-version: '{maven-version}'
2297