blob: 8ce9254bd060e2695c69c1f47458c671f2fc5009 [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
643
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700644- project:
645 name: onos
646 project-name: onos
647 project: onos
648
Ray Milkey43a340c2018-02-20 13:49:00 -0800649 build-timeout: '30'
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700650 build-node: 'ubuntu16.04-basebuild-8c-15g'
651
652 stream:
Ray Milkey1bc13772017-10-31 15:57:17 -0700653 - 'onos-1.10'
654 - 'onos-1.11'
Ray Milkey47d4f722017-11-21 09:36:37 -0800655 - 'onos-1.12'
Ray Milkeyfcb0db62018-04-13 16:47:46 -0700656 - 'onos-1.13'
Ray Milkey648eb912018-08-20 14:24:56 -0700657 - 'onos-1.14'
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700658
659 jobs:
660 - '{project-name}-{stream}-verify'
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700661
662- project:
Ray Milkey2c9ed832018-08-07 10:45:52 -0700663 name: onos-bazel
664 project-name: onos-bazel
665 project: onos
666
667 build-timeout: '30'
668 build-node: 'ubuntu16.04-basebuild-8c-15g'
669
670 stream:
671 - 'master'
Ray Milkey648eb912018-08-20 14:24:56 -0700672 - 'onos-1.14'
Ray Milkeyfef4be02018-11-08 15:34:13 -0800673 - 'onos-1.15'
Ray Milkey91bf53e2018-11-05 14:22:51 -0800674 - 'upan-connect18'
Ray Milkey219ab182018-11-26 14:19:34 -0800675 - 'upan-connect18-1.14'
Ray Milkey2c9ed832018-08-07 10:45:52 -0700676
677 jobs:
678 - '{project-name}-{stream}-bazel-verify'
679
680- project:
Ray Milkey83d912a2017-11-01 13:49:31 -0700681 name: onos-gui
682 project-name: onos-gui
Ray Milkey24fe1ee2017-11-01 13:59:07 -0700683 project: onos
Ray Milkey83d912a2017-11-01 13:49:31 -0700684
Ray Milkey43a340c2018-02-20 13:49:00 -0800685 build-timeout: '30'
Ray Milkey83d912a2017-11-01 13:49:31 -0700686 build-node: 'ubuntu16.04-basebuild-8c-15g'
687
688 stream:
689 - 'master'
690 - 'onos-1.10'
691 - 'onos-1.11'
Ray Milkey47d4f722017-11-21 09:36:37 -0800692 - 'onos-1.12'
Ray Milkeyfcb0db62018-04-13 16:47:46 -0700693 - 'onos-1.13'
Ray Milkey648eb912018-08-20 14:24:56 -0700694 - 'onos-1.14'
Ray Milkeyfef4be02018-11-08 15:34:13 -0800695 - 'onos-1.15'
Ray Milkey83d912a2017-11-01 13:49:31 -0700696
697 jobs:
698 - 'onos-gui-{stream}-verify'
699
700- project:
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700701 name: onos-yang-tools
702 project-name: onos-yang-tools
703 project: onos-yang-tools
704
Ray Milkey43a340c2018-02-20 13:49:00 -0800705 build-timeout: '30'
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700706 build-node: 'ubuntu16.04-basebuild-8c-15g'
707
708 stream:
709 - 'master'
710
711 jobs:
712 - 'onos-yang-tools-{stream}-verify'
Ray Milkey8e462202017-11-02 10:18:37 -0700713
714- project:
Yuta HIGUCHI7e982142018-05-08 15:02:05 -0700715 name: onos-yang-tools-release-build
716 project-name: onos-yang-tools-release-build
717 project: onos-yang-tools
718
719 build-timeout: '240'
720 build-node: 'ubuntu16.04-basebuild-8c-15g'
721
722 stream: 'master'
723
724 jobs:
725 - 'onos-yang-tools-release-build'
726
727
728- project:
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800729 name: onos-app-samples
730 project-name: onos-app-samples
731 project: onos-app-samples
732
Ray Milkey43a340c2018-02-20 13:49:00 -0800733 build-timeout: '30'
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800734 build-node: 'ubuntu16.04-basebuild-8c-15g'
735
736 stream:
737 - 'master'
738
739 jobs:
740 - 'onos-app-samples-{stream}-verify'
741
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800742- project:
743 name: onos-loxi
744 project-name: onos-loxi
745 project: onos-loxi
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800746
Ray Milkey43a340c2018-02-20 13:49:00 -0800747 build-timeout: '30'
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800748 build-node: 'ubuntu16.04-basebuild-8c-15g'
749
750 stream:
751 - 'master'
752
753 jobs:
754 - 'onos-loxi-{stream}-verify'
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800755
756- project:
Ray Milkey8e462202017-11-02 10:18:37 -0700757 name: onos-release
758 project-name: onos-release
759 project: onos
760
Ray Milkey2d55e972018-05-04 13:01:36 -0700761 build-timeout: '240'
Ray Milkey8e462202017-11-02 10:18:37 -0700762 build-node: 'ubuntu16.04-basebuild-8c-15g'
763
764 stream:
765 - 'master'
766
767 jobs:
768 - 'onos-{stream}-release-build-verify'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800769
770- project:
771 name: onos-maven-verify
772 project-name: onos-maven-verify
773 project: onos
774
Ray Milkey43a340c2018-02-20 13:49:00 -0800775 build-timeout: '30'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800776 build-node: 'ubuntu16.04-basebuild-8c-15g'
777
778 stream:
Ray Milkeye8f39e02018-04-16 13:34:34 -0700779 - 'onos-1.12'
780 - 'onos-1.13'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800781
782 jobs:
783 - 'onos-{stream}-maven-verify'
Ray Milkey20d22522017-11-08 10:55:52 -0800784
785- project:
786 name: onos-sonar
787 project-name: onos-sonar
788 project: onos
789
Ray Milkey43a340c2018-02-20 13:49:00 -0800790 build-timeout: '90'
Ray Milkey20d22522017-11-08 10:55:52 -0800791 build-node: 'ubuntu16.04-basebuild-8c-15g'
792
793 stream:
794 - 'master'
795
796 jobs:
797 - 'onos-{stream}-sonar'
798
Ray Milkey2afc4a52017-11-17 11:01:38 -0800799- project:
800 name: onos-release-build
801 project-name: onos-release-build
802 project: onos
803
Ray Milkey884a2b82018-05-22 08:29:45 -0700804 build-timeout: '240'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800805 build-node: 'ubuntu16.04-basebuild-8c-15g'
806
Ray Milkey4309d9b2017-11-17 13:41:46 -0800807 stream: 'master'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800808
809 jobs:
810 - 'onos-release-build'
Ray Milkey0caba7f2018-01-08 12:56:18 -0800811
812- project:
Ray Milkey7c8b3f22018-08-13 15:01:12 -0700813 name: onos-bazel-release-build
814 project-name: onos-bazel-release-build
815 project: onos
816
817 build-timeout: '240'
818 build-node: 'ubuntu16.04-basebuild-8c-15g'
819
820 stream: 'master'
821
822 jobs:
823 - 'onos-bazel-release-build'
824
825- project:
Ray Milkey0caba7f2018-01-08 12:56:18 -0800826 name: onos-docker-build
827 project-name: onos-docker-build
828 project: onos
829
Ray Milkey43a340c2018-02-20 13:49:00 -0800830 build-timeout: '90'
Ray Milkey0caba7f2018-01-08 12:56:18 -0800831 build-node: 'ubuntu16.04-basebuild-8c-15g'
832
833 stream: 'master'
834
835 jobs:
836 - 'onos-docker-build'
Ray Milkey3aa8af52018-03-09 09:10:08 -0800837
838- project:
839 name: onos-stc-verify
Ray Milkeyd6580d82018-04-16 08:56:07 -0700840 project-name: onos-stc-verify
Ray Milkey3aa8af52018-03-09 09:10:08 -0800841 project: onos
842
843 build-timeout: '30'
844 build-node: 'ubuntu16.04-basebuild-8c-15g'
845
846 stream:
Ray Milkeyd6580d82018-04-16 08:56:07 -0700847 - 'onos-1.12'
Ray Milkey648eb912018-08-20 14:24:56 -0700848 - 'onos-1.13'
849 - 'onos-1.14'
Ray Milkey3aa8af52018-03-09 09:10:08 -0800850
851 jobs:
852 - 'onos-{stream}-stc-verify'
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700853
854- project:
Ray Milkey9eb58512018-08-15 10:52:12 -0700855 name: onos-bazel-stc-verify
856 project-name: onos-bazel-stc-verify
857 project: onos
858
859 build-timeout: '30'
860 build-node: 'ubuntu16.04-basebuild-8c-15g'
861
862 stream:
863 - 'master'
864
865 jobs:
866 - 'onos-{stream}-bazel-stc-verify'
867
868- project:
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700869 name: onos-stc-hag-verify
870 project-name: onos-stc-hag-verify
871 project: onos
872
873 build-timeout: '30'
874 build-node: 'ubuntu16.04-basebuild-8c-15g'
875
876 stream:
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700877 - 'onos-1.12'
Ray Milkey648eb912018-08-20 14:24:56 -0700878 - 'onos-1.13'
879 - 'onos-1.14'
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700880
881 jobs:
882 - 'onos-{stream}-stc-hag-verify'
Ray Milkey9eb58512018-08-15 10:52:12 -0700883
884- project:
885 name: onos-bazel-stc-hag-verify
886 project-name: onos-bazel-stc-hag-verify
887 project: onos
888
889 build-timeout: '30'
890 build-node: 'ubuntu16.04-basebuild-8c-15g'
891
892 stream:
893 - 'master'
894
895 jobs:
896 - 'onos-{stream}-bazel-stc-hag-verify'