blob: 7fa5a3d1792b0196541d79446cec5639fd0d02b6 [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
180 triggers:
181 - timed: '@hourly'
Ray Milkeyc6e9a852018-01-30 13:27:06 -0800182
Ray Milkey4309d9b2017-11-17 13:41:46 -0800183- release_build_boiler_plate: &release_build_boiler_plate
184 name: release_build_boiler_plate
185
186 concurrent: true
187
188 parameters:
189 - lf-infra-parameters:
190 project: '{project}'
191 branch: '{stream}'
192 stream: '{stream}'
193 lftools-version: '{lftools-version}'
194
195 - string:
196 name: ONOS_VERSION
Ray Milkey2d55e972018-05-04 13:01:36 -0700197 default: '1.13'
Ray Milkeyb40e5672018-01-26 10:10:45 -0800198 description: 'Version tag of ONOS to build'
Ray Milkey4309d9b2017-11-17 13:41:46 -0800199
200 - string:
201 name: ONOS_NEXT_VERSION
Ray Milkey2d55e972018-05-04 13:01:36 -0700202 default: '1.13.1-SNAPSHOT'
Ray Milkeyb40e5672018-01-26 10:10:45 -0800203 description: 'Version of ONOS to reset tree to'
204
205 scm:
206 - lf-infra-gerrit-scm:
207 git-url: '{git-url}'
208 refspec: '$GERRIT_REFSPEC'
209 branch: '$GERRIT_BRANCH'
210 submodule-recursive: '{submodule-recursive}'
211 choosing-strategy: gerrit
212 jenkins-ssh-credential: '{jenkins-ssh-credential}'
213
214- docker_build_boiler_plate: &docker_build_boiler_plate
215 name: release_build_boiler_plate
216
217 concurrent: true
218
219 parameters:
220 - lf-infra-parameters:
221 project: '{project}'
222 branch: '{stream}'
223 stream: '{stream}'
224 lftools-version: '{lftools-version}'
225
226 - string:
227 name: ONOS_TAG
228 default: ''
229 description: 'Tag of ONOS to build'
Ray Milkey4309d9b2017-11-17 13:41:46 -0800230
231 scm:
232 - lf-infra-gerrit-scm:
233 git-url: '{git-url}'
234 refspec: '$GERRIT_REFSPEC'
235 branch: '$GERRIT_BRANCH'
236 submodule-recursive: '{submodule-recursive}'
237 choosing-strategy: gerrit
238 jenkins-ssh-credential: '{jenkins-ssh-credential}'
239
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700240- job-template:
241 #default name is global
242 name: '{project-name}-{stream}-verify'
243
244 # Job template for Java verify jobs
245 #
246 # The purpose of this job templte is to run "maven clean install" for
247 # projects using this template.
248 #
249 # Required Variables:
250 # branch: git branch (eg. master)
251
252 <<: *job_boiler_plate
253 # yamllint disable-line rule:key-duplicates
254 <<: *verify_boiler_plate
255
256 builders:
257 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkey7aa43462017-10-30 16:15:23 -0700258 - shell: !include-raw-escape: onos-verify.sh
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700259 # JJB 1.6.2 does not support parameter expansion on filename?
260 #- shell: !include-raw-escape: {project-name}-verify.sh
261
Ray Milkey2c9ed832018-08-07 10:45:52 -0700262- job-template:
263 #default name is global
264 name: '{project-name}-{stream}-bazel-verify'
265
266 # Job template for Java verify jobs
267 #
268 # Required Variables:
269 # branch: git branch (eg. master)
270
271 <<: *job_boiler_plate
272 # yamllint disable-line rule:key-duplicates
273 <<: *verify_boiler_plate
274
275 builders:
276 #put shell scripts in file then make sure shell check is installed on verify vms
277 - shell: !include-raw-escape: onos-bazel-verify.sh
278 # JJB 1.6.2 does not support parameter expansion on filename?
279 #- shell: !include-raw-escape: {project-name}-verify.sh
280
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700281# workaround for lack of parameter expansion support in shell: (see above)
282- job-template:
283 #default name is global
284 name: 'onos-yang-tools-{stream}-verify'
285
286 # Job template for Java verify jobs
287 #
288 # The purpose of this job templte is to run "maven clean install" for
289 # projects using this template.
290 #
291 # Required Variables:
292 # branch: git branch (eg. master)
293
294 <<: *job_boiler_plate
295 # yamllint disable-line rule:key-duplicates
296 <<: *verify_boiler_plate
297
298 builders:
299 #put shell scripts in file then make sure shell check is installed on verify vms
300 - shell: !include-raw-escape: onos-yang-tools-verify.sh
301
Yuta HIGUCHI18948042018-05-08 14:07:51 -0700302- job-template:
303 #default name is global
304 name: 'onos-yang-tools-release-build'
305
306 # Job template for ONOS Yang tools release jobs
307 #
308
309 <<: *job_boiler_plate
310 # yamllint disable-line rule:key-duplicates
311 parameters:
312 - lf-infra-parameters:
313 project: '{project}'
314 branch: '{stream}'
315 stream: '{stream}'
316 lftools-version: '{lftools-version}'
317
318 - string:
319 name: YANGTOOLS_VERSION
Yuta HIGUCHIa36c0672018-05-11 09:45:47 -0700320 default: '2.4.4'
321 description: 'Version tag of ONOS Yang tools to build and release'
Yuta HIGUCHI18948042018-05-08 14:07:51 -0700322
323 - string:
324 name: YANGTOOLS_NEXT_VERSION
325 default: '2.5-SNAPSHOT'
326 description: 'Version of ONOS Yang tools to reset tree to afterwards'
327
328 scm:
329 - lf-infra-gerrit-scm:
330 git-url: '{git-url}'
331 refspec: '$GERRIT_REFSPEC'
332 branch: '$GERRIT_BRANCH'
333 submodule-recursive: '{submodule-recursive}'
334 choosing-strategy: gerrit
335 jenkins-ssh-credential: '{jenkins-ssh-credential}'
Yuta HIGUCHI7e982142018-05-08 15:02:05 -0700336
Yuta HIGUCHI18948042018-05-08 14:07:51 -0700337 builders:
338 - lf-provide-maven-settings:
339 settings-file: 'release-build-maven-settings'
340 global-settings-file: 'release-build-maven-settings'
341 - config-file-provider:
342 files:
343 - file-id: 'onos-build-credentials'
344 target: 'onos-build-credentials'
345 variable: 'CREDENTIALS_FILE'
346 - file-id: 'buck-config-local'
347 target: '.buckconfig.local'
348 variable: 'BUCK_CONFIG_FILE'
349 - file-id: 'gpg-key'
350 target: 'jenkins.key'
351 variable: 'GPG_KEY_FILE'
352 - file-id: 'release-build-maven-settings'
353 target: 'settings.xml'
354 variable: 'MAVEN_SETTINGS'
355 - file-id: 'api-onosproject-ssh-key'
356 target: 'id_rsa.pub'
357 variable: 'API_ONOSPROJECT_SSH_KEY'
358
359 #put shell scripts in file then make sure shell check is installed on verify vms
360 - shell: !include-raw-escape: onos-yang-tools-release-build.sh
361 # JJB 1.6.2 does not support parameter expansion on filename?
362 #- shell: !include-raw-escape: {project-name}-verify.sh
363
364
Ray Milkey83d912a2017-11-01 13:49:31 -0700365# workaround for lack of parameter expansion support in shell: (see above)
366- job-template:
367 #default name is global
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800368 name: 'onos-app-samples-{stream}-verify'
369
370 # Job template for Java verify jobs
371 #
372 # The purpose of this job templte is to run "maven clean install" for
373 # projects using this template.
374 #
375 # Required Variables:
376 # branch: git branch (eg. master)
377
378 <<: *job_boiler_plate
379 # yamllint disable-line rule:key-duplicates
380 <<: *verify_boiler_plate
381
382 builders:
383 #put shell scripts in file then make sure shell check is installed on verify vms
384 - shell: !include-raw-escape: onos-app-samples-verify.sh
385
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800386# workaround for lack of parameter expansion support in shell: (see above)
387- job-template:
388 #default name is global
389 name: 'onos-loxi-{stream}-verify'
390
391 # Job template for Java verify jobs
392 #
393 # The purpose of this job templte is to run "maven clean install" for
394 # projects using this template.
395 #
396 # Required Variables:
397 # branch: git branch (eg. master)
398
399 <<: *job_boiler_plate
400 # yamllint disable-line rule:key-duplicates
401 <<: *verify_boiler_plate
402
403 builders:
404 #put shell scripts in file then make sure shell check is installed on verify vms
405 - shell: !include-raw-escape: onos-loxi-verify.sh
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800406
407# workaround for lack of parameter expansion support in shell: (see above)
408- job-template:
409 #default name is global
Ray Milkey83d912a2017-11-01 13:49:31 -0700410 name: 'onos-gui-{stream}-verify'
411
412 # Job template for Java verify jobs
413 #
414 # The purpose of this job templte is to run "maven clean install" for
415 # projects using this template.
416 #
417 # Required Variables:
418 # branch: git branch (eg. master)
419
420 <<: *job_boiler_plate
421 # yamllint disable-line rule:key-duplicates
422 <<: *verify_boiler_plate
423
424 builders:
425 #put shell scripts in file then make sure shell check is installed on verify vms
426 - shell: !include-raw-escape: onos-gui-verify.sh
427
Ray Milkey8e462202017-11-02 10:18:37 -0700428- job-template:
429 #default name is global
430 name: 'onos-{stream}-release-build-verify'
431
432 # Job template for Java release check jobs
433 #
434
435 <<: *job_boiler_plate
436 # yamllint disable-line rule:key-duplicates
Ray Milkey29c54342017-11-06 16:43:01 -0800437 <<: *daily_boiler_plate
Ray Milkey8e462202017-11-02 10:18:37 -0700438
439 builders:
Ray Milkeyd3d7fa82018-08-14 17:20:52 -0700440 - config-file-provider:
441 files:
442 - file-id: 'gpg-key'
443 target: 'jenkins.key'
444 variable: 'GPG_KEY_FILE'
Ray Milkey8fae9a72017-11-17 10:03:54 -0800445
Ray Milkey8e462202017-11-02 10:18:37 -0700446 #put shell scripts in file then make sure shell check is installed on verify vms
447 - shell: !include-raw-escape: onos-release-build-verify.sh
448 # JJB 1.6.2 does not support parameter expansion on filename?
449 #- shell: !include-raw-escape: {project-name}-verify.sh
450
Ray Milkeyd9f73662017-11-06 10:29:51 -0800451- job-template:
452 #default name is global
Ray Milkey2afc4a52017-11-17 11:01:38 -0800453 name: 'onos-release-build'
454
455 # Job template for Java release jobs
456 #
457
458 <<: *job_boiler_plate
459 # yamllint disable-line rule:key-duplicates
Ray Milkey4309d9b2017-11-17 13:41:46 -0800460 <<: *release_build_boiler_plate
Ray Milkey2afc4a52017-11-17 11:01:38 -0800461
462 builders:
Ray Milkey094fd002017-11-22 10:21:59 -0800463 - lf-provide-maven-settings:
464 settings-file: 'release-build-maven-settings'
465 global-settings-file: 'release-build-maven-settings'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800466 - config-file-provider:
467 files:
468 - file-id: 'onos-build-credentials'
469 target: 'onos-build-credentials'
470 variable: 'CREDENTIALS_FILE'
Ray Milkeye8fd4f02017-11-17 14:54:18 -0800471 - file-id: 'buck-config-local'
472 target: '.buckconfig.local'
473 variable: 'BUCK_CONFIG_FILE'
Ray Milkeyb867be82017-11-27 13:29:19 -0800474 - file-id: 'gpg-key'
475 target: 'jenkins.key'
476 variable: 'GPG_KEY_FILE'
Ray Milkey43e7f932017-11-27 08:48:42 -0800477 - file-id: 'release-build-maven-settings'
478 target: 'settings.xml'
479 variable: 'MAVEN_SETTINGS'
Ray Milkey7d774fb2017-12-05 14:57:30 -0800480 - file-id: 'api-onosproject-ssh-key'
481 target: 'id_rsa.pub'
482 variable: 'API_ONOSPROJECT_SSH_KEY'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800483
484 #put shell scripts in file then make sure shell check is installed on verify vms
485 - shell: !include-raw-escape: onos-release-build.sh
486 # JJB 1.6.2 does not support parameter expansion on filename?
487 #- shell: !include-raw-escape: {project-name}-verify.sh
488
489- job-template:
490 #default name is global
Ray Milkey7c8b3f22018-08-13 15:01:12 -0700491 name: 'onos-bazel-release-build'
492
493 # Job template for Java release jobs
494 #
495
496 <<: *job_boiler_plate
497 # yamllint disable-line rule:key-duplicates
498 <<: *release_build_boiler_plate
499
500 builders:
501 - lf-provide-maven-settings:
502 settings-file: 'release-build-maven-settings'
503 global-settings-file: 'release-build-maven-settings'
504 - config-file-provider:
505 files:
506 - file-id: 'onos-build-credentials'
507 target: 'onos-build-credentials'
508 variable: 'CREDENTIALS_FILE'
509 - file-id: 'gpg-key'
510 target: 'jenkins.key'
511 variable: 'GPG_KEY_FILE'
512 - file-id: 'release-build-maven-settings'
513 target: 'settings.xml'
514 variable: 'MAVEN_SETTINGS'
515 - file-id: 'api-onosproject-ssh-key'
516 target: 'id_rsa.pub'
517 variable: 'API_ONOSPROJECT_SSH_KEY'
518
519 #put shell scripts in file then make sure shell check is installed on verify vms
520 - shell: !include-raw-escape: onos-bazel-release-build.sh
521 # JJB 1.6.2 does not support parameter expansion on filename?
522 #- shell: !include-raw-escape: {project-name}-verify.sh
523
524- job-template:
525 #default name is global
Ray Milkey0caba7f2018-01-08 12:56:18 -0800526 name: 'onos-docker-build'
527
528 # Job template for Docker jobs
529 #
530
531 <<: *job_boiler_plate
532 # yamllint disable-line rule:key-duplicates
Ray Milkeyb40e5672018-01-26 10:10:45 -0800533 <<: *docker_build_boiler_plate
Ray Milkey0caba7f2018-01-08 12:56:18 -0800534
535 builders:
536 - lf-provide-maven-settings:
537 settings-file: 'release-build-maven-settings'
538 global-settings-file: 'release-build-maven-settings'
539 - config-file-provider:
540 files:
541 - file-id: 'onos-build-credentials'
542 target: 'onos-build-credentials'
543 variable: 'CREDENTIALS_FILE'
544 - file-id: 'buck-config-local'
545 target: '.buckconfig.local'
546 variable: 'BUCK_CONFIG_FILE'
547 - file-id: 'gpg-key'
548 target: 'jenkins.key'
549 variable: 'GPG_KEY_FILE'
550 - file-id: 'release-build-maven-settings'
551 target: 'settings.xml'
552 variable: 'MAVEN_SETTINGS'
553 - file-id: 'api-onosproject-ssh-key'
554 target: 'id_rsa.pub'
555 variable: 'API_ONOSPROJECT_SSH_KEY'
556
557 #put shell scripts in file then make sure shell check is installed on verify vms
558 - shell: !include-raw-escape: onos-docker-build.sh
559 # JJB 1.6.2 does not support parameter expansion on filename?
560 #- shell: !include-raw-escape: {project-name}-verify.sh
561
562- job-template:
563 #default name is global
Ray Milkeyd9f73662017-11-06 10:29:51 -0800564 name: 'onos-{stream}-maven-verify'
565
566 <<: *job_boiler_plate
567 # yamllint disable-line rule:key-duplicates
Ray Milkeyf2aa9352018-06-06 14:35:35 -0700568 <<: *hourly_boiler_plate_with_slack
Ray Milkeyd9f73662017-11-06 10:29:51 -0800569
570 builders:
571 #put shell scripts in file then make sure shell check is installed on verify vms
572 - shell: !include-raw-escape: onos-maven-verify.sh
573 # JJB 1.6.2 does not support parameter expansion on filename?
574 #- shell: !include-raw-escape: {project-name}-verify.sh
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700575
Ray Milkey20d22522017-11-08 10:55:52 -0800576- job-template:
577 #default name is global
578 name: 'onos-{stream}-sonar'
579
580 <<: *job_boiler_plate
581 # yamllint disable-line rule:key-duplicates
582 <<: *daily_boiler_plate
583
584 builders:
585 #put shell scripts in file then make sure shell check is installed on verify vms
586 - shell: !include-raw-escape: onos-sonar.sh
587 # JJB 1.6.2 does not support parameter expansion on filename?
588 #- shell: !include-raw-escape: {project-name}-verify.sh
589
Ray Milkey3aa8af52018-03-09 09:10:08 -0800590- job-template:
591 name: 'onos-{stream}-stc-verify'
592
593 <<: *job_boiler_plate
594 # yamllint disable-line rule:key-duplicates
595 <<: *hourly_boiler_plate
596
597 builders:
598 #put shell scripts in file then make sure shell check is installed on verify vms
599 - shell: !include-raw-escape: onos-run-stc.sh
600
Ray Milkey9eb58512018-08-15 10:52:12 -0700601- job-template:
602 name: 'onos-{stream}-bazel-stc-verify'
603
604 <<: *job_boiler_plate
605 # yamllint disable-line rule:key-duplicates
606 <<: *hourly_boiler_plate
607
608 builders:
609 #put shell scripts in file then make sure shell check is installed on verify vms
610 - shell: !include-raw-escape: onos-run-bazel-stc.sh
611
Ray Milkey3aa8af52018-03-09 09:10:08 -0800612
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700613- job-template:
614 name: 'onos-{stream}-stc-hag-verify'
615
616 <<: *job_boiler_plate
617 # yamllint disable-line rule:key-duplicates
618 <<: *hourly_boiler_plate
619
620 builders:
621 #put shell scripts in file then make sure shell check is installed on verify vms
622 - shell: !include-raw-escape: onos-run-stc-hag.sh
623
624
Ray Milkey9eb58512018-08-15 10:52:12 -0700625- job-template:
626 name: 'onos-{stream}-bazel-stc-hag-verify'
627
628 <<: *job_boiler_plate
629 # yamllint disable-line rule:key-duplicates
630 <<: *hourly_boiler_plate
631
632 builders:
633 #put shell scripts in file then make sure shell check is installed on verify vms
634 - shell: !include-raw-escape: onos-run-bazel-stc-hag.sh
635
636
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700637- project:
638 name: onos
639 project-name: onos
640 project: onos
641
Ray Milkey43a340c2018-02-20 13:49:00 -0800642 build-timeout: '30'
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700643 build-node: 'ubuntu16.04-basebuild-8c-15g'
644
645 stream:
646 - 'master'
Ray Milkey1bc13772017-10-31 15:57:17 -0700647 - 'onos-1.10'
648 - 'onos-1.11'
Ray Milkey47d4f722017-11-21 09:36:37 -0800649 - 'onos-1.12'
Ray Milkeyfcb0db62018-04-13 16:47:46 -0700650 - 'onos-1.13'
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700651
652 jobs:
653 - '{project-name}-{stream}-verify'
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700654
655- project:
Ray Milkey2c9ed832018-08-07 10:45:52 -0700656 name: onos-bazel
657 project-name: onos-bazel
658 project: onos
659
660 build-timeout: '30'
661 build-node: 'ubuntu16.04-basebuild-8c-15g'
662
663 stream:
664 - 'master'
665
666 jobs:
667 - '{project-name}-{stream}-bazel-verify'
668
669- project:
Ray Milkey83d912a2017-11-01 13:49:31 -0700670 name: onos-gui
671 project-name: onos-gui
Ray Milkey24fe1ee2017-11-01 13:59:07 -0700672 project: onos
Ray Milkey83d912a2017-11-01 13:49:31 -0700673
Ray Milkey43a340c2018-02-20 13:49:00 -0800674 build-timeout: '30'
Ray Milkey83d912a2017-11-01 13:49:31 -0700675 build-node: 'ubuntu16.04-basebuild-8c-15g'
676
677 stream:
678 - 'master'
679 - 'onos-1.10'
680 - 'onos-1.11'
Ray Milkey47d4f722017-11-21 09:36:37 -0800681 - 'onos-1.12'
Ray Milkeyfcb0db62018-04-13 16:47:46 -0700682 - 'onos-1.13'
Ray Milkey83d912a2017-11-01 13:49:31 -0700683
684 jobs:
685 - 'onos-gui-{stream}-verify'
686
687- project:
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700688 name: onos-yang-tools
689 project-name: onos-yang-tools
690 project: onos-yang-tools
691
Ray Milkey43a340c2018-02-20 13:49:00 -0800692 build-timeout: '30'
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700693 build-node: 'ubuntu16.04-basebuild-8c-15g'
694
695 stream:
696 - 'master'
697
698 jobs:
699 - 'onos-yang-tools-{stream}-verify'
Ray Milkey8e462202017-11-02 10:18:37 -0700700
701- project:
Yuta HIGUCHI7e982142018-05-08 15:02:05 -0700702 name: onos-yang-tools-release-build
703 project-name: onos-yang-tools-release-build
704 project: onos-yang-tools
705
706 build-timeout: '240'
707 build-node: 'ubuntu16.04-basebuild-8c-15g'
708
709 stream: 'master'
710
711 jobs:
712 - 'onos-yang-tools-release-build'
713
714
715- project:
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800716 name: onos-app-samples
717 project-name: onos-app-samples
718 project: onos-app-samples
719
Ray Milkey43a340c2018-02-20 13:49:00 -0800720 build-timeout: '30'
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800721 build-node: 'ubuntu16.04-basebuild-8c-15g'
722
723 stream:
724 - 'master'
725
726 jobs:
727 - 'onos-app-samples-{stream}-verify'
728
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800729- project:
730 name: onos-loxi
731 project-name: onos-loxi
732 project: onos-loxi
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800733
Ray Milkey43a340c2018-02-20 13:49:00 -0800734 build-timeout: '30'
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800735 build-node: 'ubuntu16.04-basebuild-8c-15g'
736
737 stream:
738 - 'master'
739
740 jobs:
741 - 'onos-loxi-{stream}-verify'
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800742
743- project:
Ray Milkey8e462202017-11-02 10:18:37 -0700744 name: onos-release
745 project-name: onos-release
746 project: onos
747
Ray Milkey2d55e972018-05-04 13:01:36 -0700748 build-timeout: '240'
Ray Milkey8e462202017-11-02 10:18:37 -0700749 build-node: 'ubuntu16.04-basebuild-8c-15g'
750
751 stream:
752 - 'master'
753
754 jobs:
755 - 'onos-{stream}-release-build-verify'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800756
757- project:
758 name: onos-maven-verify
759 project-name: onos-maven-verify
760 project: onos
761
Ray Milkey43a340c2018-02-20 13:49:00 -0800762 build-timeout: '30'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800763 build-node: 'ubuntu16.04-basebuild-8c-15g'
764
765 stream:
Ray Milkeye8f39e02018-04-16 13:34:34 -0700766 - 'onos-1.12'
767 - 'onos-1.13'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800768
769 jobs:
770 - 'onos-{stream}-maven-verify'
Ray Milkey20d22522017-11-08 10:55:52 -0800771
772- project:
773 name: onos-sonar
774 project-name: onos-sonar
775 project: onos
776
Ray Milkey43a340c2018-02-20 13:49:00 -0800777 build-timeout: '90'
Ray Milkey20d22522017-11-08 10:55:52 -0800778 build-node: 'ubuntu16.04-basebuild-8c-15g'
779
780 stream:
781 - 'master'
782
783 jobs:
784 - 'onos-{stream}-sonar'
785
Ray Milkey2afc4a52017-11-17 11:01:38 -0800786- project:
787 name: onos-release-build
788 project-name: onos-release-build
789 project: onos
790
Ray Milkey884a2b82018-05-22 08:29:45 -0700791 build-timeout: '240'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800792 build-node: 'ubuntu16.04-basebuild-8c-15g'
793
Ray Milkey4309d9b2017-11-17 13:41:46 -0800794 stream: 'master'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800795
796 jobs:
797 - 'onos-release-build'
Ray Milkey0caba7f2018-01-08 12:56:18 -0800798
799- project:
Ray Milkey7c8b3f22018-08-13 15:01:12 -0700800 name: onos-bazel-release-build
801 project-name: onos-bazel-release-build
802 project: onos
803
804 build-timeout: '240'
805 build-node: 'ubuntu16.04-basebuild-8c-15g'
806
807 stream: 'master'
808
809 jobs:
810 - 'onos-bazel-release-build'
811
812- project:
Ray Milkey0caba7f2018-01-08 12:56:18 -0800813 name: onos-docker-build
814 project-name: onos-docker-build
815 project: onos
816
Ray Milkey43a340c2018-02-20 13:49:00 -0800817 build-timeout: '90'
Ray Milkey0caba7f2018-01-08 12:56:18 -0800818 build-node: 'ubuntu16.04-basebuild-8c-15g'
819
820 stream: 'master'
821
822 jobs:
823 - 'onos-docker-build'
Ray Milkey3aa8af52018-03-09 09:10:08 -0800824
825- project:
826 name: onos-stc-verify
Ray Milkeyd6580d82018-04-16 08:56:07 -0700827 project-name: onos-stc-verify
Ray Milkey3aa8af52018-03-09 09:10:08 -0800828 project: onos
829
830 build-timeout: '30'
831 build-node: 'ubuntu16.04-basebuild-8c-15g'
832
833 stream:
834 - 'master'
Ray Milkeyd6580d82018-04-16 08:56:07 -0700835 - 'onos-1.13'
836 - 'onos-1.12'
Ray Milkey3aa8af52018-03-09 09:10:08 -0800837
838 jobs:
839 - 'onos-{stream}-stc-verify'
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700840
841- project:
Ray Milkey9eb58512018-08-15 10:52:12 -0700842 name: onos-bazel-stc-verify
843 project-name: onos-bazel-stc-verify
844 project: onos
845
846 build-timeout: '30'
847 build-node: 'ubuntu16.04-basebuild-8c-15g'
848
849 stream:
850 - 'master'
851
852 jobs:
853 - 'onos-{stream}-bazel-stc-verify'
854
855- project:
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700856 name: onos-stc-hag-verify
857 project-name: onos-stc-hag-verify
858 project: onos
859
860 build-timeout: '30'
861 build-node: 'ubuntu16.04-basebuild-8c-15g'
862
863 stream:
864 - 'master'
865 - 'onos-1.13'
866 - 'onos-1.12'
867
868 jobs:
869 - 'onos-{stream}-stc-hag-verify'
Ray Milkey9eb58512018-08-15 10:52:12 -0700870
871- project:
872 name: onos-bazel-stc-hag-verify
873 project-name: onos-bazel-stc-hag-verify
874 project: onos
875
876 build-timeout: '30'
877 build-node: 'ubuntu16.04-basebuild-8c-15g'
878
879 stream:
880 - 'master'
881
882 jobs:
883 - 'onos-{stream}-bazel-stc-hag-verify'