blob: ebf6181e4250327d6a3061819ee3cf9f467f070f [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
601
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700602- job-template:
603 name: 'onos-{stream}-stc-hag-verify'
604
605 <<: *job_boiler_plate
606 # yamllint disable-line rule:key-duplicates
607 <<: *hourly_boiler_plate
608
609 builders:
610 #put shell scripts in file then make sure shell check is installed on verify vms
611 - shell: !include-raw-escape: onos-run-stc-hag.sh
612
613
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700614- project:
615 name: onos
616 project-name: onos
617 project: onos
618
Ray Milkey43a340c2018-02-20 13:49:00 -0800619 build-timeout: '30'
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700620 build-node: 'ubuntu16.04-basebuild-8c-15g'
621
622 stream:
623 - 'master'
Ray Milkey1bc13772017-10-31 15:57:17 -0700624 - 'onos-1.10'
625 - 'onos-1.11'
Ray Milkey47d4f722017-11-21 09:36:37 -0800626 - 'onos-1.12'
Ray Milkeyfcb0db62018-04-13 16:47:46 -0700627 - 'onos-1.13'
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700628
629 jobs:
630 - '{project-name}-{stream}-verify'
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700631
632- project:
Ray Milkey2c9ed832018-08-07 10:45:52 -0700633 name: onos-bazel
634 project-name: onos-bazel
635 project: onos
636
637 build-timeout: '30'
638 build-node: 'ubuntu16.04-basebuild-8c-15g'
639
640 stream:
641 - 'master'
642
643 jobs:
644 - '{project-name}-{stream}-bazel-verify'
645
646- project:
Ray Milkey83d912a2017-11-01 13:49:31 -0700647 name: onos-gui
648 project-name: onos-gui
Ray Milkey24fe1ee2017-11-01 13:59:07 -0700649 project: onos
Ray Milkey83d912a2017-11-01 13:49:31 -0700650
Ray Milkey43a340c2018-02-20 13:49:00 -0800651 build-timeout: '30'
Ray Milkey83d912a2017-11-01 13:49:31 -0700652 build-node: 'ubuntu16.04-basebuild-8c-15g'
653
654 stream:
655 - 'master'
656 - 'onos-1.10'
657 - 'onos-1.11'
Ray Milkey47d4f722017-11-21 09:36:37 -0800658 - 'onos-1.12'
Ray Milkeyfcb0db62018-04-13 16:47:46 -0700659 - 'onos-1.13'
Ray Milkey83d912a2017-11-01 13:49:31 -0700660
661 jobs:
662 - 'onos-gui-{stream}-verify'
663
664- project:
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700665 name: onos-yang-tools
666 project-name: onos-yang-tools
667 project: onos-yang-tools
668
Ray Milkey43a340c2018-02-20 13:49:00 -0800669 build-timeout: '30'
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700670 build-node: 'ubuntu16.04-basebuild-8c-15g'
671
672 stream:
673 - 'master'
674
675 jobs:
676 - 'onos-yang-tools-{stream}-verify'
Ray Milkey8e462202017-11-02 10:18:37 -0700677
678- project:
Yuta HIGUCHI7e982142018-05-08 15:02:05 -0700679 name: onos-yang-tools-release-build
680 project-name: onos-yang-tools-release-build
681 project: onos-yang-tools
682
683 build-timeout: '240'
684 build-node: 'ubuntu16.04-basebuild-8c-15g'
685
686 stream: 'master'
687
688 jobs:
689 - 'onos-yang-tools-release-build'
690
691
692- project:
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800693 name: onos-app-samples
694 project-name: onos-app-samples
695 project: onos-app-samples
696
Ray Milkey43a340c2018-02-20 13:49:00 -0800697 build-timeout: '30'
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800698 build-node: 'ubuntu16.04-basebuild-8c-15g'
699
700 stream:
701 - 'master'
702
703 jobs:
704 - 'onos-app-samples-{stream}-verify'
705
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800706- project:
707 name: onos-loxi
708 project-name: onos-loxi
709 project: onos-loxi
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800710
Ray Milkey43a340c2018-02-20 13:49:00 -0800711 build-timeout: '30'
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800712 build-node: 'ubuntu16.04-basebuild-8c-15g'
713
714 stream:
715 - 'master'
716
717 jobs:
718 - 'onos-loxi-{stream}-verify'
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800719
720- project:
Ray Milkey8e462202017-11-02 10:18:37 -0700721 name: onos-release
722 project-name: onos-release
723 project: onos
724
Ray Milkey2d55e972018-05-04 13:01:36 -0700725 build-timeout: '240'
Ray Milkey8e462202017-11-02 10:18:37 -0700726 build-node: 'ubuntu16.04-basebuild-8c-15g'
727
728 stream:
729 - 'master'
730
731 jobs:
732 - 'onos-{stream}-release-build-verify'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800733
734- project:
735 name: onos-maven-verify
736 project-name: onos-maven-verify
737 project: onos
738
Ray Milkey43a340c2018-02-20 13:49:00 -0800739 build-timeout: '30'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800740 build-node: 'ubuntu16.04-basebuild-8c-15g'
741
742 stream:
Ray Milkeye8f39e02018-04-16 13:34:34 -0700743 - 'onos-1.12'
744 - 'onos-1.13'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800745
746 jobs:
747 - 'onos-{stream}-maven-verify'
Ray Milkey20d22522017-11-08 10:55:52 -0800748
749- project:
750 name: onos-sonar
751 project-name: onos-sonar
752 project: onos
753
Ray Milkey43a340c2018-02-20 13:49:00 -0800754 build-timeout: '90'
Ray Milkey20d22522017-11-08 10:55:52 -0800755 build-node: 'ubuntu16.04-basebuild-8c-15g'
756
757 stream:
758 - 'master'
759
760 jobs:
761 - 'onos-{stream}-sonar'
762
Ray Milkey2afc4a52017-11-17 11:01:38 -0800763- project:
764 name: onos-release-build
765 project-name: onos-release-build
766 project: onos
767
Ray Milkey884a2b82018-05-22 08:29:45 -0700768 build-timeout: '240'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800769 build-node: 'ubuntu16.04-basebuild-8c-15g'
770
Ray Milkey4309d9b2017-11-17 13:41:46 -0800771 stream: 'master'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800772
773 jobs:
774 - 'onos-release-build'
Ray Milkey0caba7f2018-01-08 12:56:18 -0800775
776- project:
Ray Milkey7c8b3f22018-08-13 15:01:12 -0700777 name: onos-bazel-release-build
778 project-name: onos-bazel-release-build
779 project: onos
780
781 build-timeout: '240'
782 build-node: 'ubuntu16.04-basebuild-8c-15g'
783
784 stream: 'master'
785
786 jobs:
787 - 'onos-bazel-release-build'
788
789- project:
Ray Milkey0caba7f2018-01-08 12:56:18 -0800790 name: onos-docker-build
791 project-name: onos-docker-build
792 project: onos
793
Ray Milkey43a340c2018-02-20 13:49:00 -0800794 build-timeout: '90'
Ray Milkey0caba7f2018-01-08 12:56:18 -0800795 build-node: 'ubuntu16.04-basebuild-8c-15g'
796
797 stream: 'master'
798
799 jobs:
800 - 'onos-docker-build'
Ray Milkey3aa8af52018-03-09 09:10:08 -0800801
802- project:
803 name: onos-stc-verify
Ray Milkeyd6580d82018-04-16 08:56:07 -0700804 project-name: onos-stc-verify
Ray Milkey3aa8af52018-03-09 09:10:08 -0800805 project: onos
806
807 build-timeout: '30'
808 build-node: 'ubuntu16.04-basebuild-8c-15g'
809
810 stream:
811 - 'master'
Ray Milkeyd6580d82018-04-16 08:56:07 -0700812 - 'onos-1.13'
813 - 'onos-1.12'
Ray Milkey3aa8af52018-03-09 09:10:08 -0800814
815 jobs:
816 - 'onos-{stream}-stc-verify'
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700817
818- project:
819 name: onos-stc-hag-verify
820 project-name: onos-stc-hag-verify
821 project: onos
822
823 build-timeout: '30'
824 build-node: 'ubuntu16.04-basebuild-8c-15g'
825
826 stream:
827 - 'master'
828 - 'onos-1.13'
829 - 'onos-1.12'
830
831 jobs:
832 - 'onos-{stream}-stc-hag-verify'