blob: 07b2e76c13efec5f67975d9a0cbc649a0411de16 [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
Ray Milkey8e462202017-11-02 10:18:37 -0700402- job-template:
403 #default name is global
404 name: 'onos-{stream}-release-build-verify'
405
406 # Job template for Java release check jobs
407 #
408
409 <<: *job_boiler_plate
410 # yamllint disable-line rule:key-duplicates
Ray Milkeye2175452020-05-06 12:22:58 -0700411 <<: *weekly_boiler_plate
Ray Milkey8e462202017-11-02 10:18:37 -0700412
413 builders:
Ray Milkeyd3d7fa82018-08-14 17:20:52 -0700414 - config-file-provider:
415 files:
416 - file-id: 'gpg-key'
417 target: 'jenkins.key'
418 variable: 'GPG_KEY_FILE'
Ray Milkey8fae9a72017-11-17 10:03:54 -0800419
Ray Milkey8e462202017-11-02 10:18:37 -0700420 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkeyf465a292018-11-12 09:14:16 -0800421 - shell: !include-raw-escape: install-bazel.sh
Ray Milkey8e462202017-11-02 10:18:37 -0700422 - shell: !include-raw-escape: onos-release-build-verify.sh
423 # JJB 1.6.2 does not support parameter expansion on filename?
424 #- shell: !include-raw-escape: {project-name}-verify.sh
425
Ray Milkeyd9f73662017-11-06 10:29:51 -0800426- job-template:
427 #default name is global
Ray Milkey2afc4a52017-11-17 11:01:38 -0800428 name: 'onos-release-build'
429
430 # Job template for Java release jobs
431 #
432
433 <<: *job_boiler_plate
434 # yamllint disable-line rule:key-duplicates
Ray Milkey4309d9b2017-11-17 13:41:46 -0800435 <<: *release_build_boiler_plate
Ray Milkey2afc4a52017-11-17 11:01:38 -0800436
437 builders:
Ray Milkey094fd002017-11-22 10:21:59 -0800438 - lf-provide-maven-settings:
439 settings-file: 'release-build-maven-settings'
440 global-settings-file: 'release-build-maven-settings'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800441 - config-file-provider:
442 files:
443 - file-id: 'onos-build-credentials'
444 target: 'onos-build-credentials'
445 variable: 'CREDENTIALS_FILE'
Ray Milkeye8fd4f02017-11-17 14:54:18 -0800446 - file-id: 'buck-config-local'
447 target: '.buckconfig.local'
448 variable: 'BUCK_CONFIG_FILE'
Ray Milkeyb867be82017-11-27 13:29:19 -0800449 - file-id: 'gpg-key'
450 target: 'jenkins.key'
451 variable: 'GPG_KEY_FILE'
Ray Milkey43e7f932017-11-27 08:48:42 -0800452 - file-id: 'release-build-maven-settings'
453 target: 'settings.xml'
454 variable: 'MAVEN_SETTINGS'
Ray Milkey7d774fb2017-12-05 14:57:30 -0800455 - file-id: 'api-onosproject-ssh-key'
456 target: 'id_rsa.pub'
457 variable: 'API_ONOSPROJECT_SSH_KEY'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800458
459 #put shell scripts in file then make sure shell check is installed on verify vms
460 - shell: !include-raw-escape: onos-release-build.sh
461 # JJB 1.6.2 does not support parameter expansion on filename?
462 #- shell: !include-raw-escape: {project-name}-verify.sh
463
464- job-template:
465 #default name is global
Ray Milkey7c8b3f22018-08-13 15:01:12 -0700466 name: 'onos-bazel-release-build'
467
468 # Job template for Java release jobs
469 #
470
471 <<: *job_boiler_plate
472 # yamllint disable-line rule:key-duplicates
473 <<: *release_build_boiler_plate
474
475 builders:
476 - lf-provide-maven-settings:
477 settings-file: 'release-build-maven-settings'
478 global-settings-file: 'release-build-maven-settings'
479 - config-file-provider:
480 files:
481 - file-id: 'onos-build-credentials'
482 target: 'onos-build-credentials'
483 variable: 'CREDENTIALS_FILE'
484 - file-id: 'gpg-key'
485 target: 'jenkins.key'
486 variable: 'GPG_KEY_FILE'
487 - file-id: 'release-build-maven-settings'
488 target: 'settings.xml'
489 variable: 'MAVEN_SETTINGS'
490 - file-id: 'api-onosproject-ssh-key'
491 target: 'id_rsa.pub'
492 variable: 'API_ONOSPROJECT_SSH_KEY'
493
494 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkeyd83ef8e2018-11-09 11:57:01 -0800495 - shell: !include-raw-escape: install-bazel.sh
Ray Milkey7c8b3f22018-08-13 15:01:12 -0700496 - shell: !include-raw-escape: onos-bazel-release-build.sh
497 # JJB 1.6.2 does not support parameter expansion on filename?
498 #- shell: !include-raw-escape: {project-name}-verify.sh
499
500- job-template:
501 #default name is global
Ray Milkey0caba7f2018-01-08 12:56:18 -0800502 name: 'onos-docker-build'
503
504 # Job template for Docker jobs
505 #
506
507 <<: *job_boiler_plate
508 # yamllint disable-line rule:key-duplicates
Ray Milkeyb40e5672018-01-26 10:10:45 -0800509 <<: *docker_build_boiler_plate
Ray Milkey0caba7f2018-01-08 12:56:18 -0800510
511 builders:
512 - lf-provide-maven-settings:
513 settings-file: 'release-build-maven-settings'
514 global-settings-file: 'release-build-maven-settings'
515 - config-file-provider:
516 files:
517 - file-id: 'onos-build-credentials'
518 target: 'onos-build-credentials'
519 variable: 'CREDENTIALS_FILE'
520 - file-id: 'buck-config-local'
521 target: '.buckconfig.local'
522 variable: 'BUCK_CONFIG_FILE'
523 - file-id: 'gpg-key'
524 target: 'jenkins.key'
525 variable: 'GPG_KEY_FILE'
526 - file-id: 'release-build-maven-settings'
527 target: 'settings.xml'
528 variable: 'MAVEN_SETTINGS'
529 - file-id: 'api-onosproject-ssh-key'
530 target: 'id_rsa.pub'
531 variable: 'API_ONOSPROJECT_SSH_KEY'
532
533 #put shell scripts in file then make sure shell check is installed on verify vms
534 - shell: !include-raw-escape: onos-docker-build.sh
535 # JJB 1.6.2 does not support parameter expansion on filename?
536 #- shell: !include-raw-escape: {project-name}-verify.sh
537
538- job-template:
539 #default name is global
Ray Milkeyd9f73662017-11-06 10:29:51 -0800540 name: 'onos-{stream}-maven-verify'
541
542 <<: *job_boiler_plate
543 # yamllint disable-line rule:key-duplicates
Ray Milkeye2175452020-05-06 12:22:58 -0700544 <<: *weekly_boiler_plate_with_slack
Ray Milkeyd9f73662017-11-06 10:29:51 -0800545
546 builders:
547 #put shell scripts in file then make sure shell check is installed on verify vms
548 - shell: !include-raw-escape: onos-maven-verify.sh
549 # JJB 1.6.2 does not support parameter expansion on filename?
550 #- shell: !include-raw-escape: {project-name}-verify.sh
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700551
552- project:
553 name: onos
554 project-name: onos
555 project: onos
556
Ray Milkey43a340c2018-02-20 13:49:00 -0800557 build-timeout: '30'
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700558 build-node: 'ubuntu16.04-basebuild-8c-15g'
559
560 stream:
Ray Milkey1bc13772017-10-31 15:57:17 -0700561 - 'onos-1.10'
562 - 'onos-1.11'
Ray Milkey47d4f722017-11-21 09:36:37 -0800563 - 'onos-1.12'
Ray Milkeyfcb0db62018-04-13 16:47:46 -0700564 - 'onos-1.13'
Ray Milkey648eb912018-08-20 14:24:56 -0700565 - 'onos-1.14'
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700566
567 jobs:
568 - '{project-name}-{stream}-verify'
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700569
570- project:
Ray Milkey2c9ed832018-08-07 10:45:52 -0700571 name: onos-bazel
572 project-name: onos-bazel
573 project: onos
574
575 build-timeout: '30'
576 build-node: 'ubuntu16.04-basebuild-8c-15g'
577
578 stream:
579 - 'master'
Ray Milkey648eb912018-08-20 14:24:56 -0700580 - 'onos-1.14'
Ray Milkeyfef4be02018-11-08 15:34:13 -0800581 - 'onos-1.15'
Ray Milkey785e6232018-12-20 08:18:15 -0800582 - 'onos-2.0'
Ray Milkey12398252019-04-22 10:51:26 -0700583 - 'onos-2.1'
Ray Milkey70043e12019-08-23 13:18:20 -0700584 - 'onos-2.2'
Ray Milkey5a0238c2020-01-21 15:47:52 -0800585 - 'onos-2.3'
Ray Milkey805f3342020-06-04 15:41:24 -0700586 - 'onos-2.4'
Ray Milkey91bf53e2018-11-05 14:22:51 -0800587 - 'upan-connect18'
Ray Milkey219ab182018-11-26 14:19:34 -0800588 - 'upan-connect18-1.14'
Ray Milkey2c9ed832018-08-07 10:45:52 -0700589
590 jobs:
591 - '{project-name}-{stream}-bazel-verify'
592
593- project:
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700594 name: onos-yang-tools
595 project-name: onos-yang-tools
596 project: onos-yang-tools
597
Ray Milkey43a340c2018-02-20 13:49:00 -0800598 build-timeout: '30'
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700599 build-node: 'ubuntu16.04-basebuild-8c-15g'
600
601 stream:
602 - 'master'
603
604 jobs:
605 - 'onos-yang-tools-{stream}-verify'
Ray Milkey8e462202017-11-02 10:18:37 -0700606
607- project:
Yuta HIGUCHI7e982142018-05-08 15:02:05 -0700608 name: onos-yang-tools-release-build
609 project-name: onos-yang-tools-release-build
610 project: onos-yang-tools
611
612 build-timeout: '240'
613 build-node: 'ubuntu16.04-basebuild-8c-15g'
614
615 stream: 'master'
616
617 jobs:
618 - 'onos-yang-tools-release-build'
619
620
621- project:
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800622 name: onos-app-samples
623 project-name: onos-app-samples
624 project: onos-app-samples
625
Ray Milkey43a340c2018-02-20 13:49:00 -0800626 build-timeout: '30'
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800627 build-node: 'ubuntu16.04-basebuild-8c-15g'
628
629 stream:
630 - 'master'
631
632 jobs:
633 - 'onos-app-samples-{stream}-verify'
634
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800635- project:
636 name: onos-loxi
637 project-name: onos-loxi
638 project: onos-loxi
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800639
Ray Milkey43a340c2018-02-20 13:49:00 -0800640 build-timeout: '30'
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800641 build-node: 'ubuntu16.04-basebuild-8c-15g'
642
643 stream:
644 - 'master'
645
646 jobs:
647 - 'onos-loxi-{stream}-verify'
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800648
649- project:
Ray Milkey8e462202017-11-02 10:18:37 -0700650 name: onos-release
651 project-name: onos-release
652 project: onos
653
Ray Milkey2d55e972018-05-04 13:01:36 -0700654 build-timeout: '240'
Ray Milkey8e462202017-11-02 10:18:37 -0700655 build-node: 'ubuntu16.04-basebuild-8c-15g'
656
657 stream:
658 - 'master'
Ray Milkey805f3342020-06-04 15:41:24 -0700659 - 'onos-2.4'
Ray Milkeye2175452020-05-06 12:22:58 -0700660 - 'onos-2.2'
Ray Milkey7f8a23c2019-04-05 09:43:55 -0700661 - 'onos-1.15'
Ray Milkey7f8a23c2019-04-05 09:43:55 -0700662 - 'onos-1.12'
Ray Milkey8e462202017-11-02 10:18:37 -0700663
664 jobs:
665 - 'onos-{stream}-release-build-verify'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800666
667- project:
668 name: onos-maven-verify
669 project-name: onos-maven-verify
670 project: onos
671
Ray Milkey43a340c2018-02-20 13:49:00 -0800672 build-timeout: '30'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800673 build-node: 'ubuntu16.04-basebuild-8c-15g'
674
675 stream:
Ray Milkeye8f39e02018-04-16 13:34:34 -0700676 - 'onos-1.12'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800677
678 jobs:
679 - 'onos-{stream}-maven-verify'
Ray Milkey20d22522017-11-08 10:55:52 -0800680
681- project:
Ray Milkey2afc4a52017-11-17 11:01:38 -0800682 name: onos-release-build
683 project-name: onos-release-build
684 project: onos
685
Ray Milkey884a2b82018-05-22 08:29:45 -0700686 build-timeout: '240'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800687 build-node: 'ubuntu16.04-basebuild-8c-15g'
688
Ray Milkey4309d9b2017-11-17 13:41:46 -0800689 stream: 'master'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800690
691 jobs:
692 - 'onos-release-build'
Ray Milkey0caba7f2018-01-08 12:56:18 -0800693
694- project:
Ray Milkey7c8b3f22018-08-13 15:01:12 -0700695 name: onos-bazel-release-build
696 project-name: onos-bazel-release-build
697 project: onos
698
699 build-timeout: '240'
700 build-node: 'ubuntu16.04-basebuild-8c-15g'
701
702 stream: 'master'
703
704 jobs:
705 - 'onos-bazel-release-build'
706
707- project:
Ray Milkey0caba7f2018-01-08 12:56:18 -0800708 name: onos-docker-build
709 project-name: onos-docker-build
710 project: onos
711
Ray Milkey43a340c2018-02-20 13:49:00 -0800712 build-timeout: '90'
Ray Milkey0caba7f2018-01-08 12:56:18 -0800713 build-node: 'ubuntu16.04-basebuild-8c-15g'
714
715 stream: 'master'
716
717 jobs:
718 - 'onos-docker-build'
Ray Milkey3aa8af52018-03-09 09:10:08 -0800719