blob: 6121b66ec35c9fb560b945bf06649bfed98eea0d [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
590 - shell: !include-raw-escape: onos-sonar.sh
591 # JJB 1.6.2 does not support parameter expansion on filename?
592 #- shell: !include-raw-escape: {project-name}-verify.sh
593
Ray Milkey3aa8af52018-03-09 09:10:08 -0800594- job-template:
595 name: 'onos-{stream}-stc-verify'
596
597 <<: *job_boiler_plate
598 # yamllint disable-line rule:key-duplicates
599 <<: *hourly_boiler_plate
600
601 builders:
602 #put shell scripts in file then make sure shell check is installed on verify vms
603 - shell: !include-raw-escape: onos-run-stc.sh
604
Ray Milkey9eb58512018-08-15 10:52:12 -0700605- job-template:
606 name: 'onos-{stream}-bazel-stc-verify'
607
608 <<: *job_boiler_plate
609 # yamllint disable-line rule:key-duplicates
610 <<: *hourly_boiler_plate
611
612 builders:
613 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkeyd83ef8e2018-11-09 11:57:01 -0800614 - shell: !include-raw-escape: install-bazel.sh
Ray Milkey9eb58512018-08-15 10:52:12 -0700615 - shell: !include-raw-escape: onos-run-bazel-stc.sh
616
Ray Milkey3aa8af52018-03-09 09:10:08 -0800617
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700618- job-template:
619 name: 'onos-{stream}-stc-hag-verify'
620
621 <<: *job_boiler_plate
622 # yamllint disable-line rule:key-duplicates
623 <<: *hourly_boiler_plate
624
625 builders:
626 #put shell scripts in file then make sure shell check is installed on verify vms
627 - shell: !include-raw-escape: onos-run-stc-hag.sh
628
629
Ray Milkey9eb58512018-08-15 10:52:12 -0700630- job-template:
631 name: 'onos-{stream}-bazel-stc-hag-verify'
632
633 <<: *job_boiler_plate
634 # yamllint disable-line rule:key-duplicates
635 <<: *hourly_boiler_plate
636
637 builders:
638 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkeyd83ef8e2018-11-09 11:57:01 -0800639 - shell: !include-raw-escape: install-bazel.sh
Ray Milkey9eb58512018-08-15 10:52:12 -0700640 - shell: !include-raw-escape: onos-run-bazel-stc-hag.sh
641
642
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700643- project:
644 name: onos
645 project-name: onos
646 project: onos
647
Ray Milkey43a340c2018-02-20 13:49:00 -0800648 build-timeout: '30'
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700649 build-node: 'ubuntu16.04-basebuild-8c-15g'
650
651 stream:
Ray Milkey1bc13772017-10-31 15:57:17 -0700652 - 'onos-1.10'
653 - 'onos-1.11'
Ray Milkey47d4f722017-11-21 09:36:37 -0800654 - 'onos-1.12'
Ray Milkeyfcb0db62018-04-13 16:47:46 -0700655 - 'onos-1.13'
Ray Milkey648eb912018-08-20 14:24:56 -0700656 - 'onos-1.14'
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700657
658 jobs:
659 - '{project-name}-{stream}-verify'
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700660
661- project:
Ray Milkey2c9ed832018-08-07 10:45:52 -0700662 name: onos-bazel
663 project-name: onos-bazel
664 project: onos
665
666 build-timeout: '30'
667 build-node: 'ubuntu16.04-basebuild-8c-15g'
668
669 stream:
670 - 'master'
Ray Milkey648eb912018-08-20 14:24:56 -0700671 - 'onos-1.14'
Ray Milkeyfef4be02018-11-08 15:34:13 -0800672 - 'onos-1.15'
Ray Milkey91bf53e2018-11-05 14:22:51 -0800673 - 'upan-connect18'
Ray Milkey2c9ed832018-08-07 10:45:52 -0700674
675 jobs:
676 - '{project-name}-{stream}-bazel-verify'
677
678- project:
Ray Milkey83d912a2017-11-01 13:49:31 -0700679 name: onos-gui
680 project-name: onos-gui
Ray Milkey24fe1ee2017-11-01 13:59:07 -0700681 project: onos
Ray Milkey83d912a2017-11-01 13:49:31 -0700682
Ray Milkey43a340c2018-02-20 13:49:00 -0800683 build-timeout: '30'
Ray Milkey83d912a2017-11-01 13:49:31 -0700684 build-node: 'ubuntu16.04-basebuild-8c-15g'
685
686 stream:
687 - 'master'
688 - 'onos-1.10'
689 - 'onos-1.11'
Ray Milkey47d4f722017-11-21 09:36:37 -0800690 - 'onos-1.12'
Ray Milkeyfcb0db62018-04-13 16:47:46 -0700691 - 'onos-1.13'
Ray Milkey648eb912018-08-20 14:24:56 -0700692 - 'onos-1.14'
Ray Milkeyfef4be02018-11-08 15:34:13 -0800693 - 'onos-1.15'
Ray Milkey83d912a2017-11-01 13:49:31 -0700694
695 jobs:
696 - 'onos-gui-{stream}-verify'
697
698- project:
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700699 name: onos-yang-tools
700 project-name: onos-yang-tools
701 project: onos-yang-tools
702
Ray Milkey43a340c2018-02-20 13:49:00 -0800703 build-timeout: '30'
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700704 build-node: 'ubuntu16.04-basebuild-8c-15g'
705
706 stream:
707 - 'master'
708
709 jobs:
710 - 'onos-yang-tools-{stream}-verify'
Ray Milkey8e462202017-11-02 10:18:37 -0700711
712- project:
Yuta HIGUCHI7e982142018-05-08 15:02:05 -0700713 name: onos-yang-tools-release-build
714 project-name: onos-yang-tools-release-build
715 project: onos-yang-tools
716
717 build-timeout: '240'
718 build-node: 'ubuntu16.04-basebuild-8c-15g'
719
720 stream: 'master'
721
722 jobs:
723 - 'onos-yang-tools-release-build'
724
725
726- project:
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800727 name: onos-app-samples
728 project-name: onos-app-samples
729 project: onos-app-samples
730
Ray Milkey43a340c2018-02-20 13:49:00 -0800731 build-timeout: '30'
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800732 build-node: 'ubuntu16.04-basebuild-8c-15g'
733
734 stream:
735 - 'master'
736
737 jobs:
738 - 'onos-app-samples-{stream}-verify'
739
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800740- project:
741 name: onos-loxi
742 project-name: onos-loxi
743 project: onos-loxi
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800744
Ray Milkey43a340c2018-02-20 13:49:00 -0800745 build-timeout: '30'
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800746 build-node: 'ubuntu16.04-basebuild-8c-15g'
747
748 stream:
749 - 'master'
750
751 jobs:
752 - 'onos-loxi-{stream}-verify'
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800753
754- project:
Ray Milkey8e462202017-11-02 10:18:37 -0700755 name: onos-release
756 project-name: onos-release
757 project: onos
758
Ray Milkey2d55e972018-05-04 13:01:36 -0700759 build-timeout: '240'
Ray Milkey8e462202017-11-02 10:18:37 -0700760 build-node: 'ubuntu16.04-basebuild-8c-15g'
761
762 stream:
763 - 'master'
764
765 jobs:
766 - 'onos-{stream}-release-build-verify'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800767
768- project:
769 name: onos-maven-verify
770 project-name: onos-maven-verify
771 project: onos
772
Ray Milkey43a340c2018-02-20 13:49:00 -0800773 build-timeout: '30'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800774 build-node: 'ubuntu16.04-basebuild-8c-15g'
775
776 stream:
Ray Milkeye8f39e02018-04-16 13:34:34 -0700777 - 'onos-1.12'
778 - 'onos-1.13'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800779
780 jobs:
781 - 'onos-{stream}-maven-verify'
Ray Milkey20d22522017-11-08 10:55:52 -0800782
783- project:
784 name: onos-sonar
785 project-name: onos-sonar
786 project: onos
787
Ray Milkey43a340c2018-02-20 13:49:00 -0800788 build-timeout: '90'
Ray Milkey20d22522017-11-08 10:55:52 -0800789 build-node: 'ubuntu16.04-basebuild-8c-15g'
790
791 stream:
792 - 'master'
793
794 jobs:
795 - 'onos-{stream}-sonar'
796
Ray Milkey2afc4a52017-11-17 11:01:38 -0800797- project:
798 name: onos-release-build
799 project-name: onos-release-build
800 project: onos
801
Ray Milkey884a2b82018-05-22 08:29:45 -0700802 build-timeout: '240'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800803 build-node: 'ubuntu16.04-basebuild-8c-15g'
804
Ray Milkey4309d9b2017-11-17 13:41:46 -0800805 stream: 'master'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800806
807 jobs:
808 - 'onos-release-build'
Ray Milkey0caba7f2018-01-08 12:56:18 -0800809
810- project:
Ray Milkey7c8b3f22018-08-13 15:01:12 -0700811 name: onos-bazel-release-build
812 project-name: onos-bazel-release-build
813 project: onos
814
815 build-timeout: '240'
816 build-node: 'ubuntu16.04-basebuild-8c-15g'
817
818 stream: 'master'
819
820 jobs:
821 - 'onos-bazel-release-build'
822
823- project:
Ray Milkey0caba7f2018-01-08 12:56:18 -0800824 name: onos-docker-build
825 project-name: onos-docker-build
826 project: onos
827
Ray Milkey43a340c2018-02-20 13:49:00 -0800828 build-timeout: '90'
Ray Milkey0caba7f2018-01-08 12:56:18 -0800829 build-node: 'ubuntu16.04-basebuild-8c-15g'
830
831 stream: 'master'
832
833 jobs:
834 - 'onos-docker-build'
Ray Milkey3aa8af52018-03-09 09:10:08 -0800835
836- project:
837 name: onos-stc-verify
Ray Milkeyd6580d82018-04-16 08:56:07 -0700838 project-name: onos-stc-verify
Ray Milkey3aa8af52018-03-09 09:10:08 -0800839 project: onos
840
841 build-timeout: '30'
842 build-node: 'ubuntu16.04-basebuild-8c-15g'
843
844 stream:
Ray Milkeyd6580d82018-04-16 08:56:07 -0700845 - 'onos-1.12'
Ray Milkey648eb912018-08-20 14:24:56 -0700846 - 'onos-1.13'
847 - 'onos-1.14'
Ray Milkey3aa8af52018-03-09 09:10:08 -0800848
849 jobs:
850 - 'onos-{stream}-stc-verify'
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700851
852- project:
Ray Milkey9eb58512018-08-15 10:52:12 -0700853 name: onos-bazel-stc-verify
854 project-name: onos-bazel-stc-verify
855 project: onos
856
857 build-timeout: '30'
858 build-node: 'ubuntu16.04-basebuild-8c-15g'
859
860 stream:
861 - 'master'
862
863 jobs:
864 - 'onos-{stream}-bazel-stc-verify'
865
866- project:
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700867 name: onos-stc-hag-verify
868 project-name: onos-stc-hag-verify
869 project: onos
870
871 build-timeout: '30'
872 build-node: 'ubuntu16.04-basebuild-8c-15g'
873
874 stream:
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700875 - 'onos-1.12'
Ray Milkey648eb912018-08-20 14:24:56 -0700876 - 'onos-1.13'
877 - 'onos-1.14'
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700878
879 jobs:
880 - 'onos-{stream}-stc-hag-verify'
Ray Milkey9eb58512018-08-15 10:52:12 -0700881
882- project:
883 name: onos-bazel-stc-hag-verify
884 project-name: onos-bazel-stc-hag-verify
885 project: onos
886
887 build-timeout: '30'
888 build-node: 'ubuntu16.04-basebuild-8c-15g'
889
890 stream:
891 - 'master'
892
893 jobs:
894 - 'onos-{stream}-bazel-stc-hag-verify'