blob: 0c82e70c24e09401875812d0116b9524bc571421 [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}'
330 maven-deploy-properties:
331 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700332 - infra-properties:
JulienBe2f4ee072017-02-01 21:42:32 +0100333 build-days-to-keep: '{build-days-to-keep}'
334
335 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700336 - infra-parameters:
JulienBe2f4ee072017-02-01 21:42:32 +0100337 project: '{project}'
338 branch: '{branch}'
339 refspec: 'refs/heads/{branch}'
340 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800341 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800342 maven-version: '{maven-version}'
JulienBe2f4ee072017-02-01 21:42:32 +0100343
344 scm:
345 - gerrit-trigger-scm:
346 refspec: ''
347 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500348 submodule-recursive: '{submodule-recursive}'
JulienBe2f4ee072017-02-01 21:42:32 +0100349
350 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700351 - infra-wrappers:
JulienBe2f4ee072017-02-01 21:42:32 +0100352 build-timeout: '{build-timeout}'
353
354 triggers:
355 # 11 AM UTC
356 - timed: 'H 11 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -0800357 - gerrit-trigger-release-manually:
358 server: '{server-name}'
359 project: '{project}'
360 branch: '{branch}'
JulienBe2f4ee072017-02-01 21:42:32 +0100361
362 builders:
363 - provide-maven-settings:
364 global-settings-file: 'global-settings'
365 settings-file: '{mvn-settings}'
366
JulienBe5641aa02017-02-17 01:08:38 -0800367 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800368 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800369 goals: 'clean deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -0400370 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBe5641aa02017-02-17 01:08:38 -0800371 properties:
372 - '{maven-deploy-properties}'
Jessica Wagantall6223d1d2017-08-07 14:46:58 -0700373 java-opts:
374 - '-Xmx4096m -XX:MaxPermSize=512m'
JulienBe5641aa02017-02-17 01:08:38 -0800375 settings: '{mvn-settings}'
376 settings-type: cfp
377 global-settings: 'global-settings'
378 global-settings-type: cfp
379
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700380 publishers:
381 - infra-shiplogs:
382 maven-version: '{maven-version}'
383
JulienBe5641aa02017-02-17 01:08:38 -0800384- job-template:
JulienBe77903ed2017-07-17 15:30:26 +0200385 # Job template for Java daily release jobs running checkstyle at the end
386 # When checkstyle will be fully incorporated, it is meant to replace
387 # '{project-name}-{stream}-release-java-daily'
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800388 #
389 # The purpose of this job template is to run:
390 # 1. maven clean deploy with Sonar scans
391 #
392 # This job publishes checkstyle results.
393 # This job uses a conditional regex match step to set versions.
JulienBe77903ed2017-07-17 15:30:26 +0200394 #
395 # Required Variables:
396 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800397
JulienBe77903ed2017-07-17 15:30:26 +0200398 name: '{project-name}-{stream}-release-java-daily-checkstyle'
399 project-type: freestyle
400 node: '{build-node}'
401 maven-deploy-properties:
402 properties:
403 - infra-properties:
404 build-days-to-keep: '{build-days-to-keep}'
405 parameters:
406 - infra-parameters:
407 project: '{project}'
408 branch: '{branch}'
409 refspec: 'refs/heads/{branch}'
410 artifacts: '{archive-artifacts}'
411 - maven-exec:
412 maven-version: '{maven-version}'
413 scm:
414 - gerrit-trigger-scm:
415 refspec: ''
416 choosing-strategy: 'default'
417 submodule-recursive: '{submodule-recursive}'
418 wrappers:
419 - infra-wrappers:
420 build-timeout: '{build-timeout}'
421 triggers:
422 # 11 AM UTC
423 - timed: 'H 11 * * *'
424 - gerrit-trigger-release-manually:
425 server: '{server-name}'
426 project: '{project}'
427 branch: '{branch}'
428 builders:
429 - provide-maven-settings:
430 global-settings-file: 'global-settings'
431 settings-file: '{mvn-settings}'
JulienBed91a33a2017-09-25 15:56:34 +0200432 - conditional-step:
433 condition-kind: regex-match
434 regex: DoSetVersion
435 label: '{setVersion}'
436 steps:
437 - inject:
438 properties-file: version.properties
439 - maven-target:
440 maven-version: '{maven-version}'
441 goals: 'versions:set versions:update-child-modules versions:commit -B'
442 properties:
443 - 'newVersion=${{release_version}}'
444 settings: '{mvn-settings}'
445 settings-type: cfp
446 global-settings: 'global-settings'
447 global-settings-type: cfp
JulienBe77903ed2017-07-17 15:30:26 +0200448 - maven-target:
449 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800450 goals: 'clean deploy -B
JulienBe77903ed2017-07-17 15:30:26 +0200451 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBec9d90e22017-08-08 10:44:10 +0200452 properties: '{obj:mvn_properties}'
JulienBe77903ed2017-07-17 15:30:26 +0200453 settings: '{mvn-settings}'
454 settings-type: cfp
455 global-settings: 'global-settings'
456 global-settings-type: cfp
457 publishers:
458 - infra-shiplogs:
459 maven-version: '{maven-version}'
460 - checkstyle-result-daily
461
462- job-template:
JulienBe5641aa02017-02-17 01:08:38 -0800463 # Job template for Java daily release jobs
464 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800465 # The purpose of this job template is to run:
466 # 1. maven set versions
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800467 # 2. maven clean deploy with Sonar scans
Pamela Dragosh55ceb8f2017-05-23 12:23:16 -0400468 #
469 # Required Variables:
470 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800471
JulienBe5641aa02017-02-17 01:08:38 -0800472 name: '{project-name}-{stream}-release-version-java-daily'
473
474 project-type: freestyle
475 node: '{build-node}'
476 maven-deploy-properties:
477 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700478 - infra-properties:
JulienBe5641aa02017-02-17 01:08:38 -0800479 build-days-to-keep: '{build-days-to-keep}'
480
481 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700482 - infra-parameters:
JulienBe5641aa02017-02-17 01:08:38 -0800483 project: '{project}'
484 branch: '{branch}'
485 refspec: 'refs/heads/{branch}'
486 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800487 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800488 maven-version: '{maven-version}'
JulienBe5641aa02017-02-17 01:08:38 -0800489
490 scm:
491 - gerrit-trigger-scm:
492 refspec: ''
493 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500494 submodule-recursive: '{submodule-recursive}'
JulienBe5641aa02017-02-17 01:08:38 -0800495
496 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700497 - infra-wrappers:
JulienBe5641aa02017-02-17 01:08:38 -0800498 build-timeout: '{build-timeout}'
499
500 triggers:
501 # 11 AM UTC
Jessica Wagantall77494942017-10-02 15:12:14 -0700502 - timed: 'H H(10-17) * * *'
JulienBe5641aa02017-02-17 01:08:38 -0800503 - gerrit-trigger-release-manually:
504 server: '{server-name}'
505 project: '{project}'
506 branch: '{branch}'
507
508 builders:
509 - provide-maven-settings:
510 global-settings-file: 'global-settings'
511 settings-file: '{mvn-settings}'
512
JulienBe2f4ee072017-02-01 21:42:32 +0100513 - inject:
514 properties-file: version.properties
515 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800516 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -0400517 goals: 'versions:set versions:update-child-modules versions:commit -B'
JulienBe2f4ee072017-02-01 21:42:32 +0100518 properties:
519 - 'newVersion=${{release_version}}'
520 settings: '{mvn-settings}'
521 settings-type: cfp
522 global-settings: 'global-settings'
523 global-settings-type: cfp
524
525 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800526 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800527 goals: 'clean deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -0400528 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimberg24443ee2017-02-02 08:29:12 -0800529 properties:
530 - '{maven-deploy-properties}'
JulienBe2f4ee072017-02-01 21:42:32 +0100531 settings: '{mvn-settings}'
532 settings-type: cfp
533 global-settings: 'global-settings'
534 global-settings-type: cfp
535
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700536 publishers:
537 - infra-shiplogs:
538 maven-version: '{maven-version}'
539
JulienBe2f4ee072017-02-01 21:42:32 +0100540- job-template:
JulienBe645951d2017-09-28 18:44:18 +0200541 # Job template for Java daily release jobs
542 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800543 # The purpose of this job template is to run:
544 # 1. maven set versions
545 # 2. maven clean deploy -P {mvn-profile} with Sonar scans
JulienBe645951d2017-09-28 18:44:18 +0200546 #
547 # Required Variables:
548 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800549
JulienBe645951d2017-09-28 18:44:18 +0200550 name: '{project-name}-{stream}-release-version-profile-java-daily'
551
552 project-type: freestyle
553 node: '{build-node}'
554 maven-deploy-properties:
555 properties:
556 - infra-properties:
557 build-days-to-keep: '{build-days-to-keep}'
558
559 parameters:
560 - infra-parameters:
561 project: '{project}'
562 branch: '{branch}'
563 refspec: 'refs/heads/{branch}'
564 artifacts: '{archive-artifacts}'
565 - maven-exec:
566 maven-version: '{maven-version}'
567
568 scm:
569 - gerrit-trigger-scm:
570 refspec: ''
571 choosing-strategy: 'default'
572 submodule-recursive: '{submodule-recursive}'
573
574 wrappers:
575 - infra-wrappers:
576 build-timeout: '{build-timeout}'
577
578 triggers:
579 # 11 AM UTC
580 - timed: 'H 11 * * *'
581 - gerrit-trigger-release-manually:
582 server: '{server-name}'
583 project: '{project}'
584 branch: '{branch}'
585
586 builders:
587 - provide-maven-settings:
588 global-settings-file: 'global-settings'
589 settings-file: '{mvn-settings}'
590
591 - inject:
592 properties-file: version.properties
593 - maven-target:
594 maven-version: '{maven-version}'
595 goals: 'versions:set versions:update-child-modules versions:commit -B'
596 properties:
597 - 'newVersion=${{release_version}}'
598 settings: '{mvn-settings}'
599 settings-type: cfp
600 global-settings: 'global-settings'
601 global-settings-type: cfp
602
603 - maven-target:
604 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800605 goals: 'clean deploy -P {mvn-profile} -B
JulienBe645951d2017-09-28 18:44:18 +0200606 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
607 properties:
608 - '{maven-deploy-properties}'
609 settings: '{mvn-settings}'
610 settings-type: cfp
611 global-settings: 'global-settings'
612 global-settings-type: cfp
613
614 publishers:
615 - infra-shiplogs:
616 maven-version: '{maven-version}'
617
618
619- job-template:
Carsten Lundda8b6972017-02-15 23:59:25 +0000620 # Job template for Java daily release jobs with POM not at the root
621 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800622 # The purpose of this job template is to run:
623 # 1. maven clean deploy with Sonar scans
624 #
625 # This job supports subprojects.
Carsten Lundda8b6972017-02-15 23:59:25 +0000626 #
627 # Required Variables:
628 # branch: git branch (eg. stable/lithium or master)
629 # pom: name/location of the pom.xml file relative to the workspace
630
Carsten Lundda8b6972017-02-15 23:59:25 +0000631 name: '{project-name}-{stream}-{subproject}-release-java-daily'
632
633 project-type: freestyle
634 node: '{build-node}'
635 maven-deploy-properties:
636 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700637 - infra-properties:
Carsten Lundda8b6972017-02-15 23:59:25 +0000638 build-days-to-keep: '{build-days-to-keep}'
639
640 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700641 - infra-parameters:
Carsten Lundda8b6972017-02-15 23:59:25 +0000642 project: '{project}'
643 branch: '{branch}'
644 refspec: 'refs/heads/{branch}'
645 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800646 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800647 maven-version: '{maven-version}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000648
649 scm:
650 - gerrit-trigger-scm:
651 refspec: ''
652 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500653 submodule-recursive: '{submodule-recursive}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000654
655 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700656 - infra-wrappers:
Carsten Lundda8b6972017-02-15 23:59:25 +0000657 build-timeout: '{build-timeout}'
658
659 triggers:
660 # 11 AM UTC
661 - timed: 'H 11 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -0800662 - gerrit-trigger-release-manually:
663 server: '{server-name}'
664 project: '{project}'
665 branch: '{branch}'
Carsten Lundda8b6972017-02-15 23:59:25 +0000666
667 builders:
668 - provide-maven-settings:
669 global-settings-file: 'global-settings'
670 settings-file: '{mvn-settings}'
671
Carsten Lundda8b6972017-02-15 23:59:25 +0000672 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800673 maven-version: '{maven-version}'
Carsten Lund63cd3b82017-02-18 18:19:22 +0000674 pom: '{pom}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800675 goals: 'clean deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -0400676 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lundda8b6972017-02-15 23:59:25 +0000677 properties:
678 - '{maven-deploy-properties}'
Jessica Wagantall30f0d782017-08-08 13:37:25 -0700679 java-opts:
680 - '-Xmx4096m -XX:MaxPermSize=512m'
Carsten Lundda8b6972017-02-15 23:59:25 +0000681 settings: '{mvn-settings}'
682 settings-type: cfp
683 global-settings: 'global-settings'
684 global-settings-type: cfp
685
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700686 publishers:
687 - infra-shiplogs:
688 maven-version: '{maven-version}'
689
Carsten Lundda8b6972017-02-15 23:59:25 +0000690- job-template:
Jessica Wagantallae897942017-09-28 10:56:55 -0700691 # Job template for Java daily release jobs with POM not at the root
692 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800693 # The purpose of this job template is to run:
694 # 1. maven set versions
695 # 2. maven clean deploy with Sonar scans
696 #
697 # This job supports subprojects.
Jessica Wagantallae897942017-09-28 10:56:55 -0700698 #
699 # Required Variables:
700 # branch: git branch (eg. stable/lithium or master)
701 # pom: name/location of the pom.xml file relative to the workspace
702
Zhaoxinga77c0412017-10-11 09:05:49 +0800703 name: '{project-name}-{stream}-{subproject}-release-version-java-daily'
704
705 project-type: freestyle
706 node: '{build-node}'
707 maven-deploy-properties:
708 properties:
709 - infra-properties:
710 build-days-to-keep: '{build-days-to-keep}'
711
712 parameters:
713 - infra-parameters:
714 project: '{project}'
715 branch: '{branch}'
716 refspec: 'refs/heads/{branch}'
717 artifacts: '{archive-artifacts}'
718 - maven-exec:
719 maven-version: '{maven-version}'
720
721 scm:
722 - gerrit-trigger-scm:
723 refspec: ''
724 choosing-strategy: 'default'
725 submodule-recursive: '{submodule-recursive}'
726
727 wrappers:
728 - infra-wrappers:
729 build-timeout: '{build-timeout}'
730
731 triggers:
732 # 11 AM UTC
733 - timed: 'H 11 * * *'
734 - gerrit-trigger-release-manually:
735 server: '{server-name}'
736 project: '{project}'
737 branch: '{branch}'
738
739 builders:
740 - provide-maven-settings:
741 global-settings-file: 'global-settings'
742 settings-file: '{mvn-settings}'
743
744 - inject:
745 properties-file: version.properties
746 - maven-target:
747 maven-version: '{maven-version}'
Zhaoxing327f9592017-10-13 13:37:17 +0800748 pom: '{pom}'
Zhaoxinga77c0412017-10-11 09:05:49 +0800749 goals: 'versions:set versions:update-child-modules versions:commit -B'
750 properties:
751 - 'newVersion=${{release_version}}'
752 settings: '{mvn-settings}'
753 settings-type: cfp
754 global-settings: 'global-settings'
755 global-settings-type: cfp
756
757 - maven-target:
758 maven-version: '{maven-version}'
759 pom: '{pom}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -0800760 goals: 'clean deploy -B
Zhaoxinga77c0412017-10-11 09:05:49 +0800761 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
762 properties:
763 - '{maven-deploy-properties}'
764 settings: '{mvn-settings}'
765 settings-type: cfp
766 global-settings: 'global-settings'
767 global-settings-type: cfp
768
769 publishers:
770 - infra-shiplogs:
771 maven-version: '{maven-version}'
772
773- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800774 # Job template for Java merge jobs
775 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800776 # The purpose of this job template is to run:
777 # 1. maven clean deploy
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800778 #
779 # Required Variables:
780 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800781
Andrew Grimbergce2286c2017-01-31 05:50:39 -0800782 name: '{project-name}-{stream}-merge-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800783
784 project-type: freestyle
785 node: '{build-node}'
786
787 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700788 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800789 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800790
791 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700792 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800793 project: '{project}'
794 branch: '{branch}'
795 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -0800796 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800797 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800798 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800799
800 scm:
801 - gerrit-trigger-scm:
802 refspec: ''
803 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500804 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800805
806 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700807 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800808 build-timeout: '{build-timeout}'
809
810 triggers:
811 - gerrit-trigger-patch-merged:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800812 server: '{server-name}'
813 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800814 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -0800815 files: '**'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800816
817 builders:
818 - provide-maven-settings:
819 global-settings-file: 'global-settings'
820 settings-file: '{mvn-settings}'
821 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -0800822 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400823 goals: 'clean deploy -B
824 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800825 settings: '{mvn-settings}'
826 settings-type: cfp
827 global-settings: 'global-settings'
828 global-settings-type: cfp
829
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -0700830 publishers:
831 - infra-shiplogs:
832 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -0800833
834- job-template:
JulienBea4868a62017-07-28 17:13:11 +0200835 # Job template for Java merge jobs based on
836 # '{project-name}-{stream}-merge-java'
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800837 # The purpose of this job template is to run:
838 # 1. maven clean deploy
839 #
840 # This project supports maven properties.
JulienBea4868a62017-07-28 17:13:11 +0200841 #
842 # Required Variables:
843 # branch: git branch (eg. stable/lithium or master)
844 # maven-properties: properties passed to maven
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800845
JulienBea4868a62017-07-28 17:13:11 +0200846 name: '{project-name}-{stream}-merge-properties-java'
847
848 project-type: freestyle
849 node: '{build-node}'
850
851 properties:
852 - infra-properties:
853 build-days-to-keep: '{build-days-to-keep}'
854
855 parameters:
856 - infra-parameters:
857 project: '{project}'
858 branch: '{branch}'
859 refspec: 'refs/heads/{branch}'
860 artifacts: '{archive-artifacts}'
861 - maven-exec:
862 maven-version: '{maven-version}'
863
864 scm:
865 - gerrit-trigger-scm:
866 refspec: ''
867 choosing-strategy: 'default'
868 submodule-recursive: '{submodule-recursive}'
869
870 wrappers:
871 - infra-wrappers:
872 build-timeout: '{build-timeout}'
873
874 triggers:
875 - gerrit-trigger-patch-merged:
876 server: '{server-name}'
877 project: '{project}'
878 branch: '{branch}'
879 files: '**'
880
881 builders:
882 - provide-maven-settings:
883 global-settings-file: 'global-settings'
884 settings-file: '{mvn-settings}'
885 - maven-target:
886 maven-version: '{maven-version}'
887 goals: 'clean deploy -B
888 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
889 settings: '{mvn-settings}'
890 settings-type: cfp
891 global-settings: 'global-settings'
892 global-settings-type: cfp
JulienBec9d90e22017-08-08 10:44:10 +0200893 properties: '{obj:mvn_properties}'
JulienBea4868a62017-07-28 17:13:11 +0200894
895 publishers:
896 - infra-shiplogs:
897 maven-version: '{maven-version}'
898
899- job-template:
JulienBeef823f12017-04-12 04:52:40 -0700900 # Job template for Java merge jobs that takes a maven template
901 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800902 # The purpose of this job template is to run:
903 # 1. maven clean deploy -P {mvn-profile}
JulienBeef823f12017-04-12 04:52:40 -0700904 #
905 # Required Variables:
906 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800907
JulienBeef823f12017-04-12 04:52:40 -0700908 name: '{project-name}-{stream}-merge-profile-java'
909
910 project-type: freestyle
911 node: '{build-node}'
912
913 properties:
914 - infra-properties:
915 build-days-to-keep: '{build-days-to-keep}'
916
917 parameters:
918 - infra-parameters:
919 project: '{project}'
920 branch: '{branch}'
921 refspec: 'refs/heads/{branch}'
922 artifacts: '{archive-artifacts}'
923 - maven-exec:
924 maven-version: '{maven-version}'
925
926 scm:
927 - gerrit-trigger-scm:
928 refspec: ''
929 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500930 submodule-recursive: '{submodule-recursive}'
JulienBeef823f12017-04-12 04:52:40 -0700931
932 wrappers:
933 - infra-wrappers:
934 build-timeout: '{build-timeout}'
935
936 triggers:
937 - gerrit-trigger-patch-merged:
938 server: '{server-name}'
939 project: '{project}'
940 branch: '{branch}'
941 files: '**'
942
943 builders:
944 - provide-maven-settings:
945 global-settings-file: 'global-settings'
946 settings-file: '{mvn-settings}'
Determe, Sebastien (sd378r)62e4e662017-04-26 08:00:00 -0700947
948 - docker-login
949
JulienBeef823f12017-04-12 04:52:40 -0700950 - maven-target:
951 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -0400952 goals: 'clean deploy -P {mvn-profile} -B
953 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
JulienBeef823f12017-04-12 04:52:40 -0700954 settings: '{mvn-settings}'
955 settings-type: cfp
956 global-settings: 'global-settings'
957 global-settings-type: cfp
Determe, Sebastien (sd378r)345956b2017-04-28 08:45:52 -0700958 properties:
959 - docker.pull.registry=nexus3.onap.org:10001
960 - docker.push.registry=nexus3.onap.org:10003
JulienBeef823f12017-04-12 04:52:40 -0700961
962 publishers:
963 - infra-shiplogs:
964 maven-version: '{maven-version}'
965
966- job-template:
Andrew Grimbergdd853c52017-02-16 14:14:26 -0800967 # Job template for Java merge jobs that should also be triggered by upstream
968 # merges
969 #
970 # Required Variables:
971 # stream: release stream
972 # branch: git branch
973 # dependencies: fully qualified upstream job name to trigger on
974 # this may be ''
Jessica Wagantalla0b80c62017-12-21 12:10:19 -0800975
Andrew Grimbergdd853c52017-02-16 14:14:26 -0800976 name: '{project-name}-{stream}-downstream-merge-java'
977
978 project-type: freestyle
979 node: '{build-node}'
980
981 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700982 - infra-properties:
Andrew Grimbergdd853c52017-02-16 14:14:26 -0800983 build-days-to-keep: '{build-days-to-keep}'
984
985 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -0700986 - infra-parameters:
Andrew Grimbergdd853c52017-02-16 14:14:26 -0800987 project: '{project}'
988 branch: '{branch}'
989 refspec: 'refs/heads/{branch}'
990 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -0800991 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -0800992 maven-version: '{maven-version}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -0800993
994 scm:
995 - gerrit-trigger-scm:
996 refspec: ''
997 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -0500998 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -0800999
1000 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001001 - infra-wrappers:
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001002 build-timeout: '{build-timeout}'
1003
1004 triggers:
1005 - reverse:
1006 jobs: '{dependencies}'
1007 result: 'success'
1008 - gerrit-trigger-patch-merged:
1009 server: '{server-name}'
1010 project: '{project}'
1011 branch: '{branch}'
1012 files: '**'
1013
1014 builders:
1015 - provide-maven-settings:
1016 global-settings-file: 'global-settings'
1017 settings-file: '{mvn-settings}'
1018 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001019 maven-version: '{maven-version}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001020 goals: 'clean deploy -B
1021 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001022 settings: '{mvn-settings}'
1023 settings-type: cfp
1024 global-settings: 'global-settings'
1025 global-settings-type: cfp
1026
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001027 publishers:
1028 - infra-shiplogs:
1029 maven-version: '{maven-version}'
Andrew Grimbergdd853c52017-02-16 14:14:26 -08001030
1031- job-template:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001032 # Job template for Java merge jobs with POM not at the root
1033 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001034 # The purpose of this job template is to run:
1035 # 1. maven clean deploy
1036 #
1037 # This job supports subprojects.
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001038 #
1039 # Required Variables:
1040 # branch: git branch (eg. stable/lithium or master)
1041 # pom: name/location of the pom.xml file relative to the workspace
1042 # pattern: ant file-path pattern relative to the workspace used to
1043 # trigger the job
1044
Andrew Grimbergce2286c2017-01-31 05:50:39 -08001045 name: '{project-name}-{stream}-{subproject}-merge-java'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001046
1047 project-type: freestyle
1048 node: '{build-node}'
1049
1050 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001051 - infra-properties:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001052 build-days-to-keep: '{build-days-to-keep}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001053
1054 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001055 - infra-parameters:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001056 project: '{project}'
1057 branch: '{branch}'
1058 refspec: 'refs/heads/{branch}'
Andrew Grimberg597853d2017-01-31 05:28:25 -08001059 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001060 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001061 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001062
1063 scm:
1064 - gerrit-trigger-scm:
1065 refspec: ''
1066 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001067 submodule-recursive: '{submodule-recursive}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001068
1069 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001070 - infra-wrappers:
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001071 build-timeout: '{build-timeout}'
1072
1073 triggers:
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001074 - gerrit-trigger-patch-merged:
1075 server: '{server-name}'
1076 project: '{project}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001077 branch: '{branch}'
Andrew Grimberg94ef33d2017-01-31 05:16:56 -08001078 files: '{pattern}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001079
1080 builders:
1081 - provide-maven-settings:
1082 global-settings-file: 'global-settings'
1083 settings-file: '{mvn-settings}'
1084 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001085 maven-version: '{maven-version}'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001086 pom: '{pom}'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001087 goals: 'clean deploy -B
1088 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Andrew Grimbergebc710a2017-01-30 12:59:38 -08001089 settings: '{mvn-settings}'
1090 settings-type: cfp
1091 global-settings: 'global-settings'
1092 global-settings-type: cfp
1093
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001094 publishers:
1095 - infra-shiplogs:
1096 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001097
1098- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001099 # Job template for Docker daily jobs
1100 #
1101 # The purpose of this job template is to run:
1102 # 1. login to the docker registry
1103 # 2. docker push
1104 #
1105 # Required Variables:
1106 # branch: git branch (eg. stable/lithium or master)
1107
Anaël Clossonabbafb52017-02-09 17:55:10 +01001108 name: '{project-name}-{stream}-docker-java-daily'
1109 project-type: freestyle
Andrew Grimberg2137b1d2017-02-15 07:24:53 -08001110 node: 'ubuntu1604-docker-8c-8g'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001111
1112 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001113 - infra-properties:
Anaël Clossonabbafb52017-02-09 17:55:10 +01001114 build-days-to-keep: '{build-days-to-keep}'
1115
1116 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001117 - infra-parameters:
Anaël Clossonabbafb52017-02-09 17:55:10 +01001118 project: '{project}'
1119 branch: '{branch}'
1120 refspec: 'refs/heads/{branch}'
1121 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001122 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001123 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001124
1125 scm:
1126 - gerrit-trigger-scm:
1127 refspec: ''
1128 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001129 submodule-recursive: '{submodule-recursive}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001130
Anaël Clossonabbafb52017-02-09 17:55:10 +01001131 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001132 - infra-wrappers:
Anaël Clossonabbafb52017-02-09 17:55:10 +01001133 build-timeout: '{build-timeout}'
1134
1135 triggers:
JulienBe0d8c2c32017-02-16 11:50:48 -08001136 # 12 AM UTC
Anaël Clossonabbafb52017-02-09 17:55:10 +01001137 - timed: 'H 12 * * *'
JulienBe0d8c2c32017-02-16 11:50:48 -08001138 - gerrit-trigger-release-manually:
1139 server: '{server-name}'
1140 project: '{project}'
1141 branch: '{branch}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001142
1143 builders:
Anaël Closson63e090e2017-02-15 14:50:45 +01001144
Anaël Clossonabbafb52017-02-09 17:55:10 +01001145 - provide-maven-settings:
1146 global-settings-file: 'global-settings'
1147 settings-file: '{mvn-settings}'
Anaël Closson7313fea2017-02-14 15:56:21 +01001148
Anaël Closson63e090e2017-02-15 14:50:45 +01001149 - docker-login
1150
Anaël Clossonabbafb52017-02-09 17:55:10 +01001151 - maven-docker-push-daily:
Andrew Grimberge2465882017-02-24 12:38:05 -08001152 maven-version: '{maven-version}'
Anaël Clossonabbafb52017-02-09 17:55:10 +01001153 mvn-settings: '{mvn-settings}'
1154 pom: '{docker-pom}'
Anaël Closson30a5c772017-02-16 15:02:56 +01001155 # use default as mvn-profile if profile is not needed
1156 mvn-profile: '{mvn-profile}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001157
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001158 publishers:
1159 - infra-shiplogs:
1160 maven-version: '{maven-version}'
1161
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001162- job-template:
JulienBe91c56ec2017-06-21 23:37:39 +02001163 # Job template for building & pushing docker images
1164 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001165 # The purpose of this job template is to run:
JulienBe91c56ec2017-06-21 23:37:39 +02001166 # 1. login to the docker registry
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001167 # 2. maven clean deploy on the specified profile
1168 #
1169 # This job uses a conditional regex match step to set versions.
1170 # This template supports maven properties.
JulienBe91c56ec2017-06-21 23:37:39 +02001171 #
1172 # Required Variables:
1173 # pom: name/location of the pom.xml file relative to the workspace
1174 # profile: the docker profile defined in the pom
1175 # maven-properties: properties passed to maven
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001176
JulienBe91c56ec2017-06-21 23:37:39 +02001177 name: '{project-name}-{stream}-docker-java-properties-daily'
1178 project-type: freestyle
1179 node: 'ubuntu1604-docker-8c-8g'
1180 properties:
1181 - infra-properties:
1182 build-days-to-keep: '{build-days-to-keep}'
1183 parameters:
1184 - infra-parameters:
1185 project: '{project}'
1186 branch: '{branch}'
1187 refspec: 'refs/heads/{branch}'
1188 artifacts: '{archive-artifacts}'
1189 - maven-exec:
1190 maven-version: '{maven-version}'
1191 scm:
1192 - gerrit-trigger-scm:
1193 refspec: ''
1194 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001195 submodule-recursive: '{submodule-recursive}'
JulienBe91c56ec2017-06-21 23:37:39 +02001196 wrappers:
1197 - infra-wrappers:
1198 build-timeout: '{build-timeout}'
1199 triggers:
1200 # 12 AM UTC
1201 - timed: 'H 12 * * *'
1202 - gerrit-trigger-release-manually:
1203 server: '{server-name}'
1204 project: '{project}'
1205 branch: '{branch}'
1206 builders:
1207 - provide-maven-settings:
1208 global-settings-file: 'global-settings'
1209 settings-file: '{mvn-settings}'
JulienBecda17972017-10-17 13:46:51 +02001210 - conditional-step:
1211 condition-kind: regex-match
1212 regex: DoSetVersion
1213 label: '{setVersion}'
1214 steps:
1215 - inject:
1216 properties-file: version.properties
1217 - maven-target:
1218 maven-version: '{maven-version}'
1219 goals: 'versions:set versions:update-child-modules versions:commit -B'
1220 properties:
1221 - 'newVersion=${{release_version}}'
1222 settings: '{mvn-settings}'
1223 settings-type: cfp
1224 global-settings: 'global-settings'
1225 global-settings-type: cfp
JulienBe91c56ec2017-06-21 23:37:39 +02001226 - docker-login
1227 - maven-docker-push-daily:
1228 maven-version: '{maven-version}'
1229 mvn-settings: '{mvn-settings}'
1230 pom: '{docker-pom}'
1231 properties: '{maven-properties}'
1232 # use default as mvn-profile if profile is not needed
1233 mvn-profile: '{mvn-profile}'
1234 publishers:
1235 - infra-shiplogs:
1236 maven-version: '{maven-version}'
1237
1238- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001239 # Job template for building & pushing docker images
1240 #
1241 # The purpose of this job template is to run:
1242 # 1. login to the docker registry
1243 # 2. run a specified shell builder
1244 #
1245 # Required Variables:
1246 # pom: name/location of the pom.xml file relative to the workspace
1247 # maven-properties: properties passed to maven
1248
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001249 name: '{project-name}-{stream}-docker-java-shell-daily'
1250 project-type: freestyle
1251 node: 'ubuntu1604-docker-8c-8g'
1252
1253 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001254 - infra-properties:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001255 build-days-to-keep: '{build-days-to-keep}'
1256
1257 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001258 - infra-parameters:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001259 project: '{project}'
1260 branch: '{branch}'
1261 refspec: 'refs/heads/{branch}'
1262 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001263 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001264 maven-version: '{maven-version}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001265
1266 scm:
1267 - gerrit-trigger-scm:
1268 refspec: ''
1269 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001270 submodule-recursive: '{submodule-recursive}'
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001271
1272 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001273 - infra-wrappers:
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001274 build-timeout: '{build-timeout}'
1275
1276 triggers:
1277 # 12 AM UTC
1278 - timed: 'H 12 * * *'
1279 - gerrit-trigger-release-manually:
1280 server: '{server-name}'
1281 project: '{project}'
1282 branch: '{branch}'
1283
1284 builders:
1285
1286 - provide-maven-settings:
1287 global-settings-file: 'global-settings'
1288 settings-file: '{mvn-settings}'
1289
1290 - docker-login
1291
Pamela Dragosh366fbc32017-02-19 20:09:09 -05001292 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001293 maven-version: '{maven-version}'
Pamela Dragosh366fbc32017-02-19 20:09:09 -05001294 goals: '{mvn-goals}'
1295 settings: '{mvn-settings}'
1296 settings-type: cfp
1297 global-settings: 'global-settings'
1298 global-settings-type: cfp
Pamela Dragoshaccf6452017-02-17 08:09:31 -05001299
1300 - shell: '{script}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001301
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001302 publishers:
1303 - infra-shiplogs:
1304 maven-version: '{maven-version}'
1305
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001306- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001307 # Job template for building & pushing docker images
1308 #
1309 # The purpose of this job template is to run:
1310 # 1. login to the docker registry
1311 # 2. inject a version.properties file and set versions
1312 # 3. run a specified shell builder
1313 #
1314 # Required Variables:
1315 # pom: name/location of the pom.xml file relative to the workspace
1316 # maven-properties: properties passed to maven
1317
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001318 name: '{project-name}-{stream}-docker-java-version-shell-daily'
1319 project-type: freestyle
1320 node: 'ubuntu1604-docker-8c-8g'
1321
1322 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001323 - infra-properties:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001324 build-days-to-keep: '{build-days-to-keep}'
1325
1326 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001327 - infra-parameters:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001328 project: '{project}'
1329 branch: '{branch}'
1330 refspec: 'refs/heads/{branch}'
1331 artifacts: '{archive-artifacts}'
1332 - maven-exec:
1333 maven-version: '{maven-version}'
1334
1335 scm:
1336 - gerrit-trigger-scm:
1337 refspec: ''
1338 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001339 submodule-recursive: '{submodule-recursive}'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001340
1341 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001342 - infra-wrappers:
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001343 build-timeout: '{build-timeout}'
1344
1345 triggers:
1346 # 12 AM UTC
1347 - timed: 'H 12 * * *'
1348 - gerrit-trigger-release-manually:
1349 server: '{server-name}'
1350 project: '{project}'
1351 branch: '{branch}'
1352
1353 builders:
1354
1355 - provide-maven-settings:
1356 global-settings-file: 'global-settings'
1357 settings-file: '{mvn-settings}'
1358
1359 - inject:
1360 properties-file: version.properties
1361
1362 - maven-target:
1363 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001364 goals: 'versions:set versions:update-child-modules versions:commit -B'
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001365 properties:
1366 - 'newVersion=${{release_version}}'
1367 settings: '{mvn-settings}'
1368 settings-type: cfp
1369 global-settings: 'global-settings'
1370 global-settings-type: cfp
1371
1372 - docker-login
1373
1374 - maven-target:
1375 maven-version: '{maven-version}'
1376 goals: '{mvn-goals}'
1377 settings: '{mvn-settings}'
1378 settings-type: cfp
1379 global-settings: 'global-settings'
1380 global-settings-type: cfp
1381
1382 - shell: '{script}'
1383
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001384 publishers:
1385 - infra-shiplogs:
1386 maven-version: '{maven-version}'
1387
Pamela Dragosh2814e4d2017-03-15 12:52:55 -04001388- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001389 # Job template for building & pushing docker images
1390 #
1391 # The purpose of this job template is to run:
1392 # 1. login to the docker registry
1393 # 2. inject a version.properties file and set versions
1394 # 3. run a specified shell builder
1395 #
1396 # This template supports subprojects.
1397 #
1398 # Required Variables:
1399 # pom: name/location of the pom.xml file relative to the workspace
1400 # maven-properties: properties passed to maven
1401
Zhaoxing49773042017-10-13 17:14:35 +08001402 name: '{project-name}-{stream}-{subproject}-docker-java-version-shell-daily'
1403 project-type: freestyle
1404 node: 'ubuntu1604-docker-8c-8g'
1405
1406 properties:
1407 - infra-properties:
1408 build-days-to-keep: '{build-days-to-keep}'
1409
1410 parameters:
1411 - infra-parameters:
1412 project: '{project}'
1413 branch: '{branch}'
1414 refspec: 'refs/heads/{branch}'
1415 artifacts: '{archive-artifacts}'
1416 - maven-exec:
1417 maven-version: '{maven-version}'
1418
1419 scm:
1420 - gerrit-trigger-scm:
1421 refspec: ''
1422 choosing-strategy: 'default'
1423 submodule-recursive: '{submodule-recursive}'
1424
1425 wrappers:
1426 - infra-wrappers:
1427 build-timeout: '{build-timeout}'
1428
1429 triggers:
1430 # 12 AM UTC
1431 - timed: 'H 12 * * *'
1432 - gerrit-trigger-release-manually:
1433 server: '{server-name}'
1434 project: '{project}'
1435 branch: '{branch}'
1436
1437 builders:
1438
1439 - provide-maven-settings:
1440 global-settings-file: 'global-settings'
1441 settings-file: '{mvn-settings}'
1442
1443 - inject:
1444 properties-file: version.properties
1445
1446 - maven-target:
1447 maven-version: '{maven-version}'
1448 pom: '{pom}'
1449 goals: 'versions:set versions:update-child-modules versions:commit -B'
1450 properties:
1451 - 'newVersion=${{release_version}}'
1452 settings: '{mvn-settings}'
1453 settings-type: cfp
1454 global-settings: 'global-settings'
1455 global-settings-type: cfp
1456
1457 - docker-login
1458
1459 - maven-target:
1460 maven-version: '{maven-version}'
1461 pom: '{pom}'
1462 goals: '{mvn-goals}'
1463 settings: '{mvn-settings}'
1464 settings-type: cfp
1465 global-settings: 'global-settings'
1466 global-settings-type: cfp
1467
1468 - shell: '{script}'
1469
1470 publishers:
1471 - infra-shiplogs:
1472 maven-version: '{maven-version}'
1473
1474- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001475 # Job template for building & pushing docker images
1476 #
1477 # The purpose of this job template is to run:
1478 # 1. login to the docker registry
1479 # 2. inject a version.properties file and set versions
1480 # 3. run a docker push
1481 #
1482 # Required Variables:
1483 # pom: name/location of the pom.xml file relative to the workspace
1484 # profile: the docker profile defined in the pom
1485 # maven-properties: properties passed to maven
1486
Patrick Brady39f388a2017-03-09 11:26:59 -08001487 name: '{project-name}-{stream}-docker-version-java-daily'
1488 project-type: freestyle
1489 node: 'ubuntu1604-docker-8c-8g'
1490
1491 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001492 - infra-properties:
Patrick Brady39f388a2017-03-09 11:26:59 -08001493 build-days-to-keep: '{build-days-to-keep}'
1494
1495 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001496 - infra-parameters:
Patrick Brady39f388a2017-03-09 11:26:59 -08001497 project: '{project}'
1498 branch: '{branch}'
1499 refspec: 'refs/heads/{branch}'
1500 artifacts: '{archive-artifacts}'
1501 - maven-exec:
1502 maven-version: '{maven-version}'
1503
1504 scm:
1505 - gerrit-trigger-scm:
1506 refspec: ''
1507 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001508 submodule-recursive: '{submodule-recursive}'
Patrick Brady39f388a2017-03-09 11:26:59 -08001509
1510 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001511 - infra-wrappers:
Patrick Brady39f388a2017-03-09 11:26:59 -08001512 build-timeout: '{build-timeout}'
1513
1514 triggers:
1515 # 12 AM UTC
1516 - timed: 'H 12 * * *'
1517 - gerrit-trigger-release-manually:
1518 server: '{server-name}'
1519 project: '{project}'
1520 branch: '{branch}'
1521
1522 builders:
1523
1524 - provide-maven-settings:
1525 global-settings-file: 'global-settings'
1526 settings-file: '{mvn-settings}'
1527
1528 - inject:
1529 properties-file: version.properties
1530
1531 - maven-target:
1532 maven-version: '{maven-version}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04001533 goals: 'versions:set versions:update-child-modules versions:commit -B'
Patrick Brady39f388a2017-03-09 11:26:59 -08001534 properties:
1535 - 'newVersion=${{release_version}}'
1536 settings: '{mvn-settings}'
1537 settings-type: cfp
1538 global-settings: 'global-settings'
1539 global-settings-type: cfp
1540
1541 - docker-login
1542
1543 - maven-docker-push-daily:
1544 maven-version: '{maven-version}'
1545 mvn-settings: '{mvn-settings}'
1546 pom: '{docker-pom}'
1547 # use default as mvn-profile if profile is not needed
1548 mvn-profile: '{mvn-profile}'
1549
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001550 publishers:
1551 - infra-shiplogs:
1552 maven-version: '{maven-version}'
1553
Patrick Brady39f388a2017-03-09 11:26:59 -08001554- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001555 # Job template for building & pushing docker images
1556 #
1557 # The purpose of this job template is to run:
1558 # 1. inject a version.properties file and set versions
1559 # 2. login to the docker registry
1560 # 3. run a docker push
1561 #
1562 # This job supports subprojects.
1563 #
1564 # Required Variables:
1565 # pom: name/location of the pom.xml file relative to the workspace
1566 # maven-properties: properties passed to maven
1567
Zhaoxing49773042017-10-13 17:14:35 +08001568 name: '{project-name}-{stream}-{subproject}-docker-version-java-daily'
1569 project-type: freestyle
1570 node: 'ubuntu1604-docker-8c-8g'
1571
1572 properties:
1573 - infra-properties:
1574 build-days-to-keep: '{build-days-to-keep}'
1575
1576 parameters:
1577 - infra-parameters:
1578 project: '{project}'
1579 branch: '{branch}'
1580 refspec: 'refs/heads/{branch}'
1581 artifacts: '{archive-artifacts}'
1582 - maven-exec:
1583 maven-version: '{maven-version}'
1584
1585 scm:
1586 - gerrit-trigger-scm:
1587 refspec: ''
1588 choosing-strategy: 'default'
1589 submodule-recursive: '{submodule-recursive}'
1590
1591 wrappers:
1592 - infra-wrappers:
1593 build-timeout: '{build-timeout}'
1594
1595 triggers:
1596 # 12 AM UTC
1597 - timed: 'H 12 * * *'
1598 - gerrit-trigger-release-manually:
1599 server: '{server-name}'
1600 project: '{project}'
1601 branch: '{branch}'
1602
1603 builders:
1604
1605 - provide-maven-settings:
1606 global-settings-file: 'global-settings'
1607 settings-file: '{mvn-settings}'
1608
1609 - inject:
1610 properties-file: version.properties
1611
1612 - maven-target:
1613 maven-version: '{maven-version}'
1614 pom: '{pom}'
1615 goals: 'versions:set versions:update-child-modules versions:commit -B'
1616 properties:
1617 - 'newVersion=${{release_version}}'
1618 settings: '{mvn-settings}'
1619 settings-type: cfp
1620 global-settings: 'global-settings'
1621 global-settings-type: cfp
1622
1623 - docker-login
1624
1625 - maven-docker-push-daily:
1626 maven-version: '{maven-version}'
1627 pom: '{pom}'
1628 mvn-settings: '{mvn-settings}'
1629 pom: '{docker-pom}'
1630 # use default as mvn-profile if profile is not needed
1631 mvn-profile: '{mvn-profile}'
1632
1633 publishers:
1634 - infra-shiplogs:
1635 maven-version: '{maven-version}'
1636
1637- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001638 # Job template for building & pushing docker images for AAI specific repos
1639 #
1640 # The purpose of this job template is to run:
1641 # 1. login to the docker registry
1642 # 2. run maven goals
1643 # 3. run include-docker-push.sh
1644 #
1645 # Required Variables:
1646 # pom: name/location of the pom.xml file relative to the workspace
1647 # maven-properties: properties passed to maven
1648
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001649 name: '{project-name}-{stream}-aai-docker-java-daily'
1650 project-type: freestyle
1651 node: 'ubuntu1604-docker-8c-8g'
Gary Wudc3f2952017-08-23 16:48:59 -07001652 docker-image-name: ''
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001653
1654 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001655 - infra-properties:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001656 build-days-to-keep: '{build-days-to-keep}'
1657
1658 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001659 - infra-parameters:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001660 project: '{project}'
1661 branch: '{branch}'
1662 refspec: 'refs/heads/{branch}'
1663 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001664 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001665 maven-version: '{maven-version}'
Gary Wudc3f2952017-08-23 16:48:59 -07001666 - docker-image-name:
1667 docker-image-name: '{docker-image-name}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001668
1669 scm:
1670 - gerrit-trigger-scm:
1671 refspec: ''
1672 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001673 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001674
1675 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001676 - infra-wrappers:
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001677 build-timeout: '{build-timeout}'
1678
1679 triggers:
1680 # 12 AM UTC
1681 - timed: 'H 12 * * *'
1682 - gerrit-trigger-release-manually:
1683 server: '{server-name}'
1684 project: '{project}'
1685 branch: '{branch}'
1686
1687 builders:
1688
1689 - provide-maven-settings:
1690 global-settings-file: 'global-settings'
1691 settings-file: '{mvn-settings}'
1692
1693 - docker-login
1694
1695 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001696 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001697 pom: 'pom.xml'
Andrew Grimberge55b6222017-05-03 16:19:28 -04001698 goals: 'clean install -DskipTests -B
1699 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001700 settings: '{mvn-settings}'
1701 settings-type: cfp
1702 global-settings: 'global-settings'
1703 global-settings-type: cfp
1704
1705 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001706 maven-version: '{maven-version}'
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001707 pom: '{pom}'
1708 goals: '{mvn-goals}'
1709 settings: '{mvn-settings}'
1710 settings-type: cfp
1711 global-settings: 'global-settings'
1712 global-settings-type: cfp
1713 properties:
1714 - maven.test.skip=true
Jeremy Phelps48028ab2017-03-28 15:38:24 -05001715 - docker.pull.registry=nexus3.onap.org:10001
1716 - docker.push.registry=nexus3.onap.org:10003
Venkata Harish K Kajurbaaef362017-02-20 15:42:02 +00001717
Venkata Harish K Kajurbf07d0a2017-03-26 11:58:15 +00001718 - shell: !include-raw-escape: include-docker-push.sh
Carsten Lund2d06a692017-02-23 18:23:07 +00001719
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001720 publishers:
1721 - infra-shiplogs:
1722 maven-version: '{maven-version}'
1723
Carsten Lund2d06a692017-02-23 18:23:07 +00001724- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001725 # Job template for building & pushing docker images for AAI specific repos
1726 #
1727 # The purpose of this job template is to run:
1728 # 1. login to the docker registry
1729 # 2. run maven goals
1730 # 3. run include-docker-push.sh
1731 #
1732 # This job supports subprojects
1733 #
1734 # Required Variables:
1735 # pom: name/location of the pom.xml file relative to the workspace
1736 # maven-properties: properties passed to maven
1737
Jessica Wagantallfec94482017-09-19 11:49:15 -07001738 name: '{project-name}-{stream}-{subproject}-aai-docker-java-daily'
1739 project-type: freestyle
1740 node: 'ubuntu1604-docker-8c-8g'
1741 docker-image-name: ''
1742
1743 properties:
1744 - infra-properties:
1745 build-days-to-keep: '{build-days-to-keep}'
1746
1747 parameters:
1748 - infra-parameters:
1749 project: '{project}'
1750 branch: '{branch}'
1751 refspec: 'refs/heads/{branch}'
1752 artifacts: '{archive-artifacts}'
1753 - maven-exec:
1754 maven-version: '{maven-version}'
1755 - docker-image-name:
1756 docker-image-name: '{docker-image-name}'
1757
1758 scm:
1759 - gerrit-trigger-scm:
1760 refspec: ''
1761 choosing-strategy: 'default'
1762 submodule-recursive: '{submodule-recursive}'
1763
1764 wrappers:
1765 - infra-wrappers:
1766 build-timeout: '{build-timeout}'
1767
1768 triggers:
1769 # 12 AM UTC
1770 - timed: 'H 12 * * *'
1771 - gerrit-trigger-release-manually:
1772 server: '{server-name}'
1773 project: '{project}'
1774 branch: '{branch}'
1775
1776 builders:
1777
1778 - provide-maven-settings:
1779 global-settings-file: 'global-settings'
1780 settings-file: '{mvn-settings}'
1781
1782 - docker-login
1783
1784 - maven-target:
1785 maven-version: '{maven-version}'
1786 pom: 'pom.xml'
1787 goals: 'clean install -DskipTests -B
1788 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
1789 settings: '{mvn-settings}'
1790 settings-type: cfp
1791 global-settings: 'global-settings'
1792 global-settings-type: cfp
1793
1794 - maven-target:
1795 maven-version: '{maven-version}'
1796 pom: '{pom}'
1797 goals: '{mvn-goals}'
1798 settings: '{mvn-settings}'
1799 settings-type: cfp
1800 global-settings: 'global-settings'
1801 global-settings-type: cfp
1802 properties:
1803 - maven.test.skip=true
1804 - docker.pull.registry=nexus3.onap.org:10001
1805 - docker.push.registry=nexus3.onap.org:10003
1806
1807 - shell: !include-raw-escape: include-docker-push.sh
1808
1809 publishers:
1810 - infra-shiplogs:
1811 maven-version: '{maven-version}'
1812
1813- job-template:
Carsten Lund2d06a692017-02-23 18:23:07 +00001814 # Job template for Java daily release jobs
1815 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001816 # The purpose of this job template is to run:
1817 # 1. inject a version.properties file and set versions
1818 # 2. change version in all POM files to the release version specified
1819 # in version.properties. This is done using a script instread of
1820 # the mvn version plugin that assumes some specific parent structure
Carsten Lund2d06a692017-02-23 18:23:07 +00001821 #
1822 # The POM files are required to use the Maven staging plugin so the deploy
1823 # does not deploy directly to the release repo.
1824 #
1825 # Required Variables:
1826 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001827
Carsten Lund2d06a692017-02-23 18:23:07 +00001828 name: '{project-name}-{stream}-release-version2-java-daily'
1829
1830 project-type: freestyle
1831 node: '{build-node}'
1832 maven-deploy-properties:
1833 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001834 - infra-properties:
Carsten Lund2d06a692017-02-23 18:23:07 +00001835 build-days-to-keep: '{build-days-to-keep}'
1836
1837 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001838 - infra-parameters:
Carsten Lund2d06a692017-02-23 18:23:07 +00001839 project: '{project}'
1840 branch: '{branch}'
1841 refspec: 'refs/heads/{branch}'
1842 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001843 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001844 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001845
1846 scm:
1847 - gerrit-trigger-scm:
1848 refspec: ''
1849 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001850 submodule-recursive: '{submodule-recursive}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001851
1852 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001853 - infra-wrappers:
Carsten Lund2d06a692017-02-23 18:23:07 +00001854 build-timeout: '{build-timeout}'
1855
1856 triggers:
1857 # 11 AM UTC
1858 - timed: 'H 11 * * *'
1859 - gerrit-trigger-release-manually:
1860 server: '{server-name}'
1861 project: '{project}'
1862 branch: '{branch}'
1863
1864 builders:
1865 - provide-maven-settings:
1866 global-settings-file: 'global-settings'
1867 settings-file: '{mvn-settings}'
Andrew Grimbergb7f16152017-02-24 13:13:15 -08001868 - maven-install:
1869 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001870
1871 - inject:
1872 properties-file: version.properties
1873
1874 - shell: !include-raw-escape: include-update-pom-versions.sh
1875
1876 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001877 maven-version: '{maven-version}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -08001878 goals: 'clean deploy site:site site:stage-deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -04001879 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lund2d06a692017-02-23 18:23:07 +00001880 properties:
1881 - '{maven-deploy-properties}'
1882 settings: '{mvn-settings}'
1883 settings-type: cfp
1884 global-settings: 'global-settings'
1885 global-settings-type: cfp
1886
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001887 publishers:
1888 - infra-shiplogs:
1889 maven-version: '{maven-version}'
1890
Carsten Lund2d06a692017-02-23 18:23:07 +00001891- job-template:
1892 # Job template for Java daily release jobs
1893 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001894 # The purpose of this job template is to run:
1895 # 1. inject a version.properties file and set versions
1896 # 2. change version in all POM files to the release version specified
Carsten Lund2d06a692017-02-23 18:23:07 +00001897 # in version.properties. This is done using a script instread of
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001898 # the mvn version plugin that assumes some specific parent structure
Carsten Lund2d06a692017-02-23 18:23:07 +00001899 #
1900 # The POM files are required to use the Maven staging plugin so the deploy
1901 # does not deploy directly to the release repo.
1902 #
1903 # Required Variables:
1904 # branch: git branch (eg. stable/lithium or master)
1905 # pom: name/location of the pom.xml file relative to the workspace
1906 # pattern: ant file-path pattern relative to the workspace used to
1907 # trigger the job
1908
1909 name: '{project-name}-{stream}-{subproject}-release-version2-java-daily'
1910
1911 project-type: freestyle
1912 node: '{build-node}'
1913 maven-deploy-properties:
1914 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001915 - infra-properties:
Carsten Lund2d06a692017-02-23 18:23:07 +00001916 build-days-to-keep: '{build-days-to-keep}'
1917
1918 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001919 - infra-parameters:
Carsten Lund2d06a692017-02-23 18:23:07 +00001920 project: '{project}'
1921 branch: '{branch}'
1922 refspec: 'refs/heads/{branch}'
1923 artifacts: '{archive-artifacts}'
Andrew Grimbergdcdce332017-02-24 11:27:09 -08001924 - maven-exec:
Andrew Grimberge2465882017-02-24 12:38:05 -08001925 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001926
1927 scm:
1928 - gerrit-trigger-scm:
1929 refspec: ''
1930 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05001931 submodule-recursive: '{submodule-recursive}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001932
1933 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07001934 - infra-wrappers:
Carsten Lund2d06a692017-02-23 18:23:07 +00001935 build-timeout: '{build-timeout}'
1936
1937 triggers:
1938 # 11 AM UTC
1939 - timed: 'H 11 * * *'
1940 - gerrit-trigger-release-manually:
1941 server: '{server-name}'
1942 project: '{project}'
1943 branch: '{branch}'
1944 files: '{pattern}'
1945
1946 builders:
1947 - provide-maven-settings:
1948 global-settings-file: 'global-settings'
1949 settings-file: '{mvn-settings}'
Andrew Grimbergb7f16152017-02-24 13:13:15 -08001950 - maven-install:
1951 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001952
1953 - inject:
1954 properties-file: version.properties
1955
1956 - shell: !include-raw-escape: include-update-pom-versions.sh
1957
1958 - maven-target:
Andrew Grimberge2465882017-02-24 12:38:05 -08001959 maven-version: '{maven-version}'
Carsten Lund2d06a692017-02-23 18:23:07 +00001960 pom: '{pom}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -08001961 goals: 'clean deploy site:site site:stage-deploy -B
Andrew Grimberge55b6222017-05-03 16:19:28 -04001962 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
Carsten Lund2d06a692017-02-23 18:23:07 +00001963 properties:
1964 - '{maven-deploy-properties}'
1965 settings: '{mvn-settings}'
1966 settings-type: cfp
1967 global-settings: 'global-settings'
1968 global-settings-type: cfp
Anaël Clossonadcb39d2017-03-10 15:39:09 +01001969
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07001970 publishers:
1971 - infra-shiplogs:
1972 maven-version: '{maven-version}'
1973
Anaël Clossonadcb39d2017-03-10 15:39:09 +01001974- job-template:
Dan Timoneya44e0b42017-10-06 09:52:29 -04001975 # Job template for Java daily release jobs
1976 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001977 # The purpose of this job template is to run:
1978 # 1. inject a version.properties file and set versions
1979 # 2. change version in all POM files to the release version specified
Dan Timoneya44e0b42017-10-06 09:52:29 -04001980 # in version.properties. This is done using a script instread of
1981 # the mvn version plugin that assumes some specific parent structure
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08001982 # This version does NOT change the version within the <parent> tag
Dan Timoneya44e0b42017-10-06 09:52:29 -04001983 #
1984 # The POM files are required to use the Maven staging plugin so the deploy
1985 # does not deploy directly to the release repo.
1986 #
1987 # Required Variables:
1988 # branch: git branch (eg. stable/lithium or master)
1989 # pom: name/location of the pom.xml file relative to the workspace
1990 # pattern: ant file-path pattern relative to the workspace used to
1991 # trigger the job
1992
1993 name: '{project-name}-{stream}-{subproject}-release-version3-java-daily'
1994
1995 project-type: freestyle
1996 node: '{build-node}'
1997 maven-deploy-properties:
1998 properties:
1999 - infra-properties:
2000 build-days-to-keep: '{build-days-to-keep}'
2001
2002 parameters:
2003 - infra-parameters:
2004 project: '{project}'
2005 branch: '{branch}'
2006 refspec: 'refs/heads/{branch}'
2007 artifacts: '{archive-artifacts}'
2008 - maven-exec:
2009 maven-version: '{maven-version}'
2010
2011 scm:
2012 - gerrit-trigger-scm:
2013 refspec: ''
2014 choosing-strategy: 'default'
2015 submodule-recursive: '{submodule-recursive}'
2016
2017 wrappers:
2018 - infra-wrappers:
2019 build-timeout: '{build-timeout}'
2020
2021 triggers:
2022 # 11 AM UTC
2023 - timed: 'H 11 * * *'
2024 - gerrit-trigger-release-manually:
2025 server: '{server-name}'
2026 project: '{project}'
2027 branch: '{branch}'
2028 files: '{pattern}'
2029
2030 builders:
2031 - provide-maven-settings:
2032 global-settings-file: 'global-settings'
2033 settings-file: '{mvn-settings}'
2034 - maven-install:
2035 maven-version: '{maven-version}'
2036
2037 - inject:
2038 properties-file: version.properties
2039
2040 - shell: !include-raw-escape: include-update-pom-versions-not-parent.sh
2041
2042 - maven-target:
2043 maven-version: '{maven-version}'
2044 pom: '{pom}'
Jessica Wagantallb0e72cd2018-01-29 16:07:22 -08002045 goals: 'clean deploy site:site site:stage-deploy -B
Dan Timoneya44e0b42017-10-06 09:52:29 -04002046 -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
2047 properties:
2048 - '{maven-deploy-properties}'
2049 settings: '{mvn-settings}'
2050 settings-type: cfp
2051 global-settings: 'global-settings'
2052 global-settings-type: cfp
2053
2054 publishers:
2055 - infra-shiplogs:
2056 maven-version: '{maven-version}'
2057
2058- job-template:
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002059 # Template for maven site plugin invocation
2060 #
2061 # It's designed to be triggered when the trigger-job job
2062 # succeeds as there's no need for new documentaiton
2063 # if the build job fails.
2064 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002065 # The purpose of this job template is to run:
2066 # 1. maven set versions
2067 # 2. maven clean site
2068 #
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002069 # Those parameters should be set :
2070 # - site-pom : the pom file that contains the site confiration
2071 # - trigger-job : the name of the project that triggers this job
2072 # upon success. The job name can be
2073 # parameterized.
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002074
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002075 name: '{project-name}-{stream}-stage-site-java'
2076 project-type: freestyle
Anaël Clossonb8c5fb52017-03-14 15:43:18 +01002077 node: '{build-node}'
Jessica Wagantallf13258b2017-10-02 16:43:10 -07002078 pom: 'pom.xml'
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002079
2080 properties:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002081 - infra-properties:
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002082 build-days-to-keep: '{build-days-to-keep}'
2083
2084 parameters:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002085 - infra-parameters:
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002086 project: '{project}'
2087 branch: '{branch}'
2088 refspec: 'refs/heads/{branch}'
2089 artifacts: '{archive-artifacts}'
2090 - maven-exec:
2091 maven-version: '{maven-version}'
2092
2093 scm:
2094 - gerrit-trigger-scm:
2095 refspec: ''
2096 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002097 submodule-recursive: '{submodule-recursive}'
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002098
2099 wrappers:
Andrew Grimberg4307a1c2017-03-16 13:00:00 -07002100 - infra-wrappers:
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002101 build-timeout: '{build-timeout}'
2102
2103 triggers:
2104 - trigger-on-build-success:
2105 job-name: '{trigger-job}'
2106
2107 builders:
2108 - provide-maven-settings:
2109 global-settings-file: 'global-settings'
2110 settings-file: '{mvn-settings}'
Anaël Closson09166842017-03-15 11:19:40 +01002111 - inject:
2112 properties-file: version.properties
2113 - maven-target:
2114 maven-version: '{maven-version}'
Jessica Wagantallf13258b2017-10-02 16:43:10 -07002115 pom: '{pom}'
Christopher Lott (cl778h)253e61f2017-07-10 15:44:50 -04002116 goals: 'versions:set versions:update-child-modules versions:commit -B'
Anaël Closson09166842017-03-15 11:19:40 +01002117 properties:
2118 - 'newVersion=${{release_version}}'
2119 settings: '{mvn-settings}'
2120 settings-type: cfp
2121 global-settings: 'global-settings'
2122 global-settings-type: cfp
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002123
2124 - maven-target:
2125 maven-version: '{maven-version}'
Anaël Closson03222ed2017-03-13 16:37:09 +01002126 pom: '{site-pom}'
Christopher Lott (cl778h)e8657162017-10-23 13:48:22 -04002127 goals: 'clean site:site site:stage-deploy -B'
Anaël Clossonadcb39d2017-03-10 15:39:09 +01002128 settings: '{mvn-settings}'
2129 settings-type: cfp
2130 global-settings: 'global-settings'
2131 global-settings-type: cfp
ig61339fdb9d22017-04-03 17:47:19 +03002132
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07002133 publishers:
2134 - infra-shiplogs:
2135 maven-version: '{maven-version}'
2136
ig61339fdb9d22017-04-03 17:47:19 +03002137- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002138 # Job template for Java merge jobs for SDC specific repos
ig61339fdb9d22017-04-03 17:47:19 +03002139 #
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002140 # The purpose of this job template is to run:
2141 # 1. maven clean deploy
ig61339fdb9d22017-04-03 17:47:19 +03002142 #
2143 # Required Variables:
2144 # branch: git branch (eg. stable/lithium or master)
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002145
ig61339fdb9d22017-04-03 17:47:19 +03002146 name: '{project-name}-{stream}-sdc-merge-java'
2147
2148 project-type: freestyle
ig6133cb3f8232017-04-05 14:22:42 +03002149 node: 'ubuntu1604-docker-8c-8g'
ig61339fdb9d22017-04-03 17:47:19 +03002150
2151 properties:
2152 - infra-properties:
2153 build-days-to-keep: '{build-days-to-keep}'
2154
2155 parameters:
2156 - infra-parameters:
2157 project: '{project}'
2158 branch: '{branch}'
2159 refspec: 'refs/heads/{branch}'
2160 artifacts: '{archive-artifacts}'
2161 - maven-exec:
2162 maven-version: '{maven-version}'
2163
2164 scm:
2165 - gerrit-trigger-scm:
2166 refspec: ''
2167 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002168 submodule-recursive: '{submodule-recursive}'
ig61339fdb9d22017-04-03 17:47:19 +03002169
2170 wrappers:
2171 - infra-wrappers:
2172 build-timeout: '{build-timeout}'
2173
2174 triggers:
2175 - gerrit-trigger-patch-merged:
2176 server: '{server-name}'
2177 project: '{project}'
2178 branch: '{branch}'
2179 files: '**'
2180
2181 builders:
2182 - provide-maven-settings:
2183 global-settings-file: 'global-settings'
2184 settings-file: '{mvn-settings}'
ig61339fdb9d22017-04-03 17:47:19 +03002185
2186 - docker-login
2187
ig6133cb3f8232017-04-05 14:22:42 +03002188 - maven-docker-push-daily:
ig61339fdb9d22017-04-03 17:47:19 +03002189 maven-version: '{maven-version}'
ig6133cb3f8232017-04-05 14:22:42 +03002190 mvn-settings: '{mvn-settings}'
2191 pom: '{docker-pom}'
2192 # use default as mvn-profile if profile is not needed
2193 mvn-profile: '{mvn-profile}'
Andrew Grimberg4ecb8f22017-04-06 13:57:46 -07002194
2195 publishers:
2196 - infra-shiplogs:
2197 maven-version: '{maven-version}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002198
2199- job-template:
Jessica Wagantalla0b80c62017-12-21 12:10:19 -08002200 # Job template for building & pushing docker images for AAI specific repos
2201 #
2202 # The purpose of this job template is to run:
2203 # 1. login to the docker registry
2204 # 2. run maven clean install goals skipping tests
2205 # 3. run maven goals
2206 #
2207 # Required Variables:
2208 # pom: name/location of the pom.xml file relative to the workspace
2209 # maven-properties: properties passed to maven
2210
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002211 name: '{project-name}-{stream}-aai-docker-java-version-daily'
2212 project-type: freestyle
2213 node: 'ubuntu1604-docker-8c-8g'
2214
2215 properties:
2216 - infra-properties:
2217 build-days-to-keep: '{build-days-to-keep}'
2218
2219 parameters:
2220 - infra-parameters:
2221 project: '{project}'
2222 branch: '{branch}'
2223 refspec: 'refs/heads/{branch}'
2224 artifacts: '{archive-artifacts}'
2225 - maven-exec:
2226 maven-version: '{maven-version}'
2227
2228 scm:
2229 - gerrit-trigger-scm:
2230 refspec: ''
2231 choosing-strategy: 'default'
Jeremy Phelps11f5d412017-06-30 13:56:19 -05002232 submodule-recursive: '{submodule-recursive}'
Venkata Harish K Kajur2bf22a02017-05-15 16:22:55 -04002233
2234 wrappers:
2235 - infra-wrappers:
2236 build-timeout: '{build-timeout}'
2237
2238 triggers:
2239 # 12 AM UTC
2240 - timed: 'H 12 * * *'
2241 - gerrit-trigger-release-manually:
2242 server: '{server-name}'
2243 project: '{project}'
2244 branch: '{branch}'
2245
2246 builders:
2247
2248 - provide-maven-settings:
2249 global-settings-file: 'global-settings'
2250 settings-file: '{mvn-settings}'
2251
2252 - docker-login
2253
2254 - maven-target:
2255 maven-version: '{maven-version}'
2256 pom: 'pom.xml'
2257 goals: 'clean install -DskipTests -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn'
2258 settings: '{mvn-settings}'
2259 settings-type: cfp
2260 global-settings: 'global-settings'
2261 global-settings-type: cfp
2262
2263 - maven-target:
2264 maven-version: '{maven-version}'
2265 pom: '{pom}'
2266 goals: '{mvn-goals}'
2267 settings: '{mvn-settings}'
2268 settings-type: cfp
2269 global-settings: 'global-settings'
2270 global-settings-type: cfp
2271 properties:
2272 - maven.test.skip=true
2273 - docker.pull.registry=nexus3.onap.org:10001
2274 - docker.push.registry=nexus3.onap.org:10003
2275
2276 publishers:
2277 - infra-shiplogs:
2278 maven-version: '{maven-version}'
2279