blob: 02ee0ac6f32b8ff82971c0a7a3e73c2c0c44af28 [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
14 submodule-recursive: true
15 git-url: '$GIT_URL/$GERRIT_PROJECT'
16
17 #####################
18 # Job Configuration #
19 #####################
20
21 properties:
22 - lf-infra-properties:
23 project: '{project}'
24 build-days-to-keep: '{build-days-to-keep}'
25 #- github:
26 # url: '{git-url}/{github-org}/{project}'
27
28 parameters:
29 - lf-infra-parameters:
30 project: '{project}'
Ray Milkeye0b54ef2017-10-31 16:17:34 -070031 branch: '{stream}'
Brian O'Connor9fbe7722017-10-27 12:44:04 -070032 stream: '{stream}'
33 lftools-version: '{lftools-version}'
34
35 wrappers:
36 - lf-infra-wrappers:
37 build-timeout: '{build-timeout}'
38 jenkins-ssh-credential: '{jenkins-ssh-credential}'
39
40
41- verify_boiler_plate: &verify_boiler_plate
42 name: verify_boiler_plate
43
44 concurrent: true
45
46 scm:
Brian O'Connore78aff62017-10-30 14:08:51 -070047 - lf-infra-gerrit-scm:
48 git-url: '{git-url}'
Brian O'Connor9fbe7722017-10-27 12:44:04 -070049 refspec: '$GERRIT_REFSPEC'
50 branch: '$GERRIT_BRANCH'
51 submodule-recursive: '{submodule-recursive}'
Brian O'Connore78aff62017-10-30 14:08:51 -070052 choosing-strategy: gerrit
Brian O'Connor9fbe7722017-10-27 12:44:04 -070053 jenkins-ssh-credential: '{jenkins-ssh-credential}'
54
55 triggers:
56 - gerrit:
57 #server-name: '{gerrit-server-name}'
58 server-name: 'ONOS Project Gerrit'
59 #trigger-on: '{obj:gerrit_verify_triggers}'
60 trigger-on:
61 - patchset-created-event:
62 exclude-drafts: true
63 exclude-trivial-rebase: false
64 exclude-no-code-change: true
Yuta HIGUCHI19f94672018-05-04 12:33:23 -070065 - draft-published-event: true
Brian O'Connoredd87412017-10-30 19:27:08 -070066 - comment-added-contains-event:
67 comment-contains-value: '(?i)^.*recheck$'
Brian O'Connor9fbe7722017-10-27 12:44:04 -070068 projects:
69 - project-compare-type: PLAIN
Ray Milkey20beeae2017-10-31 15:26:10 -070070 project-pattern: '{project}'
Brian O'Connor9fbe7722017-10-27 12:44:04 -070071 branches:
72 - branch-compare-type: ANT
Ray Milkeye0b54ef2017-10-31 16:17:34 -070073 branch-pattern: '**/{stream}'
Ray Milkeyc0c94f52017-10-30 17:36:14 -070074 #file-paths: '{obj:gerrit_trigger_file_paths}'
Brian O'Connor9fbe7722017-10-27 12:44:04 -070075
Ray Milkey8e462202017-11-02 10:18:37 -070076- daily_boiler_plate: &daily_boiler_plate
77 name: daily_boiler_plate
78
79 concurrent: true
80
81 scm:
82 - lf-infra-gerrit-scm:
83 git-url: '{git-url}'
84 refspec: '$GERRIT_REFSPEC'
85 branch: '$GERRIT_BRANCH'
86 submodule-recursive: '{submodule-recursive}'
87 choosing-strategy: gerrit
88 jenkins-ssh-credential: '{jenkins-ssh-credential}'
89
90 triggers:
91 - timed: '@daily'
92
Ray Milkeyc6e9a852018-01-30 13:27:06 -080093# FIXME - there is a Slack integration plugin in 2.0.3
94 publishers:
95 - raw:
96 xml: |
97 <jenkins.plugins.slack.SlackNotifier plugin="slack@2.3">
98 <baseUrl/>
99 <teamDomain/>
100 <authToken/>
101 <authTokenCredentialId>slack-token</authTokenCredentialId>
102 <botUser>false</botUser>
103 <room>build-status</room>
104 <startNotification>false</startNotification>
105 <notifySuccess>false</notifySuccess>
106 <notifyAborted>true</notifyAborted>
107 <notifyNotBuilt>true</notifyNotBuilt>
108 <notifyUnstable>true</notifyUnstable>
109 <notifyRegression>true</notifyRegression>
110 <notifyFailure>true</notifyFailure>
111 <notifyBackToNormal>true</notifyBackToNormal>
112 <notifyRepeatedFailure>false</notifyRepeatedFailure>
113 <includeTestSummary>false</includeTestSummary>
114 <includeFailedTests>false</includeFailedTests>
115 <commitInfoChoice>AUTHORS_AND_TITLES</commitInfoChoice>
116 <includeCustomMessage>false</includeCustomMessage>
117 <customMessage/>
118 </jenkins.plugins.slack.SlackNotifier>
119
120
121
Ray Milkeyf2aa9352018-06-06 14:35:35 -0700122- hourly_boiler_plate_with_slack: &hourly_boiler_plate_with_slack
123 name: hourly_boiler_plate_with_slack
Ray Milkeyd9f73662017-11-06 10:29:51 -0800124
125 concurrent: true
126
127 scm:
128 - lf-infra-gerrit-scm:
129 git-url: '{git-url}'
130 refspec: '$GERRIT_REFSPEC'
131 branch: '$GERRIT_BRANCH'
132 submodule-recursive: '{submodule-recursive}'
133 choosing-strategy: gerrit
134 jenkins-ssh-credential: '{jenkins-ssh-credential}'
135
136 triggers:
Yuta HIGUCHI4430a0f2018-05-07 17:30:46 +0000137 - timed: '@hourly'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800138
Ray Milkeyc6e9a852018-01-30 13:27:06 -0800139# FIXME - there is a Slack integration plugin in 2.0.3
140 publishers:
141 - raw:
142 xml: |
143 <jenkins.plugins.slack.SlackNotifier plugin="slack@2.3">
144 <baseUrl/>
145 <teamDomain/>
146 <authToken/>
147 <authTokenCredentialId>slack-token</authTokenCredentialId>
148 <botUser>false</botUser>
149 <room>build-status</room>
150 <startNotification>false</startNotification>
151 <notifySuccess>false</notifySuccess>
152 <notifyAborted>true</notifyAborted>
153 <notifyNotBuilt>true</notifyNotBuilt>
154 <notifyUnstable>true</notifyUnstable>
155 <notifyRegression>true</notifyRegression>
156 <notifyFailure>true</notifyFailure>
157 <notifyBackToNormal>true</notifyBackToNormal>
158 <notifyRepeatedFailure>false</notifyRepeatedFailure>
159 <includeTestSummary>false</includeTestSummary>
160 <includeFailedTests>false</includeFailedTests>
161 <commitInfoChoice>AUTHORS_AND_TITLES</commitInfoChoice>
162 <includeCustomMessage>false</includeCustomMessage>
163 <customMessage/>
164 </jenkins.plugins.slack.SlackNotifier>
165
Ray Milkeyf2aa9352018-06-06 14:35:35 -0700166- hourly_boiler_plate: &hourly_boiler_plate
167 name: hourly_boiler_plate
168
169 concurrent: true
170
171 scm:
172 - lf-infra-gerrit-scm:
173 git-url: '{git-url}'
174 refspec: '$GERRIT_REFSPEC'
175 branch: '$GERRIT_BRANCH'
176 submodule-recursive: '{submodule-recursive}'
177 choosing-strategy: gerrit
178 jenkins-ssh-credential: '{jenkins-ssh-credential}'
179
Ray Milkeyf7633b22018-08-17 08:57:28 -0700180# runs every 4 hours
Ray Milkeyf2aa9352018-06-06 14:35:35 -0700181 triggers:
Ray Milkeyf7633b22018-08-17 08:57:28 -0700182 - timed: 'H 4,8,12,16,20 * * *'
Ray Milkeyc6e9a852018-01-30 13:27:06 -0800183
Ray Milkey4309d9b2017-11-17 13:41:46 -0800184- release_build_boiler_plate: &release_build_boiler_plate
185 name: release_build_boiler_plate
186
187 concurrent: true
188
189 parameters:
190 - lf-infra-parameters:
191 project: '{project}'
192 branch: '{stream}'
193 stream: '{stream}'
194 lftools-version: '{lftools-version}'
195
196 - string:
197 name: ONOS_VERSION
Ray Milkeyfef4be02018-11-08 15:34:13 -0800198 default: '1.15'
Ray Milkeyb40e5672018-01-26 10:10:45 -0800199 description: 'Version tag of ONOS to build'
Ray Milkey4309d9b2017-11-17 13:41:46 -0800200
201 - string:
202 name: ONOS_NEXT_VERSION
Ray Milkeyfef4be02018-11-08 15:34:13 -0800203 default: '1.15.0-SNAPSHOT'
Ray Milkeyb40e5672018-01-26 10:10:45 -0800204 description: 'Version of ONOS to reset tree to'
205
206 scm:
207 - lf-infra-gerrit-scm:
208 git-url: '{git-url}'
209 refspec: '$GERRIT_REFSPEC'
210 branch: '$GERRIT_BRANCH'
211 submodule-recursive: '{submodule-recursive}'
212 choosing-strategy: gerrit
213 jenkins-ssh-credential: '{jenkins-ssh-credential}'
214
215- docker_build_boiler_plate: &docker_build_boiler_plate
216 name: release_build_boiler_plate
217
218 concurrent: true
219
220 parameters:
221 - lf-infra-parameters:
222 project: '{project}'
223 branch: '{stream}'
224 stream: '{stream}'
225 lftools-version: '{lftools-version}'
226
227 - string:
228 name: ONOS_TAG
229 default: ''
230 description: 'Tag of ONOS to build'
Ray Milkey4309d9b2017-11-17 13:41:46 -0800231
232 scm:
233 - lf-infra-gerrit-scm:
234 git-url: '{git-url}'
235 refspec: '$GERRIT_REFSPEC'
236 branch: '$GERRIT_BRANCH'
237 submodule-recursive: '{submodule-recursive}'
238 choosing-strategy: gerrit
239 jenkins-ssh-credential: '{jenkins-ssh-credential}'
240
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700241- job-template:
242 #default name is global
243 name: '{project-name}-{stream}-verify'
244
245 # Job template for Java verify jobs
246 #
247 # The purpose of this job templte is to run "maven clean install" for
248 # projects using this template.
249 #
250 # Required Variables:
251 # branch: git branch (eg. master)
252
253 <<: *job_boiler_plate
254 # yamllint disable-line rule:key-duplicates
255 <<: *verify_boiler_plate
256
257 builders:
258 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkey7aa43462017-10-30 16:15:23 -0700259 - shell: !include-raw-escape: onos-verify.sh
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700260 # JJB 1.6.2 does not support parameter expansion on filename?
261 #- shell: !include-raw-escape: {project-name}-verify.sh
262
Ray Milkey2c9ed832018-08-07 10:45:52 -0700263- job-template:
264 #default name is global
265 name: '{project-name}-{stream}-bazel-verify'
266
267 # Job template for Java verify jobs
268 #
269 # Required Variables:
270 # branch: git branch (eg. master)
271
272 <<: *job_boiler_plate
273 # yamllint disable-line rule:key-duplicates
274 <<: *verify_boiler_plate
275
276 builders:
277 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkeyd83ef8e2018-11-09 11:57:01 -0800278 - shell: !include-raw-escape: install-bazel.sh
Ray Milkey2c9ed832018-08-07 10:45:52 -0700279 - shell: !include-raw-escape: onos-bazel-verify.sh
280 # JJB 1.6.2 does not support parameter expansion on filename?
281 #- shell: !include-raw-escape: {project-name}-verify.sh
282
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700283# workaround for lack of parameter expansion support in shell: (see above)
284- job-template:
285 #default name is global
286 name: 'onos-yang-tools-{stream}-verify'
287
288 # Job template for Java verify jobs
289 #
290 # The purpose of this job templte is to run "maven clean install" for
291 # projects using this template.
292 #
293 # Required Variables:
294 # branch: git branch (eg. master)
295
296 <<: *job_boiler_plate
297 # yamllint disable-line rule:key-duplicates
298 <<: *verify_boiler_plate
299
300 builders:
301 #put shell scripts in file then make sure shell check is installed on verify vms
302 - shell: !include-raw-escape: onos-yang-tools-verify.sh
303
Yuta HIGUCHI18948042018-05-08 14:07:51 -0700304- job-template:
305 #default name is global
306 name: 'onos-yang-tools-release-build'
307
308 # Job template for ONOS Yang tools release jobs
309 #
310
311 <<: *job_boiler_plate
312 # yamllint disable-line rule:key-duplicates
313 parameters:
314 - lf-infra-parameters:
315 project: '{project}'
316 branch: '{stream}'
317 stream: '{stream}'
318 lftools-version: '{lftools-version}'
319
320 - string:
321 name: YANGTOOLS_VERSION
Yuta HIGUCHIa36c0672018-05-11 09:45:47 -0700322 default: '2.4.4'
323 description: 'Version tag of ONOS Yang tools to build and release'
Yuta HIGUCHI18948042018-05-08 14:07:51 -0700324
325 - string:
326 name: YANGTOOLS_NEXT_VERSION
327 default: '2.5-SNAPSHOT'
328 description: 'Version of ONOS Yang tools to reset tree to afterwards'
329
330 scm:
331 - lf-infra-gerrit-scm:
332 git-url: '{git-url}'
333 refspec: '$GERRIT_REFSPEC'
334 branch: '$GERRIT_BRANCH'
335 submodule-recursive: '{submodule-recursive}'
336 choosing-strategy: gerrit
337 jenkins-ssh-credential: '{jenkins-ssh-credential}'
Yuta HIGUCHI7e982142018-05-08 15:02:05 -0700338
Yuta HIGUCHI18948042018-05-08 14:07:51 -0700339 builders:
340 - lf-provide-maven-settings:
341 settings-file: 'release-build-maven-settings'
342 global-settings-file: 'release-build-maven-settings'
343 - config-file-provider:
344 files:
345 - file-id: 'onos-build-credentials'
346 target: 'onos-build-credentials'
347 variable: 'CREDENTIALS_FILE'
348 - file-id: 'buck-config-local'
349 target: '.buckconfig.local'
350 variable: 'BUCK_CONFIG_FILE'
351 - file-id: 'gpg-key'
352 target: 'jenkins.key'
353 variable: 'GPG_KEY_FILE'
354 - file-id: 'release-build-maven-settings'
355 target: 'settings.xml'
356 variable: 'MAVEN_SETTINGS'
357 - file-id: 'api-onosproject-ssh-key'
358 target: 'id_rsa.pub'
359 variable: 'API_ONOSPROJECT_SSH_KEY'
360
361 #put shell scripts in file then make sure shell check is installed on verify vms
362 - shell: !include-raw-escape: onos-yang-tools-release-build.sh
363 # JJB 1.6.2 does not support parameter expansion on filename?
364 #- shell: !include-raw-escape: {project-name}-verify.sh
365
366
Ray Milkey83d912a2017-11-01 13:49:31 -0700367# workaround for lack of parameter expansion support in shell: (see above)
368- job-template:
369 #default name is global
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800370 name: 'onos-app-samples-{stream}-verify'
371
372 # Job template for Java verify jobs
373 #
374 # The purpose of this job templte is to run "maven clean install" for
375 # projects using this template.
376 #
377 # Required Variables:
378 # branch: git branch (eg. master)
379
380 <<: *job_boiler_plate
381 # yamllint disable-line rule:key-duplicates
382 <<: *verify_boiler_plate
383
384 builders:
385 #put shell scripts in file then make sure shell check is installed on verify vms
386 - shell: !include-raw-escape: onos-app-samples-verify.sh
387
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800388# workaround for lack of parameter expansion support in shell: (see above)
389- job-template:
390 #default name is global
391 name: 'onos-loxi-{stream}-verify'
392
393 # Job template for Java verify jobs
394 #
395 # The purpose of this job templte is to run "maven clean install" for
396 # projects using this template.
397 #
398 # Required Variables:
399 # branch: git branch (eg. master)
400
401 <<: *job_boiler_plate
402 # yamllint disable-line rule:key-duplicates
403 <<: *verify_boiler_plate
404
405 builders:
406 #put shell scripts in file then make sure shell check is installed on verify vms
407 - shell: !include-raw-escape: onos-loxi-verify.sh
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800408
409# workaround for lack of parameter expansion support in shell: (see above)
410- job-template:
411 #default name is global
Ray Milkey83d912a2017-11-01 13:49:31 -0700412 name: 'onos-gui-{stream}-verify'
413
414 # Job template for Java verify jobs
415 #
416 # The purpose of this job templte is to run "maven clean install" for
417 # projects using this template.
418 #
419 # Required Variables:
420 # branch: git branch (eg. master)
421
422 <<: *job_boiler_plate
423 # yamllint disable-line rule:key-duplicates
424 <<: *verify_boiler_plate
425
426 builders:
427 #put shell scripts in file then make sure shell check is installed on verify vms
428 - shell: !include-raw-escape: onos-gui-verify.sh
429
Ray Milkey8e462202017-11-02 10:18:37 -0700430- job-template:
431 #default name is global
432 name: 'onos-{stream}-release-build-verify'
433
434 # Job template for Java release check jobs
435 #
436
437 <<: *job_boiler_plate
438 # yamllint disable-line rule:key-duplicates
Ray Milkey29c54342017-11-06 16:43:01 -0800439 <<: *daily_boiler_plate
Ray Milkey8e462202017-11-02 10:18:37 -0700440
441 builders:
Ray Milkeyd3d7fa82018-08-14 17:20:52 -0700442 - config-file-provider:
443 files:
444 - file-id: 'gpg-key'
445 target: 'jenkins.key'
446 variable: 'GPG_KEY_FILE'
Ray Milkey8fae9a72017-11-17 10:03:54 -0800447
Ray Milkey8e462202017-11-02 10:18:37 -0700448 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkeyf465a292018-11-12 09:14:16 -0800449 - shell: !include-raw-escape: install-bazel.sh
Ray Milkey8e462202017-11-02 10:18:37 -0700450 - shell: !include-raw-escape: onos-release-build-verify.sh
451 # JJB 1.6.2 does not support parameter expansion on filename?
452 #- shell: !include-raw-escape: {project-name}-verify.sh
453
Ray Milkeyd9f73662017-11-06 10:29:51 -0800454- job-template:
455 #default name is global
Ray Milkey2afc4a52017-11-17 11:01:38 -0800456 name: 'onos-release-build'
457
458 # Job template for Java release jobs
459 #
460
461 <<: *job_boiler_plate
462 # yamllint disable-line rule:key-duplicates
Ray Milkey4309d9b2017-11-17 13:41:46 -0800463 <<: *release_build_boiler_plate
Ray Milkey2afc4a52017-11-17 11:01:38 -0800464
465 builders:
Ray Milkey094fd002017-11-22 10:21:59 -0800466 - lf-provide-maven-settings:
467 settings-file: 'release-build-maven-settings'
468 global-settings-file: 'release-build-maven-settings'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800469 - config-file-provider:
470 files:
471 - file-id: 'onos-build-credentials'
472 target: 'onos-build-credentials'
473 variable: 'CREDENTIALS_FILE'
Ray Milkeye8fd4f02017-11-17 14:54:18 -0800474 - file-id: 'buck-config-local'
475 target: '.buckconfig.local'
476 variable: 'BUCK_CONFIG_FILE'
Ray Milkeyb867be82017-11-27 13:29:19 -0800477 - file-id: 'gpg-key'
478 target: 'jenkins.key'
479 variable: 'GPG_KEY_FILE'
Ray Milkey43e7f932017-11-27 08:48:42 -0800480 - file-id: 'release-build-maven-settings'
481 target: 'settings.xml'
482 variable: 'MAVEN_SETTINGS'
Ray Milkey7d774fb2017-12-05 14:57:30 -0800483 - file-id: 'api-onosproject-ssh-key'
484 target: 'id_rsa.pub'
485 variable: 'API_ONOSPROJECT_SSH_KEY'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800486
487 #put shell scripts in file then make sure shell check is installed on verify vms
488 - shell: !include-raw-escape: onos-release-build.sh
489 # JJB 1.6.2 does not support parameter expansion on filename?
490 #- shell: !include-raw-escape: {project-name}-verify.sh
491
492- job-template:
493 #default name is global
Ray Milkey7c8b3f22018-08-13 15:01:12 -0700494 name: 'onos-bazel-release-build'
495
496 # Job template for Java release jobs
497 #
498
499 <<: *job_boiler_plate
500 # yamllint disable-line rule:key-duplicates
501 <<: *release_build_boiler_plate
502
503 builders:
504 - lf-provide-maven-settings:
505 settings-file: 'release-build-maven-settings'
506 global-settings-file: 'release-build-maven-settings'
507 - config-file-provider:
508 files:
509 - file-id: 'onos-build-credentials'
510 target: 'onos-build-credentials'
511 variable: 'CREDENTIALS_FILE'
512 - file-id: 'gpg-key'
513 target: 'jenkins.key'
514 variable: 'GPG_KEY_FILE'
515 - file-id: 'release-build-maven-settings'
516 target: 'settings.xml'
517 variable: 'MAVEN_SETTINGS'
518 - file-id: 'api-onosproject-ssh-key'
519 target: 'id_rsa.pub'
520 variable: 'API_ONOSPROJECT_SSH_KEY'
521
522 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkeyd83ef8e2018-11-09 11:57:01 -0800523 - shell: !include-raw-escape: install-bazel.sh
Ray Milkey7c8b3f22018-08-13 15:01:12 -0700524 - shell: !include-raw-escape: onos-bazel-release-build.sh
525 # JJB 1.6.2 does not support parameter expansion on filename?
526 #- shell: !include-raw-escape: {project-name}-verify.sh
527
528- job-template:
529 #default name is global
Ray Milkey0caba7f2018-01-08 12:56:18 -0800530 name: 'onos-docker-build'
531
532 # Job template for Docker jobs
533 #
534
535 <<: *job_boiler_plate
536 # yamllint disable-line rule:key-duplicates
Ray Milkeyb40e5672018-01-26 10:10:45 -0800537 <<: *docker_build_boiler_plate
Ray Milkey0caba7f2018-01-08 12:56:18 -0800538
539 builders:
540 - lf-provide-maven-settings:
541 settings-file: 'release-build-maven-settings'
542 global-settings-file: 'release-build-maven-settings'
543 - config-file-provider:
544 files:
545 - file-id: 'onos-build-credentials'
546 target: 'onos-build-credentials'
547 variable: 'CREDENTIALS_FILE'
548 - file-id: 'buck-config-local'
549 target: '.buckconfig.local'
550 variable: 'BUCK_CONFIG_FILE'
551 - file-id: 'gpg-key'
552 target: 'jenkins.key'
553 variable: 'GPG_KEY_FILE'
554 - file-id: 'release-build-maven-settings'
555 target: 'settings.xml'
556 variable: 'MAVEN_SETTINGS'
557 - file-id: 'api-onosproject-ssh-key'
558 target: 'id_rsa.pub'
559 variable: 'API_ONOSPROJECT_SSH_KEY'
560
561 #put shell scripts in file then make sure shell check is installed on verify vms
562 - shell: !include-raw-escape: onos-docker-build.sh
563 # JJB 1.6.2 does not support parameter expansion on filename?
564 #- shell: !include-raw-escape: {project-name}-verify.sh
565
566- job-template:
567 #default name is global
Ray Milkeyd9f73662017-11-06 10:29:51 -0800568 name: 'onos-{stream}-maven-verify'
569
570 <<: *job_boiler_plate
571 # yamllint disable-line rule:key-duplicates
Ray Milkeyf2aa9352018-06-06 14:35:35 -0700572 <<: *hourly_boiler_plate_with_slack
Ray Milkeyd9f73662017-11-06 10:29:51 -0800573
574 builders:
575 #put shell scripts in file then make sure shell check is installed on verify vms
576 - shell: !include-raw-escape: onos-maven-verify.sh
577 # JJB 1.6.2 does not support parameter expansion on filename?
578 #- shell: !include-raw-escape: {project-name}-verify.sh
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700579
Ray Milkey20d22522017-11-08 10:55:52 -0800580- job-template:
581 #default name is global
582 name: 'onos-{stream}-sonar'
583
584 <<: *job_boiler_plate
585 # yamllint disable-line rule:key-duplicates
586 <<: *daily_boiler_plate
587
588 builders:
589 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkey53883e22018-11-21 12:23:57 -0800590 - shell: !include-raw-escape: install-bazel.sh
Ray Milkey20d22522017-11-08 10:55:52 -0800591 - shell: !include-raw-escape: onos-sonar.sh
592 # JJB 1.6.2 does not support parameter expansion on filename?
593 #- shell: !include-raw-escape: {project-name}-verify.sh
594
Ray Milkey3aa8af52018-03-09 09:10:08 -0800595- job-template:
596 name: 'onos-{stream}-stc-verify'
597
598 <<: *job_boiler_plate
599 # yamllint disable-line rule:key-duplicates
600 <<: *hourly_boiler_plate
601
602 builders:
603 #put shell scripts in file then make sure shell check is installed on verify vms
604 - shell: !include-raw-escape: onos-run-stc.sh
605
Ray Milkey9eb58512018-08-15 10:52:12 -0700606- job-template:
607 name: 'onos-{stream}-bazel-stc-verify'
608
609 <<: *job_boiler_plate
610 # yamllint disable-line rule:key-duplicates
611 <<: *hourly_boiler_plate
612
613 builders:
614 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkeyd83ef8e2018-11-09 11:57:01 -0800615 - shell: !include-raw-escape: install-bazel.sh
Ray Milkey9eb58512018-08-15 10:52:12 -0700616 - shell: !include-raw-escape: onos-run-bazel-stc.sh
617
Ray Milkey3aa8af52018-03-09 09:10:08 -0800618
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700619- job-template:
620 name: 'onos-{stream}-stc-hag-verify'
621
622 <<: *job_boiler_plate
623 # yamllint disable-line rule:key-duplicates
624 <<: *hourly_boiler_plate
625
626 builders:
627 #put shell scripts in file then make sure shell check is installed on verify vms
628 - shell: !include-raw-escape: onos-run-stc-hag.sh
629
630
Ray Milkey9eb58512018-08-15 10:52:12 -0700631- job-template:
632 name: 'onos-{stream}-bazel-stc-hag-verify'
633
634 <<: *job_boiler_plate
635 # yamllint disable-line rule:key-duplicates
636 <<: *hourly_boiler_plate
637
638 builders:
639 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkeyd83ef8e2018-11-09 11:57:01 -0800640 - shell: !include-raw-escape: install-bazel.sh
Ray Milkey9eb58512018-08-15 10:52:12 -0700641 - shell: !include-raw-escape: onos-run-bazel-stc-hag.sh
642
Ray Milkeye146e792018-12-13 14:36:24 -0800643- job-template:
644 name: 'onos-{stream}-bazel-stc-trellis-p4-verify'
645
646 <<: *job_boiler_plate
647 # yamllint disable-line rule:key-duplicates
648 <<: *hourly_boiler_plate
649
650 builders:
651 #put shell scripts in file then make sure shell check is installed on verify vms
652 - shell: !include-raw-escape: install-bazel.sh
653 - shell: !include-raw-escape: onos-run-bazel-stc-trellis-p4.sh
654
Ray Milkey9eb58512018-08-15 10:52:12 -0700655
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700656- project:
657 name: onos
658 project-name: onos
659 project: onos
660
Ray Milkey43a340c2018-02-20 13:49:00 -0800661 build-timeout: '30'
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700662 build-node: 'ubuntu16.04-basebuild-8c-15g'
663
664 stream:
Ray Milkey1bc13772017-10-31 15:57:17 -0700665 - 'onos-1.10'
666 - 'onos-1.11'
Ray Milkey47d4f722017-11-21 09:36:37 -0800667 - 'onos-1.12'
Ray Milkeyfcb0db62018-04-13 16:47:46 -0700668 - 'onos-1.13'
Ray Milkey648eb912018-08-20 14:24:56 -0700669 - 'onos-1.14'
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700670
671 jobs:
672 - '{project-name}-{stream}-verify'
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700673
674- project:
Ray Milkey2c9ed832018-08-07 10:45:52 -0700675 name: onos-bazel
676 project-name: onos-bazel
677 project: onos
678
679 build-timeout: '30'
680 build-node: 'ubuntu16.04-basebuild-8c-15g'
681
682 stream:
683 - 'master'
Ray Milkey648eb912018-08-20 14:24:56 -0700684 - 'onos-1.14'
Ray Milkeyfef4be02018-11-08 15:34:13 -0800685 - 'onos-1.15'
Ray Milkey91bf53e2018-11-05 14:22:51 -0800686 - 'upan-connect18'
Ray Milkey219ab182018-11-26 14:19:34 -0800687 - 'upan-connect18-1.14'
Ray Milkey2c9ed832018-08-07 10:45:52 -0700688
689 jobs:
690 - '{project-name}-{stream}-bazel-verify'
691
692- project:
Ray Milkey83d912a2017-11-01 13:49:31 -0700693 name: onos-gui
694 project-name: onos-gui
Ray Milkey24fe1ee2017-11-01 13:59:07 -0700695 project: onos
Ray Milkey83d912a2017-11-01 13:49:31 -0700696
Ray Milkey43a340c2018-02-20 13:49:00 -0800697 build-timeout: '30'
Ray Milkey83d912a2017-11-01 13:49:31 -0700698 build-node: 'ubuntu16.04-basebuild-8c-15g'
699
700 stream:
701 - 'master'
702 - 'onos-1.10'
703 - 'onos-1.11'
Ray Milkey47d4f722017-11-21 09:36:37 -0800704 - 'onos-1.12'
Ray Milkeyfcb0db62018-04-13 16:47:46 -0700705 - 'onos-1.13'
Ray Milkey648eb912018-08-20 14:24:56 -0700706 - 'onos-1.14'
Ray Milkeyfef4be02018-11-08 15:34:13 -0800707 - 'onos-1.15'
Ray Milkey83d912a2017-11-01 13:49:31 -0700708
709 jobs:
710 - 'onos-gui-{stream}-verify'
711
712- project:
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700713 name: onos-yang-tools
714 project-name: onos-yang-tools
715 project: onos-yang-tools
716
Ray Milkey43a340c2018-02-20 13:49:00 -0800717 build-timeout: '30'
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700718 build-node: 'ubuntu16.04-basebuild-8c-15g'
719
720 stream:
721 - 'master'
722
723 jobs:
724 - 'onos-yang-tools-{stream}-verify'
Ray Milkey8e462202017-11-02 10:18:37 -0700725
726- project:
Yuta HIGUCHI7e982142018-05-08 15:02:05 -0700727 name: onos-yang-tools-release-build
728 project-name: onos-yang-tools-release-build
729 project: onos-yang-tools
730
731 build-timeout: '240'
732 build-node: 'ubuntu16.04-basebuild-8c-15g'
733
734 stream: 'master'
735
736 jobs:
737 - 'onos-yang-tools-release-build'
738
739
740- project:
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800741 name: onos-app-samples
742 project-name: onos-app-samples
743 project: onos-app-samples
744
Ray Milkey43a340c2018-02-20 13:49:00 -0800745 build-timeout: '30'
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800746 build-node: 'ubuntu16.04-basebuild-8c-15g'
747
748 stream:
749 - 'master'
750
751 jobs:
752 - 'onos-app-samples-{stream}-verify'
753
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800754- project:
755 name: onos-loxi
756 project-name: onos-loxi
757 project: onos-loxi
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800758
Ray Milkey43a340c2018-02-20 13:49:00 -0800759 build-timeout: '30'
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800760 build-node: 'ubuntu16.04-basebuild-8c-15g'
761
762 stream:
763 - 'master'
764
765 jobs:
766 - 'onos-loxi-{stream}-verify'
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800767
768- project:
Ray Milkey8e462202017-11-02 10:18:37 -0700769 name: onos-release
770 project-name: onos-release
771 project: onos
772
Ray Milkey2d55e972018-05-04 13:01:36 -0700773 build-timeout: '240'
Ray Milkey8e462202017-11-02 10:18:37 -0700774 build-node: 'ubuntu16.04-basebuild-8c-15g'
775
776 stream:
777 - 'master'
778
779 jobs:
780 - 'onos-{stream}-release-build-verify'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800781
782- project:
783 name: onos-maven-verify
784 project-name: onos-maven-verify
785 project: onos
786
Ray Milkey43a340c2018-02-20 13:49:00 -0800787 build-timeout: '30'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800788 build-node: 'ubuntu16.04-basebuild-8c-15g'
789
790 stream:
Ray Milkeye8f39e02018-04-16 13:34:34 -0700791 - 'onos-1.12'
792 - 'onos-1.13'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800793
794 jobs:
795 - 'onos-{stream}-maven-verify'
Ray Milkey20d22522017-11-08 10:55:52 -0800796
797- project:
798 name: onos-sonar
799 project-name: onos-sonar
800 project: onos
801
Ray Milkey43a340c2018-02-20 13:49:00 -0800802 build-timeout: '90'
Ray Milkey20d22522017-11-08 10:55:52 -0800803 build-node: 'ubuntu16.04-basebuild-8c-15g'
804
805 stream:
806 - 'master'
807
808 jobs:
809 - 'onos-{stream}-sonar'
810
Ray Milkey2afc4a52017-11-17 11:01:38 -0800811- project:
812 name: onos-release-build
813 project-name: onos-release-build
814 project: onos
815
Ray Milkey884a2b82018-05-22 08:29:45 -0700816 build-timeout: '240'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800817 build-node: 'ubuntu16.04-basebuild-8c-15g'
818
Ray Milkey4309d9b2017-11-17 13:41:46 -0800819 stream: 'master'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800820
821 jobs:
822 - 'onos-release-build'
Ray Milkey0caba7f2018-01-08 12:56:18 -0800823
824- project:
Ray Milkey7c8b3f22018-08-13 15:01:12 -0700825 name: onos-bazel-release-build
826 project-name: onos-bazel-release-build
827 project: onos
828
829 build-timeout: '240'
830 build-node: 'ubuntu16.04-basebuild-8c-15g'
831
832 stream: 'master'
833
834 jobs:
835 - 'onos-bazel-release-build'
836
837- project:
Ray Milkey0caba7f2018-01-08 12:56:18 -0800838 name: onos-docker-build
839 project-name: onos-docker-build
840 project: onos
841
Ray Milkey43a340c2018-02-20 13:49:00 -0800842 build-timeout: '90'
Ray Milkey0caba7f2018-01-08 12:56:18 -0800843 build-node: 'ubuntu16.04-basebuild-8c-15g'
844
845 stream: 'master'
846
847 jobs:
848 - 'onos-docker-build'
Ray Milkey3aa8af52018-03-09 09:10:08 -0800849
850- project:
851 name: onos-stc-verify
Ray Milkeyd6580d82018-04-16 08:56:07 -0700852 project-name: onos-stc-verify
Ray Milkey3aa8af52018-03-09 09:10:08 -0800853 project: onos
854
855 build-timeout: '30'
856 build-node: 'ubuntu16.04-basebuild-8c-15g'
857
858 stream:
Ray Milkeyd6580d82018-04-16 08:56:07 -0700859 - 'onos-1.12'
Ray Milkey648eb912018-08-20 14:24:56 -0700860 - 'onos-1.13'
861 - 'onos-1.14'
Ray Milkey3aa8af52018-03-09 09:10:08 -0800862
863 jobs:
864 - 'onos-{stream}-stc-verify'
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700865
866- project:
Ray Milkey9eb58512018-08-15 10:52:12 -0700867 name: onos-bazel-stc-verify
868 project-name: onos-bazel-stc-verify
869 project: onos
870
871 build-timeout: '30'
872 build-node: 'ubuntu16.04-basebuild-8c-15g'
873
874 stream:
875 - 'master'
876
877 jobs:
878 - 'onos-{stream}-bazel-stc-verify'
879
880- project:
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700881 name: onos-stc-hag-verify
882 project-name: onos-stc-hag-verify
883 project: onos
884
885 build-timeout: '30'
886 build-node: 'ubuntu16.04-basebuild-8c-15g'
887
888 stream:
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700889 - 'onos-1.12'
Ray Milkey648eb912018-08-20 14:24:56 -0700890 - 'onos-1.13'
891 - 'onos-1.14'
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700892
893 jobs:
894 - 'onos-{stream}-stc-hag-verify'
Ray Milkey9eb58512018-08-15 10:52:12 -0700895
896- project:
897 name: onos-bazel-stc-hag-verify
898 project-name: onos-bazel-stc-hag-verify
899 project: onos
900
901 build-timeout: '30'
902 build-node: 'ubuntu16.04-basebuild-8c-15g'
903
904 stream:
905 - 'master'
906
907 jobs:
908 - 'onos-{stream}-bazel-stc-hag-verify'
Ray Milkeye146e792018-12-13 14:36:24 -0800909
910- project:
911 name: onos-bazel-stc-trellis-p4-verify
912 project-name: onos-bazel-stc-trellis-p4-verify
913 project: onos
914
915 build-timeout: '30'
916 build-node: 'ubuntu16.04-basebuild-8c-15g'
917
918 stream:
919 - 'master'
920 - 'onos-1.14'
921 - 'onos-1.15'
922
923 jobs:
924 - 'onos-{stream}-bazel-stc-trellis-p4-verify'