blob: ab8662831d34e0e4fbf112107cfa9cb8397286df [file] [log] [blame]
Brian O'Connor9fbe7722017-10-27 12:44:04 -07001---
2
3- job_boiler_plate: &job_boiler_plate
4 name: job-boiler-plate
5
6 project-type: freestyle
7 node: '{build-node}'
8
9 ######################
10 # Default parameters #
11 ######################
12
13 branch: master
Brian O'Connor9fbe7722017-10-27 12:44:04 -070014 git-url: '$GIT_URL/$GERRIT_PROJECT'
15
16 #####################
17 # Job Configuration #
18 #####################
19
20 properties:
21 - lf-infra-properties:
22 project: '{project}'
23 build-days-to-keep: '{build-days-to-keep}'
24 #- github:
25 # url: '{git-url}/{github-org}/{project}'
26
27 parameters:
28 - lf-infra-parameters:
29 project: '{project}'
Ray Milkeye0b54ef2017-10-31 16:17:34 -070030 branch: '{stream}'
Brian O'Connor9fbe7722017-10-27 12:44:04 -070031 stream: '{stream}'
32 lftools-version: '{lftools-version}'
33
34 wrappers:
35 - lf-infra-wrappers:
36 build-timeout: '{build-timeout}'
37 jenkins-ssh-credential: '{jenkins-ssh-credential}'
38
39
40- verify_boiler_plate: &verify_boiler_plate
41 name: verify_boiler_plate
42
43 concurrent: true
44
45 scm:
Brian O'Connore78aff62017-10-30 14:08:51 -070046 - lf-infra-gerrit-scm:
47 git-url: '{git-url}'
Brian O'Connor9fbe7722017-10-27 12:44:04 -070048 refspec: '$GERRIT_REFSPEC'
49 branch: '$GERRIT_BRANCH'
Zack Williams05f06082020-01-22 14:19:34 -070050 submodule-disable: '{submodule-disable}'
Brian O'Connor9fbe7722017-10-27 12:44:04 -070051 submodule-recursive: '{submodule-recursive}'
Zack Williams05f06082020-01-22 14:19:34 -070052 submodule-timeout: '{submodule-timeout}'
Brian O'Connore78aff62017-10-30 14:08:51 -070053 choosing-strategy: gerrit
Brian O'Connor9fbe7722017-10-27 12:44:04 -070054 jenkins-ssh-credential: '{jenkins-ssh-credential}'
55
56 triggers:
57 - gerrit:
58 #server-name: '{gerrit-server-name}'
59 server-name: 'ONOS Project Gerrit'
60 #trigger-on: '{obj:gerrit_verify_triggers}'
61 trigger-on:
62 - patchset-created-event:
63 exclude-drafts: true
64 exclude-trivial-rebase: false
65 exclude-no-code-change: true
Yuta HIGUCHI19f94672018-05-04 12:33:23 -070066 - draft-published-event: true
Brian O'Connoredd87412017-10-30 19:27:08 -070067 - comment-added-contains-event:
68 comment-contains-value: '(?i)^.*recheck$'
Brian O'Connor9fbe7722017-10-27 12:44:04 -070069 projects:
70 - project-compare-type: PLAIN
Ray Milkey20beeae2017-10-31 15:26:10 -070071 project-pattern: '{project}'
Brian O'Connor9fbe7722017-10-27 12:44:04 -070072 branches:
73 - branch-compare-type: ANT
Ray Milkeye0b54ef2017-10-31 16:17:34 -070074 branch-pattern: '**/{stream}'
Ray Milkeyc0c94f52017-10-30 17:36:14 -070075 #file-paths: '{obj:gerrit_trigger_file_paths}'
Brian O'Connor9fbe7722017-10-27 12:44:04 -070076
Ray Milkeye2175452020-05-06 12:22:58 -070077- weekly_boiler_plate: &weekly_boiler_plate
78 name: weekly_boiler_plate
Ray Milkey8e462202017-11-02 10:18:37 -070079
80 concurrent: true
81
82 scm:
83 - lf-infra-gerrit-scm:
84 git-url: '{git-url}'
85 refspec: '$GERRIT_REFSPEC'
86 branch: '$GERRIT_BRANCH'
Zack Williams05f06082020-01-22 14:19:34 -070087 submodule-disable: '{submodule-disable}'
Ray Milkey8e462202017-11-02 10:18:37 -070088 submodule-recursive: '{submodule-recursive}'
Zack Williams05f06082020-01-22 14:19:34 -070089 submodule-timeout: '{submodule-timeout}'
Ray Milkey8e462202017-11-02 10:18:37 -070090 choosing-strategy: gerrit
91 jenkins-ssh-credential: '{jenkins-ssh-credential}'
92
93 triggers:
Ray Milkeye2175452020-05-06 12:22:58 -070094 - timed: '@weekly'
Ray Milkey8e462202017-11-02 10:18:37 -070095
Ray Milkeyc6e9a852018-01-30 13:27:06 -080096# FIXME - there is a Slack integration plugin in 2.0.3
97 publishers:
98 - raw:
99 xml: |
100 <jenkins.plugins.slack.SlackNotifier plugin="slack@2.3">
101 <baseUrl/>
102 <teamDomain/>
103 <authToken/>
104 <authTokenCredentialId>slack-token</authTokenCredentialId>
105 <botUser>false</botUser>
106 <room>build-status</room>
107 <startNotification>false</startNotification>
108 <notifySuccess>false</notifySuccess>
109 <notifyAborted>true</notifyAborted>
110 <notifyNotBuilt>true</notifyNotBuilt>
111 <notifyUnstable>true</notifyUnstable>
112 <notifyRegression>true</notifyRegression>
113 <notifyFailure>true</notifyFailure>
114 <notifyBackToNormal>true</notifyBackToNormal>
115 <notifyRepeatedFailure>false</notifyRepeatedFailure>
116 <includeTestSummary>false</includeTestSummary>
117 <includeFailedTests>false</includeFailedTests>
118 <commitInfoChoice>AUTHORS_AND_TITLES</commitInfoChoice>
119 <includeCustomMessage>false</includeCustomMessage>
120 <customMessage/>
121 </jenkins.plugins.slack.SlackNotifier>
122
123
124
Ray Milkeye2175452020-05-06 12:22:58 -0700125- weekly_boiler_plate_with_slack: &weekly_boiler_plate_with_slack
126 name: weekly_boiler_plate_with_slack
Ray Milkeyd9f73662017-11-06 10:29:51 -0800127
128 concurrent: true
129
130 scm:
131 - lf-infra-gerrit-scm:
132 git-url: '{git-url}'
133 refspec: '$GERRIT_REFSPEC'
134 branch: '$GERRIT_BRANCH'
Zack Williams05f06082020-01-22 14:19:34 -0700135 submodule-disable: '{submodule-disable}'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800136 submodule-recursive: '{submodule-recursive}'
Zack Williams05f06082020-01-22 14:19:34 -0700137 submodule-timeout: '{submodule-timeout}'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800138 choosing-strategy: gerrit
139 jenkins-ssh-credential: '{jenkins-ssh-credential}'
140
141 triggers:
Ray Milkeye2175452020-05-06 12:22:58 -0700142 - timed: '@weekly'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800143
Ray Milkeyc6e9a852018-01-30 13:27:06 -0800144# FIXME - there is a Slack integration plugin in 2.0.3
145 publishers:
146 - raw:
147 xml: |
148 <jenkins.plugins.slack.SlackNotifier plugin="slack@2.3">
149 <baseUrl/>
150 <teamDomain/>
151 <authToken/>
152 <authTokenCredentialId>slack-token</authTokenCredentialId>
153 <botUser>false</botUser>
154 <room>build-status</room>
155 <startNotification>false</startNotification>
156 <notifySuccess>false</notifySuccess>
157 <notifyAborted>true</notifyAborted>
158 <notifyNotBuilt>true</notifyNotBuilt>
159 <notifyUnstable>true</notifyUnstable>
160 <notifyRegression>true</notifyRegression>
161 <notifyFailure>true</notifyFailure>
162 <notifyBackToNormal>true</notifyBackToNormal>
163 <notifyRepeatedFailure>false</notifyRepeatedFailure>
164 <includeTestSummary>false</includeTestSummary>
165 <includeFailedTests>false</includeFailedTests>
166 <commitInfoChoice>AUTHORS_AND_TITLES</commitInfoChoice>
167 <includeCustomMessage>false</includeCustomMessage>
168 <customMessage/>
169 </jenkins.plugins.slack.SlackNotifier>
170
Ray Milkey4309d9b2017-11-17 13:41:46 -0800171- release_build_boiler_plate: &release_build_boiler_plate
172 name: release_build_boiler_plate
173
174 concurrent: true
175
176 parameters:
177 - lf-infra-parameters:
178 project: '{project}'
179 branch: '{stream}'
180 stream: '{stream}'
181 lftools-version: '{lftools-version}'
182
183 - string:
184 name: ONOS_VERSION
Ray Milkeyfef4be02018-11-08 15:34:13 -0800185 default: '1.15'
Ray Milkeyb40e5672018-01-26 10:10:45 -0800186 description: 'Version tag of ONOS to build'
Ray Milkey4309d9b2017-11-17 13:41:46 -0800187
188 - string:
189 name: ONOS_NEXT_VERSION
Ray Milkeyfef4be02018-11-08 15:34:13 -0800190 default: '1.15.0-SNAPSHOT'
Ray Milkeyb40e5672018-01-26 10:10:45 -0800191 description: 'Version of ONOS to reset tree to'
192
193 scm:
194 - lf-infra-gerrit-scm:
195 git-url: '{git-url}'
196 refspec: '$GERRIT_REFSPEC'
197 branch: '$GERRIT_BRANCH'
Zack Williams05f06082020-01-22 14:19:34 -0700198 submodule-disable: '{submodule-disable}'
Ray Milkeyb40e5672018-01-26 10:10:45 -0800199 submodule-recursive: '{submodule-recursive}'
Zack Williams05f06082020-01-22 14:19:34 -0700200 submodule-timeout: '{submodule-timeout}'
Ray Milkeyb40e5672018-01-26 10:10:45 -0800201 choosing-strategy: gerrit
202 jenkins-ssh-credential: '{jenkins-ssh-credential}'
203
204- docker_build_boiler_plate: &docker_build_boiler_plate
205 name: release_build_boiler_plate
206
207 concurrent: true
208
209 parameters:
210 - lf-infra-parameters:
211 project: '{project}'
212 branch: '{stream}'
213 stream: '{stream}'
214 lftools-version: '{lftools-version}'
215
216 - string:
217 name: ONOS_TAG
218 default: ''
219 description: 'Tag of ONOS to build'
Ray Milkey4309d9b2017-11-17 13:41:46 -0800220
221 scm:
222 - lf-infra-gerrit-scm:
223 git-url: '{git-url}'
224 refspec: '$GERRIT_REFSPEC'
225 branch: '$GERRIT_BRANCH'
Zack Williams05f06082020-01-22 14:19:34 -0700226 submodule-disable: '{submodule-disable}'
Ray Milkey4309d9b2017-11-17 13:41:46 -0800227 submodule-recursive: '{submodule-recursive}'
Zack Williams05f06082020-01-22 14:19:34 -0700228 submodule-timeout: '{submodule-timeout}'
Ray Milkey4309d9b2017-11-17 13:41:46 -0800229 choosing-strategy: gerrit
230 jenkins-ssh-credential: '{jenkins-ssh-credential}'
231
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700232- job-template:
233 #default name is global
234 name: '{project-name}-{stream}-verify'
235
236 # Job template for Java verify jobs
237 #
238 # The purpose of this job templte is to run "maven clean install" for
239 # projects using this template.
240 #
241 # Required Variables:
242 # branch: git branch (eg. master)
243
244 <<: *job_boiler_plate
245 # yamllint disable-line rule:key-duplicates
246 <<: *verify_boiler_plate
247
248 builders:
249 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkey7aa43462017-10-30 16:15:23 -0700250 - shell: !include-raw-escape: onos-verify.sh
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700251 # JJB 1.6.2 does not support parameter expansion on filename?
252 #- shell: !include-raw-escape: {project-name}-verify.sh
253
Ray Milkey2c9ed832018-08-07 10:45:52 -0700254- job-template:
255 #default name is global
256 name: '{project-name}-{stream}-bazel-verify'
257
258 # Job template for Java verify jobs
259 #
260 # Required Variables:
261 # branch: git branch (eg. master)
262
263 <<: *job_boiler_plate
264 # yamllint disable-line rule:key-duplicates
265 <<: *verify_boiler_plate
266
267 builders:
268 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkeyd83ef8e2018-11-09 11:57:01 -0800269 - shell: !include-raw-escape: install-bazel.sh
Ray Milkey2c9ed832018-08-07 10:45:52 -0700270 - shell: !include-raw-escape: onos-bazel-verify.sh
271 # JJB 1.6.2 does not support parameter expansion on filename?
272 #- shell: !include-raw-escape: {project-name}-verify.sh
273
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700274# workaround for lack of parameter expansion support in shell: (see above)
275- job-template:
276 #default name is global
277 name: 'onos-yang-tools-{stream}-verify'
278
279 # Job template for Java verify jobs
280 #
281 # The purpose of this job templte is to run "maven clean install" for
282 # projects using this template.
283 #
284 # Required Variables:
285 # branch: git branch (eg. master)
286
287 <<: *job_boiler_plate
288 # yamllint disable-line rule:key-duplicates
289 <<: *verify_boiler_plate
290
291 builders:
292 #put shell scripts in file then make sure shell check is installed on verify vms
293 - shell: !include-raw-escape: onos-yang-tools-verify.sh
294
Yuta HIGUCHI18948042018-05-08 14:07:51 -0700295- job-template:
296 #default name is global
297 name: 'onos-yang-tools-release-build'
298
299 # Job template for ONOS Yang tools release jobs
300 #
301
302 <<: *job_boiler_plate
303 # yamllint disable-line rule:key-duplicates
304 parameters:
305 - lf-infra-parameters:
306 project: '{project}'
307 branch: '{stream}'
308 stream: '{stream}'
309 lftools-version: '{lftools-version}'
310
311 - string:
312 name: YANGTOOLS_VERSION
Yuta HIGUCHIa36c0672018-05-11 09:45:47 -0700313 default: '2.4.4'
314 description: 'Version tag of ONOS Yang tools to build and release'
Yuta HIGUCHI18948042018-05-08 14:07:51 -0700315
316 - string:
317 name: YANGTOOLS_NEXT_VERSION
318 default: '2.5-SNAPSHOT'
319 description: 'Version of ONOS Yang tools to reset tree to afterwards'
320
321 scm:
322 - lf-infra-gerrit-scm:
323 git-url: '{git-url}'
324 refspec: '$GERRIT_REFSPEC'
325 branch: '$GERRIT_BRANCH'
Zack Williams05f06082020-01-22 14:19:34 -0700326 submodule-disable: '{submodule-disable}'
Yuta HIGUCHI18948042018-05-08 14:07:51 -0700327 submodule-recursive: '{submodule-recursive}'
Zack Williams05f06082020-01-22 14:19:34 -0700328 submodule-timeout: '{submodule-timeout}'
Yuta HIGUCHI18948042018-05-08 14:07:51 -0700329 choosing-strategy: gerrit
330 jenkins-ssh-credential: '{jenkins-ssh-credential}'
Yuta HIGUCHI7e982142018-05-08 15:02:05 -0700331
Yuta HIGUCHI18948042018-05-08 14:07:51 -0700332 builders:
333 - lf-provide-maven-settings:
334 settings-file: 'release-build-maven-settings'
335 global-settings-file: 'release-build-maven-settings'
336 - config-file-provider:
337 files:
338 - file-id: 'onos-build-credentials'
339 target: 'onos-build-credentials'
340 variable: 'CREDENTIALS_FILE'
341 - file-id: 'buck-config-local'
342 target: '.buckconfig.local'
343 variable: 'BUCK_CONFIG_FILE'
344 - file-id: 'gpg-key'
345 target: 'jenkins.key'
346 variable: 'GPG_KEY_FILE'
347 - file-id: 'release-build-maven-settings'
348 target: 'settings.xml'
349 variable: 'MAVEN_SETTINGS'
350 - file-id: 'api-onosproject-ssh-key'
351 target: 'id_rsa.pub'
352 variable: 'API_ONOSPROJECT_SSH_KEY'
353
354 #put shell scripts in file then make sure shell check is installed on verify vms
355 - shell: !include-raw-escape: onos-yang-tools-release-build.sh
356 # JJB 1.6.2 does not support parameter expansion on filename?
357 #- shell: !include-raw-escape: {project-name}-verify.sh
358
359
Ray Milkey83d912a2017-11-01 13:49:31 -0700360# workaround for lack of parameter expansion support in shell: (see above)
361- job-template:
362 #default name is global
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800363 name: 'onos-app-samples-{stream}-verify'
364
365 # Job template for Java verify jobs
366 #
367 # The purpose of this job templte is to run "maven clean install" for
368 # projects using this template.
369 #
370 # Required Variables:
371 # branch: git branch (eg. master)
372
373 <<: *job_boiler_plate
374 # yamllint disable-line rule:key-duplicates
375 <<: *verify_boiler_plate
376
377 builders:
378 #put shell scripts in file then make sure shell check is installed on verify vms
379 - shell: !include-raw-escape: onos-app-samples-verify.sh
380
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800381# workaround for lack of parameter expansion support in shell: (see above)
382- job-template:
383 #default name is global
384 name: 'onos-loxi-{stream}-verify'
385
386 # Job template for Java verify jobs
387 #
388 # The purpose of this job templte is to run "maven clean install" for
389 # projects using this template.
390 #
391 # Required Variables:
392 # branch: git branch (eg. master)
393
394 <<: *job_boiler_plate
395 # yamllint disable-line rule:key-duplicates
396 <<: *verify_boiler_plate
397
398 builders:
399 #put shell scripts in file then make sure shell check is installed on verify vms
400 - shell: !include-raw-escape: onos-loxi-verify.sh
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800401
402# workaround for lack of parameter expansion support in shell: (see above)
403- job-template:
404 #default name is global
Ray Milkey83d912a2017-11-01 13:49:31 -0700405 name: 'onos-gui-{stream}-verify'
406
407 # Job template for Java verify jobs
408 #
409 # The purpose of this job templte is to run "maven clean install" for
410 # projects using this template.
411 #
412 # Required Variables:
413 # branch: git branch (eg. master)
414
415 <<: *job_boiler_plate
416 # yamllint disable-line rule:key-duplicates
417 <<: *verify_boiler_plate
418
419 builders:
420 #put shell scripts in file then make sure shell check is installed on verify vms
421 - shell: !include-raw-escape: onos-gui-verify.sh
422
Ray Milkey8e462202017-11-02 10:18:37 -0700423- job-template:
424 #default name is global
425 name: 'onos-{stream}-release-build-verify'
426
427 # Job template for Java release check jobs
428 #
429
430 <<: *job_boiler_plate
431 # yamllint disable-line rule:key-duplicates
Ray Milkeye2175452020-05-06 12:22:58 -0700432 <<: *weekly_boiler_plate
Ray Milkey8e462202017-11-02 10:18:37 -0700433
434 builders:
Ray Milkeyd3d7fa82018-08-14 17:20:52 -0700435 - config-file-provider:
436 files:
437 - file-id: 'gpg-key'
438 target: 'jenkins.key'
439 variable: 'GPG_KEY_FILE'
Ray Milkey8fae9a72017-11-17 10:03:54 -0800440
Ray Milkey8e462202017-11-02 10:18:37 -0700441 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkeyf465a292018-11-12 09:14:16 -0800442 - shell: !include-raw-escape: install-bazel.sh
Ray Milkey8e462202017-11-02 10:18:37 -0700443 - shell: !include-raw-escape: onos-release-build-verify.sh
444 # JJB 1.6.2 does not support parameter expansion on filename?
445 #- shell: !include-raw-escape: {project-name}-verify.sh
446
Ray Milkeyd9f73662017-11-06 10:29:51 -0800447- job-template:
448 #default name is global
Ray Milkey2afc4a52017-11-17 11:01:38 -0800449 name: 'onos-release-build'
450
451 # Job template for Java release jobs
452 #
453
454 <<: *job_boiler_plate
455 # yamllint disable-line rule:key-duplicates
Ray Milkey4309d9b2017-11-17 13:41:46 -0800456 <<: *release_build_boiler_plate
Ray Milkey2afc4a52017-11-17 11:01:38 -0800457
458 builders:
Ray Milkey094fd002017-11-22 10:21:59 -0800459 - lf-provide-maven-settings:
460 settings-file: 'release-build-maven-settings'
461 global-settings-file: 'release-build-maven-settings'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800462 - config-file-provider:
463 files:
464 - file-id: 'onos-build-credentials'
465 target: 'onos-build-credentials'
466 variable: 'CREDENTIALS_FILE'
Ray Milkeye8fd4f02017-11-17 14:54:18 -0800467 - file-id: 'buck-config-local'
468 target: '.buckconfig.local'
469 variable: 'BUCK_CONFIG_FILE'
Ray Milkeyb867be82017-11-27 13:29:19 -0800470 - file-id: 'gpg-key'
471 target: 'jenkins.key'
472 variable: 'GPG_KEY_FILE'
Ray Milkey43e7f932017-11-27 08:48:42 -0800473 - file-id: 'release-build-maven-settings'
474 target: 'settings.xml'
475 variable: 'MAVEN_SETTINGS'
Ray Milkey7d774fb2017-12-05 14:57:30 -0800476 - file-id: 'api-onosproject-ssh-key'
477 target: 'id_rsa.pub'
478 variable: 'API_ONOSPROJECT_SSH_KEY'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800479
480 #put shell scripts in file then make sure shell check is installed on verify vms
481 - shell: !include-raw-escape: onos-release-build.sh
482 # JJB 1.6.2 does not support parameter expansion on filename?
483 #- shell: !include-raw-escape: {project-name}-verify.sh
484
485- job-template:
486 #default name is global
Ray Milkey7c8b3f22018-08-13 15:01:12 -0700487 name: 'onos-bazel-release-build'
488
489 # Job template for Java release jobs
490 #
491
492 <<: *job_boiler_plate
493 # yamllint disable-line rule:key-duplicates
494 <<: *release_build_boiler_plate
495
496 builders:
497 - lf-provide-maven-settings:
498 settings-file: 'release-build-maven-settings'
499 global-settings-file: 'release-build-maven-settings'
500 - config-file-provider:
501 files:
502 - file-id: 'onos-build-credentials'
503 target: 'onos-build-credentials'
504 variable: 'CREDENTIALS_FILE'
505 - file-id: 'gpg-key'
506 target: 'jenkins.key'
507 variable: 'GPG_KEY_FILE'
508 - file-id: 'release-build-maven-settings'
509 target: 'settings.xml'
510 variable: 'MAVEN_SETTINGS'
511 - file-id: 'api-onosproject-ssh-key'
512 target: 'id_rsa.pub'
513 variable: 'API_ONOSPROJECT_SSH_KEY'
514
515 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkeyd83ef8e2018-11-09 11:57:01 -0800516 - shell: !include-raw-escape: install-bazel.sh
Ray Milkey7c8b3f22018-08-13 15:01:12 -0700517 - shell: !include-raw-escape: onos-bazel-release-build.sh
518 # JJB 1.6.2 does not support parameter expansion on filename?
519 #- shell: !include-raw-escape: {project-name}-verify.sh
520
521- job-template:
522 #default name is global
Ray Milkey0caba7f2018-01-08 12:56:18 -0800523 name: 'onos-docker-build'
524
525 # Job template for Docker jobs
526 #
527
528 <<: *job_boiler_plate
529 # yamllint disable-line rule:key-duplicates
Ray Milkeyb40e5672018-01-26 10:10:45 -0800530 <<: *docker_build_boiler_plate
Ray Milkey0caba7f2018-01-08 12:56:18 -0800531
532 builders:
533 - lf-provide-maven-settings:
534 settings-file: 'release-build-maven-settings'
535 global-settings-file: 'release-build-maven-settings'
536 - config-file-provider:
537 files:
538 - file-id: 'onos-build-credentials'
539 target: 'onos-build-credentials'
540 variable: 'CREDENTIALS_FILE'
541 - file-id: 'buck-config-local'
542 target: '.buckconfig.local'
543 variable: 'BUCK_CONFIG_FILE'
544 - file-id: 'gpg-key'
545 target: 'jenkins.key'
546 variable: 'GPG_KEY_FILE'
547 - file-id: 'release-build-maven-settings'
548 target: 'settings.xml'
549 variable: 'MAVEN_SETTINGS'
550 - file-id: 'api-onosproject-ssh-key'
551 target: 'id_rsa.pub'
552 variable: 'API_ONOSPROJECT_SSH_KEY'
553
554 #put shell scripts in file then make sure shell check is installed on verify vms
555 - shell: !include-raw-escape: onos-docker-build.sh
556 # JJB 1.6.2 does not support parameter expansion on filename?
557 #- shell: !include-raw-escape: {project-name}-verify.sh
558
559- job-template:
560 #default name is global
Ray Milkeyd9f73662017-11-06 10:29:51 -0800561 name: 'onos-{stream}-maven-verify'
562
563 <<: *job_boiler_plate
564 # yamllint disable-line rule:key-duplicates
Ray Milkeye2175452020-05-06 12:22:58 -0700565 <<: *weekly_boiler_plate_with_slack
Ray Milkeyd9f73662017-11-06 10:29:51 -0800566
567 builders:
568 #put shell scripts in file then make sure shell check is installed on verify vms
569 - shell: !include-raw-escape: onos-maven-verify.sh
570 # JJB 1.6.2 does not support parameter expansion on filename?
571 #- shell: !include-raw-escape: {project-name}-verify.sh
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700572
Ray Milkey20d22522017-11-08 10:55:52 -0800573- job-template:
574 #default name is global
575 name: 'onos-{stream}-sonar'
576
577 <<: *job_boiler_plate
578 # yamllint disable-line rule:key-duplicates
Ray Milkeye2175452020-05-06 12:22:58 -0700579 <<: *weekly_boiler_plate
Ray Milkey20d22522017-11-08 10:55:52 -0800580
581 builders:
582 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkey53883e22018-11-21 12:23:57 -0800583 - shell: !include-raw-escape: install-bazel.sh
Ray Milkey20d22522017-11-08 10:55:52 -0800584 - shell: !include-raw-escape: onos-sonar.sh
585 # JJB 1.6.2 does not support parameter expansion on filename?
586 #- shell: !include-raw-escape: {project-name}-verify.sh
587
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700588- project:
589 name: onos
590 project-name: onos
591 project: onos
592
Ray Milkey43a340c2018-02-20 13:49:00 -0800593 build-timeout: '30'
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700594 build-node: 'ubuntu16.04-basebuild-8c-15g'
595
596 stream:
Ray Milkey1bc13772017-10-31 15:57:17 -0700597 - 'onos-1.10'
598 - 'onos-1.11'
Ray Milkey47d4f722017-11-21 09:36:37 -0800599 - 'onos-1.12'
Ray Milkeyfcb0db62018-04-13 16:47:46 -0700600 - 'onos-1.13'
Ray Milkey648eb912018-08-20 14:24:56 -0700601 - 'onos-1.14'
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700602
603 jobs:
604 - '{project-name}-{stream}-verify'
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700605
606- project:
Ray Milkey2c9ed832018-08-07 10:45:52 -0700607 name: onos-bazel
608 project-name: onos-bazel
609 project: onos
610
611 build-timeout: '30'
612 build-node: 'ubuntu16.04-basebuild-8c-15g'
613
614 stream:
615 - 'master'
Ray Milkey648eb912018-08-20 14:24:56 -0700616 - 'onos-1.14'
Ray Milkeyfef4be02018-11-08 15:34:13 -0800617 - 'onos-1.15'
Ray Milkey785e6232018-12-20 08:18:15 -0800618 - 'onos-2.0'
Ray Milkey12398252019-04-22 10:51:26 -0700619 - 'onos-2.1'
Ray Milkey70043e12019-08-23 13:18:20 -0700620 - 'onos-2.2'
Ray Milkey5a0238c2020-01-21 15:47:52 -0800621 - 'onos-2.3'
Ray Milkey805f3342020-06-04 15:41:24 -0700622 - 'onos-2.4'
Ray Milkey91bf53e2018-11-05 14:22:51 -0800623 - 'upan-connect18'
Ray Milkey219ab182018-11-26 14:19:34 -0800624 - 'upan-connect18-1.14'
Ray Milkey2c9ed832018-08-07 10:45:52 -0700625
626 jobs:
627 - '{project-name}-{stream}-bazel-verify'
628
629- project:
Ray Milkey83d912a2017-11-01 13:49:31 -0700630 name: onos-gui
631 project-name: onos-gui
Ray Milkey24fe1ee2017-11-01 13:59:07 -0700632 project: onos
Ray Milkey83d912a2017-11-01 13:49:31 -0700633
Ray Milkey43a340c2018-02-20 13:49:00 -0800634 build-timeout: '30'
Ray Milkey83d912a2017-11-01 13:49:31 -0700635 build-node: 'ubuntu16.04-basebuild-8c-15g'
636
637 stream:
638 - 'master'
639 - 'onos-1.10'
640 - 'onos-1.11'
Ray Milkey47d4f722017-11-21 09:36:37 -0800641 - 'onos-1.12'
Ray Milkeyfcb0db62018-04-13 16:47:46 -0700642 - 'onos-1.13'
Ray Milkey648eb912018-08-20 14:24:56 -0700643 - 'onos-1.14'
Ray Milkeyfef4be02018-11-08 15:34:13 -0800644 - 'onos-1.15'
Ray Milkey785e6232018-12-20 08:18:15 -0800645 - 'onos-2.0'
Ray Milkey12398252019-04-22 10:51:26 -0700646 - 'onos-2.1'
Ray Milkey70043e12019-08-23 13:18:20 -0700647 - 'onos-2.2'
Ray Milkey5a0238c2020-01-21 15:47:52 -0800648 - 'onos-2.3'
Ray Milkey805f3342020-06-04 15:41:24 -0700649 - 'onos-2.4'
650
Ray Milkey83d912a2017-11-01 13:49:31 -0700651
652 jobs:
653 - 'onos-gui-{stream}-verify'
654
655- project:
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700656 name: onos-yang-tools
657 project-name: onos-yang-tools
658 project: onos-yang-tools
659
Ray Milkey43a340c2018-02-20 13:49:00 -0800660 build-timeout: '30'
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700661 build-node: 'ubuntu16.04-basebuild-8c-15g'
662
663 stream:
664 - 'master'
665
666 jobs:
667 - 'onos-yang-tools-{stream}-verify'
Ray Milkey8e462202017-11-02 10:18:37 -0700668
669- project:
Yuta HIGUCHI7e982142018-05-08 15:02:05 -0700670 name: onos-yang-tools-release-build
671 project-name: onos-yang-tools-release-build
672 project: onos-yang-tools
673
674 build-timeout: '240'
675 build-node: 'ubuntu16.04-basebuild-8c-15g'
676
677 stream: 'master'
678
679 jobs:
680 - 'onos-yang-tools-release-build'
681
682
683- project:
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800684 name: onos-app-samples
685 project-name: onos-app-samples
686 project: onos-app-samples
687
Ray Milkey43a340c2018-02-20 13:49:00 -0800688 build-timeout: '30'
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800689 build-node: 'ubuntu16.04-basebuild-8c-15g'
690
691 stream:
692 - 'master'
693
694 jobs:
695 - 'onos-app-samples-{stream}-verify'
696
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800697- project:
698 name: onos-loxi
699 project-name: onos-loxi
700 project: onos-loxi
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800701
Ray Milkey43a340c2018-02-20 13:49:00 -0800702 build-timeout: '30'
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800703 build-node: 'ubuntu16.04-basebuild-8c-15g'
704
705 stream:
706 - 'master'
707
708 jobs:
709 - 'onos-loxi-{stream}-verify'
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800710
711- project:
Ray Milkey8e462202017-11-02 10:18:37 -0700712 name: onos-release
713 project-name: onos-release
714 project: onos
715
Ray Milkey2d55e972018-05-04 13:01:36 -0700716 build-timeout: '240'
Ray Milkey8e462202017-11-02 10:18:37 -0700717 build-node: 'ubuntu16.04-basebuild-8c-15g'
718
719 stream:
720 - 'master'
Ray Milkey805f3342020-06-04 15:41:24 -0700721 - 'onos-2.4'
Ray Milkeye2175452020-05-06 12:22:58 -0700722 - 'onos-2.2'
Ray Milkey7f8a23c2019-04-05 09:43:55 -0700723 - 'onos-1.15'
Ray Milkey7f8a23c2019-04-05 09:43:55 -0700724 - 'onos-1.12'
Ray Milkey8e462202017-11-02 10:18:37 -0700725
726 jobs:
727 - 'onos-{stream}-release-build-verify'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800728
729- project:
730 name: onos-maven-verify
731 project-name: onos-maven-verify
732 project: onos
733
Ray Milkey43a340c2018-02-20 13:49:00 -0800734 build-timeout: '30'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800735 build-node: 'ubuntu16.04-basebuild-8c-15g'
736
737 stream:
Ray Milkeye8f39e02018-04-16 13:34:34 -0700738 - 'onos-1.12'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800739
740 jobs:
741 - 'onos-{stream}-maven-verify'
Ray Milkey20d22522017-11-08 10:55:52 -0800742
743- project:
744 name: onos-sonar
745 project-name: onos-sonar
746 project: onos
747
Ray Milkey43a340c2018-02-20 13:49:00 -0800748 build-timeout: '90'
Ray Milkey20d22522017-11-08 10:55:52 -0800749 build-node: 'ubuntu16.04-basebuild-8c-15g'
750
751 stream:
752 - 'master'
753
754 jobs:
755 - 'onos-{stream}-sonar'
756
Ray Milkey2afc4a52017-11-17 11:01:38 -0800757- project:
758 name: onos-release-build
759 project-name: onos-release-build
760 project: onos
761
Ray Milkey884a2b82018-05-22 08:29:45 -0700762 build-timeout: '240'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800763 build-node: 'ubuntu16.04-basebuild-8c-15g'
764
Ray Milkey4309d9b2017-11-17 13:41:46 -0800765 stream: 'master'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800766
767 jobs:
768 - 'onos-release-build'
Ray Milkey0caba7f2018-01-08 12:56:18 -0800769
770- project:
Ray Milkey7c8b3f22018-08-13 15:01:12 -0700771 name: onos-bazel-release-build
772 project-name: onos-bazel-release-build
773 project: onos
774
775 build-timeout: '240'
776 build-node: 'ubuntu16.04-basebuild-8c-15g'
777
778 stream: 'master'
779
780 jobs:
781 - 'onos-bazel-release-build'
782
783- project:
Ray Milkey0caba7f2018-01-08 12:56:18 -0800784 name: onos-docker-build
785 project-name: onos-docker-build
786 project: onos
787
Ray Milkey43a340c2018-02-20 13:49:00 -0800788 build-timeout: '90'
Ray Milkey0caba7f2018-01-08 12:56:18 -0800789 build-node: 'ubuntu16.04-basebuild-8c-15g'
790
791 stream: 'master'
792
793 jobs:
794 - 'onos-docker-build'
Ray Milkey3aa8af52018-03-09 09:10:08 -0800795