blob: a169264108b81cbb01d1e0160daf3a19f74ea8a9 [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 Milkey2d55e972018-05-04 13:01:36 -0700198 default: '1.13'
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 Milkey2d55e972018-05-04 13:01:36 -0700203 default: '1.13.1-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
278 - shell: !include-raw-escape: onos-bazel-verify.sh
279 # JJB 1.6.2 does not support parameter expansion on filename?
280 #- shell: !include-raw-escape: {project-name}-verify.sh
281
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700282# workaround for lack of parameter expansion support in shell: (see above)
283- job-template:
284 #default name is global
285 name: 'onos-yang-tools-{stream}-verify'
286
287 # Job template for Java verify jobs
288 #
289 # The purpose of this job templte is to run "maven clean install" for
290 # projects using this template.
291 #
292 # Required Variables:
293 # branch: git branch (eg. master)
294
295 <<: *job_boiler_plate
296 # yamllint disable-line rule:key-duplicates
297 <<: *verify_boiler_plate
298
299 builders:
300 #put shell scripts in file then make sure shell check is installed on verify vms
301 - shell: !include-raw-escape: onos-yang-tools-verify.sh
302
Yuta HIGUCHI18948042018-05-08 14:07:51 -0700303- job-template:
304 #default name is global
305 name: 'onos-yang-tools-release-build'
306
307 # Job template for ONOS Yang tools release jobs
308 #
309
310 <<: *job_boiler_plate
311 # yamllint disable-line rule:key-duplicates
312 parameters:
313 - lf-infra-parameters:
314 project: '{project}'
315 branch: '{stream}'
316 stream: '{stream}'
317 lftools-version: '{lftools-version}'
318
319 - string:
320 name: YANGTOOLS_VERSION
Yuta HIGUCHIa36c0672018-05-11 09:45:47 -0700321 default: '2.4.4'
322 description: 'Version tag of ONOS Yang tools to build and release'
Yuta HIGUCHI18948042018-05-08 14:07:51 -0700323
324 - string:
325 name: YANGTOOLS_NEXT_VERSION
326 default: '2.5-SNAPSHOT'
327 description: 'Version of ONOS Yang tools to reset tree to afterwards'
328
329 scm:
330 - lf-infra-gerrit-scm:
331 git-url: '{git-url}'
332 refspec: '$GERRIT_REFSPEC'
333 branch: '$GERRIT_BRANCH'
334 submodule-recursive: '{submodule-recursive}'
335 choosing-strategy: gerrit
336 jenkins-ssh-credential: '{jenkins-ssh-credential}'
Yuta HIGUCHI7e982142018-05-08 15:02:05 -0700337
Yuta HIGUCHI18948042018-05-08 14:07:51 -0700338 builders:
339 - lf-provide-maven-settings:
340 settings-file: 'release-build-maven-settings'
341 global-settings-file: 'release-build-maven-settings'
342 - config-file-provider:
343 files:
344 - file-id: 'onos-build-credentials'
345 target: 'onos-build-credentials'
346 variable: 'CREDENTIALS_FILE'
347 - file-id: 'buck-config-local'
348 target: '.buckconfig.local'
349 variable: 'BUCK_CONFIG_FILE'
350 - file-id: 'gpg-key'
351 target: 'jenkins.key'
352 variable: 'GPG_KEY_FILE'
353 - file-id: 'release-build-maven-settings'
354 target: 'settings.xml'
355 variable: 'MAVEN_SETTINGS'
356 - file-id: 'api-onosproject-ssh-key'
357 target: 'id_rsa.pub'
358 variable: 'API_ONOSPROJECT_SSH_KEY'
359
360 #put shell scripts in file then make sure shell check is installed on verify vms
361 - shell: !include-raw-escape: onos-yang-tools-release-build.sh
362 # JJB 1.6.2 does not support parameter expansion on filename?
363 #- shell: !include-raw-escape: {project-name}-verify.sh
364
365
Ray Milkey83d912a2017-11-01 13:49:31 -0700366# workaround for lack of parameter expansion support in shell: (see above)
367- job-template:
368 #default name is global
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800369 name: 'onos-app-samples-{stream}-verify'
370
371 # Job template for Java verify jobs
372 #
373 # The purpose of this job templte is to run "maven clean install" for
374 # projects using this template.
375 #
376 # Required Variables:
377 # branch: git branch (eg. master)
378
379 <<: *job_boiler_plate
380 # yamllint disable-line rule:key-duplicates
381 <<: *verify_boiler_plate
382
383 builders:
384 #put shell scripts in file then make sure shell check is installed on verify vms
385 - shell: !include-raw-escape: onos-app-samples-verify.sh
386
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800387# workaround for lack of parameter expansion support in shell: (see above)
388- job-template:
389 #default name is global
390 name: 'onos-loxi-{stream}-verify'
391
392 # Job template for Java verify jobs
393 #
394 # The purpose of this job templte is to run "maven clean install" for
395 # projects using this template.
396 #
397 # Required Variables:
398 # branch: git branch (eg. master)
399
400 <<: *job_boiler_plate
401 # yamllint disable-line rule:key-duplicates
402 <<: *verify_boiler_plate
403
404 builders:
405 #put shell scripts in file then make sure shell check is installed on verify vms
406 - shell: !include-raw-escape: onos-loxi-verify.sh
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800407
408# workaround for lack of parameter expansion support in shell: (see above)
409- job-template:
410 #default name is global
Ray Milkey83d912a2017-11-01 13:49:31 -0700411 name: 'onos-gui-{stream}-verify'
412
413 # Job template for Java verify jobs
414 #
415 # The purpose of this job templte is to run "maven clean install" for
416 # projects using this template.
417 #
418 # Required Variables:
419 # branch: git branch (eg. master)
420
421 <<: *job_boiler_plate
422 # yamllint disable-line rule:key-duplicates
423 <<: *verify_boiler_plate
424
425 builders:
426 #put shell scripts in file then make sure shell check is installed on verify vms
427 - shell: !include-raw-escape: onos-gui-verify.sh
428
Ray Milkey8e462202017-11-02 10:18:37 -0700429- job-template:
430 #default name is global
431 name: 'onos-{stream}-release-build-verify'
432
433 # Job template for Java release check jobs
434 #
435
436 <<: *job_boiler_plate
437 # yamllint disable-line rule:key-duplicates
Ray Milkey29c54342017-11-06 16:43:01 -0800438 <<: *daily_boiler_plate
Ray Milkey8e462202017-11-02 10:18:37 -0700439
440 builders:
Ray Milkeyd3d7fa82018-08-14 17:20:52 -0700441 - config-file-provider:
442 files:
443 - file-id: 'gpg-key'
444 target: 'jenkins.key'
445 variable: 'GPG_KEY_FILE'
Ray Milkey8fae9a72017-11-17 10:03:54 -0800446
Ray Milkey8e462202017-11-02 10:18:37 -0700447 #put shell scripts in file then make sure shell check is installed on verify vms
448 - shell: !include-raw-escape: onos-release-build-verify.sh
449 # JJB 1.6.2 does not support parameter expansion on filename?
450 #- shell: !include-raw-escape: {project-name}-verify.sh
451
Ray Milkeyd9f73662017-11-06 10:29:51 -0800452- job-template:
453 #default name is global
Ray Milkey2afc4a52017-11-17 11:01:38 -0800454 name: 'onos-release-build'
455
456 # Job template for Java release jobs
457 #
458
459 <<: *job_boiler_plate
460 # yamllint disable-line rule:key-duplicates
Ray Milkey4309d9b2017-11-17 13:41:46 -0800461 <<: *release_build_boiler_plate
Ray Milkey2afc4a52017-11-17 11:01:38 -0800462
463 builders:
Ray Milkey094fd002017-11-22 10:21:59 -0800464 - lf-provide-maven-settings:
465 settings-file: 'release-build-maven-settings'
466 global-settings-file: 'release-build-maven-settings'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800467 - config-file-provider:
468 files:
469 - file-id: 'onos-build-credentials'
470 target: 'onos-build-credentials'
471 variable: 'CREDENTIALS_FILE'
Ray Milkeye8fd4f02017-11-17 14:54:18 -0800472 - file-id: 'buck-config-local'
473 target: '.buckconfig.local'
474 variable: 'BUCK_CONFIG_FILE'
Ray Milkeyb867be82017-11-27 13:29:19 -0800475 - file-id: 'gpg-key'
476 target: 'jenkins.key'
477 variable: 'GPG_KEY_FILE'
Ray Milkey43e7f932017-11-27 08:48:42 -0800478 - file-id: 'release-build-maven-settings'
479 target: 'settings.xml'
480 variable: 'MAVEN_SETTINGS'
Ray Milkey7d774fb2017-12-05 14:57:30 -0800481 - file-id: 'api-onosproject-ssh-key'
482 target: 'id_rsa.pub'
483 variable: 'API_ONOSPROJECT_SSH_KEY'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800484
485 #put shell scripts in file then make sure shell check is installed on verify vms
486 - shell: !include-raw-escape: onos-release-build.sh
487 # JJB 1.6.2 does not support parameter expansion on filename?
488 #- shell: !include-raw-escape: {project-name}-verify.sh
489
490- job-template:
491 #default name is global
Ray Milkey7c8b3f22018-08-13 15:01:12 -0700492 name: 'onos-bazel-release-build'
493
494 # Job template for Java release jobs
495 #
496
497 <<: *job_boiler_plate
498 # yamllint disable-line rule:key-duplicates
499 <<: *release_build_boiler_plate
500
501 builders:
502 - lf-provide-maven-settings:
503 settings-file: 'release-build-maven-settings'
504 global-settings-file: 'release-build-maven-settings'
505 - config-file-provider:
506 files:
507 - file-id: 'onos-build-credentials'
508 target: 'onos-build-credentials'
509 variable: 'CREDENTIALS_FILE'
510 - file-id: 'gpg-key'
511 target: 'jenkins.key'
512 variable: 'GPG_KEY_FILE'
513 - file-id: 'release-build-maven-settings'
514 target: 'settings.xml'
515 variable: 'MAVEN_SETTINGS'
516 - file-id: 'api-onosproject-ssh-key'
517 target: 'id_rsa.pub'
518 variable: 'API_ONOSPROJECT_SSH_KEY'
519
520 #put shell scripts in file then make sure shell check is installed on verify vms
521 - shell: !include-raw-escape: onos-bazel-release-build.sh
522 # JJB 1.6.2 does not support parameter expansion on filename?
523 #- shell: !include-raw-escape: {project-name}-verify.sh
524
525- job-template:
526 #default name is global
Ray Milkey0caba7f2018-01-08 12:56:18 -0800527 name: 'onos-docker-build'
528
529 # Job template for Docker jobs
530 #
531
532 <<: *job_boiler_plate
533 # yamllint disable-line rule:key-duplicates
Ray Milkeyb40e5672018-01-26 10:10:45 -0800534 <<: *docker_build_boiler_plate
Ray Milkey0caba7f2018-01-08 12:56:18 -0800535
536 builders:
537 - lf-provide-maven-settings:
538 settings-file: 'release-build-maven-settings'
539 global-settings-file: 'release-build-maven-settings'
540 - config-file-provider:
541 files:
542 - file-id: 'onos-build-credentials'
543 target: 'onos-build-credentials'
544 variable: 'CREDENTIALS_FILE'
545 - file-id: 'buck-config-local'
546 target: '.buckconfig.local'
547 variable: 'BUCK_CONFIG_FILE'
548 - file-id: 'gpg-key'
549 target: 'jenkins.key'
550 variable: 'GPG_KEY_FILE'
551 - file-id: 'release-build-maven-settings'
552 target: 'settings.xml'
553 variable: 'MAVEN_SETTINGS'
554 - file-id: 'api-onosproject-ssh-key'
555 target: 'id_rsa.pub'
556 variable: 'API_ONOSPROJECT_SSH_KEY'
557
558 #put shell scripts in file then make sure shell check is installed on verify vms
559 - shell: !include-raw-escape: onos-docker-build.sh
560 # JJB 1.6.2 does not support parameter expansion on filename?
561 #- shell: !include-raw-escape: {project-name}-verify.sh
562
563- job-template:
564 #default name is global
Ray Milkeyd9f73662017-11-06 10:29:51 -0800565 name: 'onos-{stream}-maven-verify'
566
567 <<: *job_boiler_plate
568 # yamllint disable-line rule:key-duplicates
Ray Milkeyf2aa9352018-06-06 14:35:35 -0700569 <<: *hourly_boiler_plate_with_slack
Ray Milkeyd9f73662017-11-06 10:29:51 -0800570
571 builders:
572 #put shell scripts in file then make sure shell check is installed on verify vms
573 - shell: !include-raw-escape: onos-maven-verify.sh
574 # JJB 1.6.2 does not support parameter expansion on filename?
575 #- shell: !include-raw-escape: {project-name}-verify.sh
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700576
Ray Milkey20d22522017-11-08 10:55:52 -0800577- job-template:
578 #default name is global
579 name: 'onos-{stream}-sonar'
580
581 <<: *job_boiler_plate
582 # yamllint disable-line rule:key-duplicates
583 <<: *daily_boiler_plate
584
585 builders:
586 #put shell scripts in file then make sure shell check is installed on verify vms
587 - shell: !include-raw-escape: onos-sonar.sh
588 # JJB 1.6.2 does not support parameter expansion on filename?
589 #- shell: !include-raw-escape: {project-name}-verify.sh
590
Ray Milkey3aa8af52018-03-09 09:10:08 -0800591- job-template:
592 name: 'onos-{stream}-stc-verify'
593
594 <<: *job_boiler_plate
595 # yamllint disable-line rule:key-duplicates
596 <<: *hourly_boiler_plate
597
598 builders:
599 #put shell scripts in file then make sure shell check is installed on verify vms
600 - shell: !include-raw-escape: onos-run-stc.sh
601
Ray Milkey9eb58512018-08-15 10:52:12 -0700602- job-template:
603 name: 'onos-{stream}-bazel-stc-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-bazel-stc.sh
612
Ray Milkey3aa8af52018-03-09 09:10:08 -0800613
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700614- job-template:
615 name: 'onos-{stream}-stc-hag-verify'
616
617 <<: *job_boiler_plate
618 # yamllint disable-line rule:key-duplicates
619 <<: *hourly_boiler_plate
620
621 builders:
622 #put shell scripts in file then make sure shell check is installed on verify vms
623 - shell: !include-raw-escape: onos-run-stc-hag.sh
624
625
Ray Milkey9eb58512018-08-15 10:52:12 -0700626- job-template:
627 name: 'onos-{stream}-bazel-stc-hag-verify'
628
629 <<: *job_boiler_plate
630 # yamllint disable-line rule:key-duplicates
631 <<: *hourly_boiler_plate
632
633 builders:
634 #put shell scripts in file then make sure shell check is installed on verify vms
635 - shell: !include-raw-escape: onos-run-bazel-stc-hag.sh
636
637
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700638- project:
639 name: onos
640 project-name: onos
641 project: onos
642
Ray Milkey43a340c2018-02-20 13:49:00 -0800643 build-timeout: '30'
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700644 build-node: 'ubuntu16.04-basebuild-8c-15g'
645
646 stream:
647 - 'master'
Ray Milkey1bc13772017-10-31 15:57:17 -0700648 - 'onos-1.10'
649 - 'onos-1.11'
Ray Milkey47d4f722017-11-21 09:36:37 -0800650 - 'onos-1.12'
Ray Milkeyfcb0db62018-04-13 16:47:46 -0700651 - 'onos-1.13'
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700652
653 jobs:
654 - '{project-name}-{stream}-verify'
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700655
656- project:
Ray Milkey2c9ed832018-08-07 10:45:52 -0700657 name: onos-bazel
658 project-name: onos-bazel
659 project: onos
660
661 build-timeout: '30'
662 build-node: 'ubuntu16.04-basebuild-8c-15g'
663
664 stream:
665 - 'master'
666
667 jobs:
668 - '{project-name}-{stream}-bazel-verify'
669
670- project:
Ray Milkey83d912a2017-11-01 13:49:31 -0700671 name: onos-gui
672 project-name: onos-gui
Ray Milkey24fe1ee2017-11-01 13:59:07 -0700673 project: onos
Ray Milkey83d912a2017-11-01 13:49:31 -0700674
Ray Milkey43a340c2018-02-20 13:49:00 -0800675 build-timeout: '30'
Ray Milkey83d912a2017-11-01 13:49:31 -0700676 build-node: 'ubuntu16.04-basebuild-8c-15g'
677
678 stream:
679 - 'master'
680 - 'onos-1.10'
681 - 'onos-1.11'
Ray Milkey47d4f722017-11-21 09:36:37 -0800682 - 'onos-1.12'
Ray Milkeyfcb0db62018-04-13 16:47:46 -0700683 - 'onos-1.13'
Ray Milkey83d912a2017-11-01 13:49:31 -0700684
685 jobs:
686 - 'onos-gui-{stream}-verify'
687
688- project:
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700689 name: onos-yang-tools
690 project-name: onos-yang-tools
691 project: onos-yang-tools
692
Ray Milkey43a340c2018-02-20 13:49:00 -0800693 build-timeout: '30'
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700694 build-node: 'ubuntu16.04-basebuild-8c-15g'
695
696 stream:
697 - 'master'
698
699 jobs:
700 - 'onos-yang-tools-{stream}-verify'
Ray Milkey8e462202017-11-02 10:18:37 -0700701
702- project:
Yuta HIGUCHI7e982142018-05-08 15:02:05 -0700703 name: onos-yang-tools-release-build
704 project-name: onos-yang-tools-release-build
705 project: onos-yang-tools
706
707 build-timeout: '240'
708 build-node: 'ubuntu16.04-basebuild-8c-15g'
709
710 stream: 'master'
711
712 jobs:
713 - 'onos-yang-tools-release-build'
714
715
716- project:
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800717 name: onos-app-samples
718 project-name: onos-app-samples
719 project: onos-app-samples
720
Ray Milkey43a340c2018-02-20 13:49:00 -0800721 build-timeout: '30'
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800722 build-node: 'ubuntu16.04-basebuild-8c-15g'
723
724 stream:
725 - 'master'
726
727 jobs:
728 - 'onos-app-samples-{stream}-verify'
729
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800730- project:
731 name: onos-loxi
732 project-name: onos-loxi
733 project: onos-loxi
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800734
Ray Milkey43a340c2018-02-20 13:49:00 -0800735 build-timeout: '30'
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800736 build-node: 'ubuntu16.04-basebuild-8c-15g'
737
738 stream:
739 - 'master'
740
741 jobs:
742 - 'onos-loxi-{stream}-verify'
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800743
744- project:
Ray Milkey8e462202017-11-02 10:18:37 -0700745 name: onos-release
746 project-name: onos-release
747 project: onos
748
Ray Milkey2d55e972018-05-04 13:01:36 -0700749 build-timeout: '240'
Ray Milkey8e462202017-11-02 10:18:37 -0700750 build-node: 'ubuntu16.04-basebuild-8c-15g'
751
752 stream:
753 - 'master'
754
755 jobs:
756 - 'onos-{stream}-release-build-verify'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800757
758- project:
759 name: onos-maven-verify
760 project-name: onos-maven-verify
761 project: onos
762
Ray Milkey43a340c2018-02-20 13:49:00 -0800763 build-timeout: '30'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800764 build-node: 'ubuntu16.04-basebuild-8c-15g'
765
766 stream:
Ray Milkeye8f39e02018-04-16 13:34:34 -0700767 - 'onos-1.12'
768 - 'onos-1.13'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800769
770 jobs:
771 - 'onos-{stream}-maven-verify'
Ray Milkey20d22522017-11-08 10:55:52 -0800772
773- project:
774 name: onos-sonar
775 project-name: onos-sonar
776 project: onos
777
Ray Milkey43a340c2018-02-20 13:49:00 -0800778 build-timeout: '90'
Ray Milkey20d22522017-11-08 10:55:52 -0800779 build-node: 'ubuntu16.04-basebuild-8c-15g'
780
781 stream:
782 - 'master'
783
784 jobs:
785 - 'onos-{stream}-sonar'
786
Ray Milkey2afc4a52017-11-17 11:01:38 -0800787- project:
788 name: onos-release-build
789 project-name: onos-release-build
790 project: onos
791
Ray Milkey884a2b82018-05-22 08:29:45 -0700792 build-timeout: '240'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800793 build-node: 'ubuntu16.04-basebuild-8c-15g'
794
Ray Milkey4309d9b2017-11-17 13:41:46 -0800795 stream: 'master'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800796
797 jobs:
798 - 'onos-release-build'
Ray Milkey0caba7f2018-01-08 12:56:18 -0800799
800- project:
Ray Milkey7c8b3f22018-08-13 15:01:12 -0700801 name: onos-bazel-release-build
802 project-name: onos-bazel-release-build
803 project: onos
804
805 build-timeout: '240'
806 build-node: 'ubuntu16.04-basebuild-8c-15g'
807
808 stream: 'master'
809
810 jobs:
811 - 'onos-bazel-release-build'
812
813- project:
Ray Milkey0caba7f2018-01-08 12:56:18 -0800814 name: onos-docker-build
815 project-name: onos-docker-build
816 project: onos
817
Ray Milkey43a340c2018-02-20 13:49:00 -0800818 build-timeout: '90'
Ray Milkey0caba7f2018-01-08 12:56:18 -0800819 build-node: 'ubuntu16.04-basebuild-8c-15g'
820
821 stream: 'master'
822
823 jobs:
824 - 'onos-docker-build'
Ray Milkey3aa8af52018-03-09 09:10:08 -0800825
826- project:
827 name: onos-stc-verify
Ray Milkeyd6580d82018-04-16 08:56:07 -0700828 project-name: onos-stc-verify
Ray Milkey3aa8af52018-03-09 09:10:08 -0800829 project: onos
830
831 build-timeout: '30'
832 build-node: 'ubuntu16.04-basebuild-8c-15g'
833
834 stream:
835 - 'master'
Ray Milkeyd6580d82018-04-16 08:56:07 -0700836 - 'onos-1.13'
837 - 'onos-1.12'
Ray Milkey3aa8af52018-03-09 09:10:08 -0800838
839 jobs:
840 - 'onos-{stream}-stc-verify'
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700841
842- project:
Ray Milkey9eb58512018-08-15 10:52:12 -0700843 name: onos-bazel-stc-verify
844 project-name: onos-bazel-stc-verify
845 project: onos
846
847 build-timeout: '30'
848 build-node: 'ubuntu16.04-basebuild-8c-15g'
849
850 stream:
851 - 'master'
852
853 jobs:
854 - 'onos-{stream}-bazel-stc-verify'
855
856- project:
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700857 name: onos-stc-hag-verify
858 project-name: onos-stc-hag-verify
859 project: onos
860
861 build-timeout: '30'
862 build-node: 'ubuntu16.04-basebuild-8c-15g'
863
864 stream:
865 - 'master'
866 - 'onos-1.13'
867 - 'onos-1.12'
868
869 jobs:
870 - 'onos-{stream}-stc-hag-verify'
Ray Milkey9eb58512018-08-15 10:52:12 -0700871
872- project:
873 name: onos-bazel-stc-hag-verify
874 project-name: onos-bazel-stc-hag-verify
875 project: onos
876
877 build-timeout: '30'
878 build-node: 'ubuntu16.04-basebuild-8c-15g'
879
880 stream:
881 - 'master'
882
883 jobs:
884 - 'onos-{stream}-bazel-stc-hag-verify'