blob: 52780edec12a13e601962bebc6bfb341050ca858 [file] [log] [blame]
Brian O'Connor9fbe7722017-10-27 12:44:04 -07001---
2
3- job_boiler_plate: &job_boiler_plate
4 name: job-boiler-plate
5
6 project-type: freestyle
7 node: '{build-node}'
8
9 ######################
10 # Default parameters #
11 ######################
12
13 branch: master
14 submodule-recursive: true
15 git-url: '$GIT_URL/$GERRIT_PROJECT'
16
17 #####################
18 # Job Configuration #
19 #####################
20
21 properties:
22 - lf-infra-properties:
23 project: '{project}'
24 build-days-to-keep: '{build-days-to-keep}'
25 #- github:
26 # url: '{git-url}/{github-org}/{project}'
27
28 parameters:
29 - lf-infra-parameters:
30 project: '{project}'
Ray Milkeye0b54ef2017-10-31 16:17:34 -070031 branch: '{stream}'
Brian O'Connor9fbe7722017-10-27 12:44:04 -070032 stream: '{stream}'
33 lftools-version: '{lftools-version}'
34
35 wrappers:
36 - lf-infra-wrappers:
37 build-timeout: '{build-timeout}'
38 jenkins-ssh-credential: '{jenkins-ssh-credential}'
39
40
41- verify_boiler_plate: &verify_boiler_plate
42 name: verify_boiler_plate
43
44 concurrent: true
45
46 scm:
Brian O'Connore78aff62017-10-30 14:08:51 -070047 - lf-infra-gerrit-scm:
48 git-url: '{git-url}'
Brian O'Connor9fbe7722017-10-27 12:44:04 -070049 refspec: '$GERRIT_REFSPEC'
50 branch: '$GERRIT_BRANCH'
51 submodule-recursive: '{submodule-recursive}'
Brian O'Connore78aff62017-10-30 14:08:51 -070052 choosing-strategy: gerrit
Brian O'Connor9fbe7722017-10-27 12:44:04 -070053 jenkins-ssh-credential: '{jenkins-ssh-credential}'
54
55 triggers:
56 - gerrit:
57 #server-name: '{gerrit-server-name}'
58 server-name: 'ONOS Project Gerrit'
59 #trigger-on: '{obj:gerrit_verify_triggers}'
60 trigger-on:
61 - patchset-created-event:
62 exclude-drafts: true
63 exclude-trivial-rebase: false
64 exclude-no-code-change: true
Yuta HIGUCHI19f94672018-05-04 12:33:23 -070065 - draft-published-event: true
Brian O'Connoredd87412017-10-30 19:27:08 -070066 - comment-added-contains-event:
67 comment-contains-value: '(?i)^.*recheck$'
Brian O'Connor9fbe7722017-10-27 12:44:04 -070068 projects:
69 - project-compare-type: PLAIN
Ray Milkey20beeae2017-10-31 15:26:10 -070070 project-pattern: '{project}'
Brian O'Connor9fbe7722017-10-27 12:44:04 -070071 branches:
72 - branch-compare-type: ANT
Ray Milkeye0b54ef2017-10-31 16:17:34 -070073 branch-pattern: '**/{stream}'
Ray Milkeyc0c94f52017-10-30 17:36:14 -070074 #file-paths: '{obj:gerrit_trigger_file_paths}'
Brian O'Connor9fbe7722017-10-27 12:44:04 -070075
Ray Milkey8e462202017-11-02 10:18:37 -070076- daily_boiler_plate: &daily_boiler_plate
77 name: daily_boiler_plate
78
79 concurrent: true
80
81 scm:
82 - lf-infra-gerrit-scm:
83 git-url: '{git-url}'
84 refspec: '$GERRIT_REFSPEC'
85 branch: '$GERRIT_BRANCH'
86 submodule-recursive: '{submodule-recursive}'
87 choosing-strategy: gerrit
88 jenkins-ssh-credential: '{jenkins-ssh-credential}'
89
90 triggers:
91 - timed: '@daily'
92
Ray Milkeyc6e9a852018-01-30 13:27:06 -080093# FIXME - there is a Slack integration plugin in 2.0.3
94 publishers:
95 - raw:
96 xml: |
97 <jenkins.plugins.slack.SlackNotifier plugin="slack@2.3">
98 <baseUrl/>
99 <teamDomain/>
100 <authToken/>
101 <authTokenCredentialId>slack-token</authTokenCredentialId>
102 <botUser>false</botUser>
103 <room>build-status</room>
104 <startNotification>false</startNotification>
105 <notifySuccess>false</notifySuccess>
106 <notifyAborted>true</notifyAborted>
107 <notifyNotBuilt>true</notifyNotBuilt>
108 <notifyUnstable>true</notifyUnstable>
109 <notifyRegression>true</notifyRegression>
110 <notifyFailure>true</notifyFailure>
111 <notifyBackToNormal>true</notifyBackToNormal>
112 <notifyRepeatedFailure>false</notifyRepeatedFailure>
113 <includeTestSummary>false</includeTestSummary>
114 <includeFailedTests>false</includeFailedTests>
115 <commitInfoChoice>AUTHORS_AND_TITLES</commitInfoChoice>
116 <includeCustomMessage>false</includeCustomMessage>
117 <customMessage/>
118 </jenkins.plugins.slack.SlackNotifier>
119
120
121
Ray Milkeyf2aa9352018-06-06 14:35:35 -0700122- hourly_boiler_plate_with_slack: &hourly_boiler_plate_with_slack
123 name: hourly_boiler_plate_with_slack
Ray Milkeyd9f73662017-11-06 10:29:51 -0800124
125 concurrent: true
126
127 scm:
128 - lf-infra-gerrit-scm:
129 git-url: '{git-url}'
130 refspec: '$GERRIT_REFSPEC'
131 branch: '$GERRIT_BRANCH'
132 submodule-recursive: '{submodule-recursive}'
133 choosing-strategy: gerrit
134 jenkins-ssh-credential: '{jenkins-ssh-credential}'
135
136 triggers:
Yuta HIGUCHI4430a0f2018-05-07 17:30:46 +0000137 - timed: '@hourly'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800138
Ray Milkeyc6e9a852018-01-30 13:27:06 -0800139# FIXME - there is a Slack integration plugin in 2.0.3
140 publishers:
141 - raw:
142 xml: |
143 <jenkins.plugins.slack.SlackNotifier plugin="slack@2.3">
144 <baseUrl/>
145 <teamDomain/>
146 <authToken/>
147 <authTokenCredentialId>slack-token</authTokenCredentialId>
148 <botUser>false</botUser>
149 <room>build-status</room>
150 <startNotification>false</startNotification>
151 <notifySuccess>false</notifySuccess>
152 <notifyAborted>true</notifyAborted>
153 <notifyNotBuilt>true</notifyNotBuilt>
154 <notifyUnstable>true</notifyUnstable>
155 <notifyRegression>true</notifyRegression>
156 <notifyFailure>true</notifyFailure>
157 <notifyBackToNormal>true</notifyBackToNormal>
158 <notifyRepeatedFailure>false</notifyRepeatedFailure>
159 <includeTestSummary>false</includeTestSummary>
160 <includeFailedTests>false</includeFailedTests>
161 <commitInfoChoice>AUTHORS_AND_TITLES</commitInfoChoice>
162 <includeCustomMessage>false</includeCustomMessage>
163 <customMessage/>
164 </jenkins.plugins.slack.SlackNotifier>
165
Ray Milkeyf2aa9352018-06-06 14:35:35 -0700166- hourly_boiler_plate: &hourly_boiler_plate
167 name: hourly_boiler_plate
168
169 concurrent: true
170
171 scm:
172 - lf-infra-gerrit-scm:
173 git-url: '{git-url}'
174 refspec: '$GERRIT_REFSPEC'
175 branch: '$GERRIT_BRANCH'
176 submodule-recursive: '{submodule-recursive}'
177 choosing-strategy: gerrit
178 jenkins-ssh-credential: '{jenkins-ssh-credential}'
179
Ray Milkeyf7633b22018-08-17 08:57:28 -0700180# runs every 4 hours
Ray Milkeyf2aa9352018-06-06 14:35:35 -0700181 triggers:
Ray Milkeyf7633b22018-08-17 08:57:28 -0700182 - timed: 'H 4,8,12,16,20 * * *'
Ray Milkeyc6e9a852018-01-30 13:27:06 -0800183
Ray Milkey4309d9b2017-11-17 13:41:46 -0800184- release_build_boiler_plate: &release_build_boiler_plate
185 name: release_build_boiler_plate
186
187 concurrent: true
188
189 parameters:
190 - lf-infra-parameters:
191 project: '{project}'
192 branch: '{stream}'
193 stream: '{stream}'
194 lftools-version: '{lftools-version}'
195
196 - string:
197 name: ONOS_VERSION
Ray Milkeyfef4be02018-11-08 15:34:13 -0800198 default: '1.15'
Ray Milkeyb40e5672018-01-26 10:10:45 -0800199 description: 'Version tag of ONOS to build'
Ray Milkey4309d9b2017-11-17 13:41:46 -0800200
201 - string:
202 name: ONOS_NEXT_VERSION
Ray Milkeyfef4be02018-11-08 15:34:13 -0800203 default: '1.15.0-SNAPSHOT'
Ray Milkeyb40e5672018-01-26 10:10:45 -0800204 description: 'Version of ONOS to reset tree to'
205
206 scm:
207 - lf-infra-gerrit-scm:
208 git-url: '{git-url}'
209 refspec: '$GERRIT_REFSPEC'
210 branch: '$GERRIT_BRANCH'
211 submodule-recursive: '{submodule-recursive}'
212 choosing-strategy: gerrit
213 jenkins-ssh-credential: '{jenkins-ssh-credential}'
214
215- docker_build_boiler_plate: &docker_build_boiler_plate
216 name: release_build_boiler_plate
217
218 concurrent: true
219
220 parameters:
221 - lf-infra-parameters:
222 project: '{project}'
223 branch: '{stream}'
224 stream: '{stream}'
225 lftools-version: '{lftools-version}'
226
227 - string:
228 name: ONOS_TAG
229 default: ''
230 description: 'Tag of ONOS to build'
Ray Milkey4309d9b2017-11-17 13:41:46 -0800231
232 scm:
233 - lf-infra-gerrit-scm:
234 git-url: '{git-url}'
235 refspec: '$GERRIT_REFSPEC'
236 branch: '$GERRIT_BRANCH'
237 submodule-recursive: '{submodule-recursive}'
238 choosing-strategy: gerrit
239 jenkins-ssh-credential: '{jenkins-ssh-credential}'
240
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700241- job-template:
242 #default name is global
243 name: '{project-name}-{stream}-verify'
244
245 # Job template for Java verify jobs
246 #
247 # The purpose of this job templte is to run "maven clean install" for
248 # projects using this template.
249 #
250 # Required Variables:
251 # branch: git branch (eg. master)
252
253 <<: *job_boiler_plate
254 # yamllint disable-line rule:key-duplicates
255 <<: *verify_boiler_plate
256
257 builders:
258 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkey7aa43462017-10-30 16:15:23 -0700259 - shell: !include-raw-escape: onos-verify.sh
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700260 # JJB 1.6.2 does not support parameter expansion on filename?
261 #- shell: !include-raw-escape: {project-name}-verify.sh
262
Ray Milkey2c9ed832018-08-07 10:45:52 -0700263- job-template:
264 #default name is global
265 name: '{project-name}-{stream}-bazel-verify'
266
267 # Job template for Java verify jobs
268 #
269 # Required Variables:
270 # branch: git branch (eg. master)
271
272 <<: *job_boiler_plate
273 # yamllint disable-line rule:key-duplicates
274 <<: *verify_boiler_plate
275
276 builders:
277 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkeyd83ef8e2018-11-09 11:57:01 -0800278 - shell: !include-raw-escape: install-bazel.sh
Ray Milkey2c9ed832018-08-07 10:45:52 -0700279 - shell: !include-raw-escape: onos-bazel-verify.sh
280 # JJB 1.6.2 does not support parameter expansion on filename?
281 #- shell: !include-raw-escape: {project-name}-verify.sh
282
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700283# workaround for lack of parameter expansion support in shell: (see above)
284- job-template:
285 #default name is global
286 name: 'onos-yang-tools-{stream}-verify'
287
288 # Job template for Java verify jobs
289 #
290 # The purpose of this job templte is to run "maven clean install" for
291 # projects using this template.
292 #
293 # Required Variables:
294 # branch: git branch (eg. master)
295
296 <<: *job_boiler_plate
297 # yamllint disable-line rule:key-duplicates
298 <<: *verify_boiler_plate
299
300 builders:
301 #put shell scripts in file then make sure shell check is installed on verify vms
302 - shell: !include-raw-escape: onos-yang-tools-verify.sh
303
Yuta HIGUCHI18948042018-05-08 14:07:51 -0700304- job-template:
305 #default name is global
306 name: 'onos-yang-tools-release-build'
307
308 # Job template for ONOS Yang tools release jobs
309 #
310
311 <<: *job_boiler_plate
312 # yamllint disable-line rule:key-duplicates
313 parameters:
314 - lf-infra-parameters:
315 project: '{project}'
316 branch: '{stream}'
317 stream: '{stream}'
318 lftools-version: '{lftools-version}'
319
320 - string:
321 name: YANGTOOLS_VERSION
Yuta HIGUCHIa36c0672018-05-11 09:45:47 -0700322 default: '2.4.4'
323 description: 'Version tag of ONOS Yang tools to build and release'
Yuta HIGUCHI18948042018-05-08 14:07:51 -0700324
325 - string:
326 name: YANGTOOLS_NEXT_VERSION
327 default: '2.5-SNAPSHOT'
328 description: 'Version of ONOS Yang tools to reset tree to afterwards'
329
330 scm:
331 - lf-infra-gerrit-scm:
332 git-url: '{git-url}'
333 refspec: '$GERRIT_REFSPEC'
334 branch: '$GERRIT_BRANCH'
335 submodule-recursive: '{submodule-recursive}'
336 choosing-strategy: gerrit
337 jenkins-ssh-credential: '{jenkins-ssh-credential}'
Yuta HIGUCHI7e982142018-05-08 15:02:05 -0700338
Yuta HIGUCHI18948042018-05-08 14:07:51 -0700339 builders:
340 - lf-provide-maven-settings:
341 settings-file: 'release-build-maven-settings'
342 global-settings-file: 'release-build-maven-settings'
343 - config-file-provider:
344 files:
345 - file-id: 'onos-build-credentials'
346 target: 'onos-build-credentials'
347 variable: 'CREDENTIALS_FILE'
348 - file-id: 'buck-config-local'
349 target: '.buckconfig.local'
350 variable: 'BUCK_CONFIG_FILE'
351 - file-id: 'gpg-key'
352 target: 'jenkins.key'
353 variable: 'GPG_KEY_FILE'
354 - file-id: 'release-build-maven-settings'
355 target: 'settings.xml'
356 variable: 'MAVEN_SETTINGS'
357 - file-id: 'api-onosproject-ssh-key'
358 target: 'id_rsa.pub'
359 variable: 'API_ONOSPROJECT_SSH_KEY'
360
361 #put shell scripts in file then make sure shell check is installed on verify vms
362 - shell: !include-raw-escape: onos-yang-tools-release-build.sh
363 # JJB 1.6.2 does not support parameter expansion on filename?
364 #- shell: !include-raw-escape: {project-name}-verify.sh
365
366
Ray Milkey83d912a2017-11-01 13:49:31 -0700367# workaround for lack of parameter expansion support in shell: (see above)
368- job-template:
369 #default name is global
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800370 name: 'onos-app-samples-{stream}-verify'
371
372 # Job template for Java verify jobs
373 #
374 # The purpose of this job templte is to run "maven clean install" for
375 # projects using this template.
376 #
377 # Required Variables:
378 # branch: git branch (eg. master)
379
380 <<: *job_boiler_plate
381 # yamllint disable-line rule:key-duplicates
382 <<: *verify_boiler_plate
383
384 builders:
385 #put shell scripts in file then make sure shell check is installed on verify vms
386 - shell: !include-raw-escape: onos-app-samples-verify.sh
387
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800388# workaround for lack of parameter expansion support in shell: (see above)
389- job-template:
390 #default name is global
391 name: 'onos-loxi-{stream}-verify'
392
393 # Job template for Java verify jobs
394 #
395 # The purpose of this job templte is to run "maven clean install" for
396 # projects using this template.
397 #
398 # Required Variables:
399 # branch: git branch (eg. master)
400
401 <<: *job_boiler_plate
402 # yamllint disable-line rule:key-duplicates
403 <<: *verify_boiler_plate
404
405 builders:
406 #put shell scripts in file then make sure shell check is installed on verify vms
407 - shell: !include-raw-escape: onos-loxi-verify.sh
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800408
409# workaround for lack of parameter expansion support in shell: (see above)
410- job-template:
411 #default name is global
Ray Milkey83d912a2017-11-01 13:49:31 -0700412 name: 'onos-gui-{stream}-verify'
413
414 # Job template for Java verify jobs
415 #
416 # The purpose of this job templte is to run "maven clean install" for
417 # projects using this template.
418 #
419 # Required Variables:
420 # branch: git branch (eg. master)
421
422 <<: *job_boiler_plate
423 # yamllint disable-line rule:key-duplicates
424 <<: *verify_boiler_plate
425
426 builders:
427 #put shell scripts in file then make sure shell check is installed on verify vms
428 - shell: !include-raw-escape: onos-gui-verify.sh
429
Ray Milkey8e462202017-11-02 10:18:37 -0700430- job-template:
431 #default name is global
432 name: 'onos-{stream}-release-build-verify'
433
434 # Job template for Java release check jobs
435 #
436
437 <<: *job_boiler_plate
438 # yamllint disable-line rule:key-duplicates
Ray Milkey29c54342017-11-06 16:43:01 -0800439 <<: *daily_boiler_plate
Ray Milkey8e462202017-11-02 10:18:37 -0700440
441 builders:
Ray Milkeyd3d7fa82018-08-14 17:20:52 -0700442 - config-file-provider:
443 files:
444 - file-id: 'gpg-key'
445 target: 'jenkins.key'
446 variable: 'GPG_KEY_FILE'
Ray Milkey8fae9a72017-11-17 10:03:54 -0800447
Ray Milkey8e462202017-11-02 10:18:37 -0700448 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkeyf465a292018-11-12 09:14:16 -0800449 - shell: !include-raw-escape: install-bazel.sh
Ray Milkey8e462202017-11-02 10:18:37 -0700450 - shell: !include-raw-escape: onos-release-build-verify.sh
451 # JJB 1.6.2 does not support parameter expansion on filename?
452 #- shell: !include-raw-escape: {project-name}-verify.sh
453
Ray Milkeyd9f73662017-11-06 10:29:51 -0800454- job-template:
455 #default name is global
Ray Milkey2afc4a52017-11-17 11:01:38 -0800456 name: 'onos-release-build'
457
458 # Job template for Java release jobs
459 #
460
461 <<: *job_boiler_plate
462 # yamllint disable-line rule:key-duplicates
Ray Milkey4309d9b2017-11-17 13:41:46 -0800463 <<: *release_build_boiler_plate
Ray Milkey2afc4a52017-11-17 11:01:38 -0800464
465 builders:
Ray Milkey094fd002017-11-22 10:21:59 -0800466 - lf-provide-maven-settings:
467 settings-file: 'release-build-maven-settings'
468 global-settings-file: 'release-build-maven-settings'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800469 - config-file-provider:
470 files:
471 - file-id: 'onos-build-credentials'
472 target: 'onos-build-credentials'
473 variable: 'CREDENTIALS_FILE'
Ray Milkeye8fd4f02017-11-17 14:54:18 -0800474 - file-id: 'buck-config-local'
475 target: '.buckconfig.local'
476 variable: 'BUCK_CONFIG_FILE'
Ray Milkeyb867be82017-11-27 13:29:19 -0800477 - file-id: 'gpg-key'
478 target: 'jenkins.key'
479 variable: 'GPG_KEY_FILE'
Ray Milkey43e7f932017-11-27 08:48:42 -0800480 - file-id: 'release-build-maven-settings'
481 target: 'settings.xml'
482 variable: 'MAVEN_SETTINGS'
Ray Milkey7d774fb2017-12-05 14:57:30 -0800483 - file-id: 'api-onosproject-ssh-key'
484 target: 'id_rsa.pub'
485 variable: 'API_ONOSPROJECT_SSH_KEY'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800486
487 #put shell scripts in file then make sure shell check is installed on verify vms
488 - shell: !include-raw-escape: onos-release-build.sh
489 # JJB 1.6.2 does not support parameter expansion on filename?
490 #- shell: !include-raw-escape: {project-name}-verify.sh
491
492- job-template:
493 #default name is global
Ray Milkey7c8b3f22018-08-13 15:01:12 -0700494 name: 'onos-bazel-release-build'
495
496 # Job template for Java release jobs
497 #
498
499 <<: *job_boiler_plate
500 # yamllint disable-line rule:key-duplicates
501 <<: *release_build_boiler_plate
502
503 builders:
504 - lf-provide-maven-settings:
505 settings-file: 'release-build-maven-settings'
506 global-settings-file: 'release-build-maven-settings'
507 - config-file-provider:
508 files:
509 - file-id: 'onos-build-credentials'
510 target: 'onos-build-credentials'
511 variable: 'CREDENTIALS_FILE'
512 - file-id: 'gpg-key'
513 target: 'jenkins.key'
514 variable: 'GPG_KEY_FILE'
515 - file-id: 'release-build-maven-settings'
516 target: 'settings.xml'
517 variable: 'MAVEN_SETTINGS'
518 - file-id: 'api-onosproject-ssh-key'
519 target: 'id_rsa.pub'
520 variable: 'API_ONOSPROJECT_SSH_KEY'
521
522 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkeyd83ef8e2018-11-09 11:57:01 -0800523 - shell: !include-raw-escape: install-bazel.sh
Ray Milkey7c8b3f22018-08-13 15:01:12 -0700524 - shell: !include-raw-escape: onos-bazel-release-build.sh
525 # JJB 1.6.2 does not support parameter expansion on filename?
526 #- shell: !include-raw-escape: {project-name}-verify.sh
527
528- job-template:
529 #default name is global
Ray Milkey0caba7f2018-01-08 12:56:18 -0800530 name: 'onos-docker-build'
531
532 # Job template for Docker jobs
533 #
534
535 <<: *job_boiler_plate
536 # yamllint disable-line rule:key-duplicates
Ray Milkeyb40e5672018-01-26 10:10:45 -0800537 <<: *docker_build_boiler_plate
Ray Milkey0caba7f2018-01-08 12:56:18 -0800538
539 builders:
540 - lf-provide-maven-settings:
541 settings-file: 'release-build-maven-settings'
542 global-settings-file: 'release-build-maven-settings'
543 - config-file-provider:
544 files:
545 - file-id: 'onos-build-credentials'
546 target: 'onos-build-credentials'
547 variable: 'CREDENTIALS_FILE'
548 - file-id: 'buck-config-local'
549 target: '.buckconfig.local'
550 variable: 'BUCK_CONFIG_FILE'
551 - file-id: 'gpg-key'
552 target: 'jenkins.key'
553 variable: 'GPG_KEY_FILE'
554 - file-id: 'release-build-maven-settings'
555 target: 'settings.xml'
556 variable: 'MAVEN_SETTINGS'
557 - file-id: 'api-onosproject-ssh-key'
558 target: 'id_rsa.pub'
559 variable: 'API_ONOSPROJECT_SSH_KEY'
560
561 #put shell scripts in file then make sure shell check is installed on verify vms
562 - shell: !include-raw-escape: onos-docker-build.sh
563 # JJB 1.6.2 does not support parameter expansion on filename?
564 #- shell: !include-raw-escape: {project-name}-verify.sh
565
566- job-template:
567 #default name is global
Ray Milkeyd9f73662017-11-06 10:29:51 -0800568 name: 'onos-{stream}-maven-verify'
569
570 <<: *job_boiler_plate
571 # yamllint disable-line rule:key-duplicates
Ray Milkeyf2aa9352018-06-06 14:35:35 -0700572 <<: *hourly_boiler_plate_with_slack
Ray Milkeyd9f73662017-11-06 10:29:51 -0800573
574 builders:
575 #put shell scripts in file then make sure shell check is installed on verify vms
576 - shell: !include-raw-escape: onos-maven-verify.sh
577 # JJB 1.6.2 does not support parameter expansion on filename?
578 #- shell: !include-raw-escape: {project-name}-verify.sh
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700579
Ray Milkey20d22522017-11-08 10:55:52 -0800580- job-template:
581 #default name is global
582 name: 'onos-{stream}-sonar'
583
584 <<: *job_boiler_plate
585 # yamllint disable-line rule:key-duplicates
586 <<: *daily_boiler_plate
587
588 builders:
589 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkey53883e22018-11-21 12:23:57 -0800590 - shell: !include-raw-escape: install-bazel.sh
Ray Milkey20d22522017-11-08 10:55:52 -0800591 - shell: !include-raw-escape: onos-sonar.sh
592 # JJB 1.6.2 does not support parameter expansion on filename?
593 #- shell: !include-raw-escape: {project-name}-verify.sh
594
Ray Milkey3aa8af52018-03-09 09:10:08 -0800595- job-template:
596 name: 'onos-{stream}-stc-verify'
597
598 <<: *job_boiler_plate
599 # yamllint disable-line rule:key-duplicates
600 <<: *hourly_boiler_plate
601
602 builders:
603 #put shell scripts in file then make sure shell check is installed on verify vms
604 - shell: !include-raw-escape: onos-run-stc.sh
605
Ray Milkey9eb58512018-08-15 10:52:12 -0700606- job-template:
607 name: 'onos-{stream}-bazel-stc-verify'
608
609 <<: *job_boiler_plate
610 # yamllint disable-line rule:key-duplicates
611 <<: *hourly_boiler_plate
612
613 builders:
614 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkeyd83ef8e2018-11-09 11:57:01 -0800615 - shell: !include-raw-escape: install-bazel.sh
Ray Milkey9eb58512018-08-15 10:52:12 -0700616 - shell: !include-raw-escape: onos-run-bazel-stc.sh
617
Ray Milkey3aa8af52018-03-09 09:10:08 -0800618
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700619- job-template:
Ray Milkey28091e22019-02-21 16:03:26 -0800620 name: 'onos-{stream}-stc-app-activate-all'
621
622 <<: *job_boiler_plate
623 # yamllint disable-line rule:key-duplicates
624 <<: *hourly_boiler_plate
625
626 builders:
627 #put shell scripts in file then make sure shell check is installed on verify vms
628 - shell: !include-raw-escape: install-bazel.sh
629 - shell: !include-raw-escape: onos-run-app-activate-all-stc.sh
630
631
632- job-template:
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700633 name: 'onos-{stream}-stc-hag-verify'
634
635 <<: *job_boiler_plate
636 # yamllint disable-line rule:key-duplicates
637 <<: *hourly_boiler_plate
638
639 builders:
640 #put shell scripts in file then make sure shell check is installed on verify vms
641 - shell: !include-raw-escape: onos-run-stc-hag.sh
642
643
Ray Milkey9eb58512018-08-15 10:52:12 -0700644- job-template:
645 name: 'onos-{stream}-bazel-stc-hag-verify'
646
647 <<: *job_boiler_plate
648 # yamllint disable-line rule:key-duplicates
649 <<: *hourly_boiler_plate
650
651 builders:
652 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkeyd83ef8e2018-11-09 11:57:01 -0800653 - shell: !include-raw-escape: install-bazel.sh
Ray Milkey9eb58512018-08-15 10:52:12 -0700654 - shell: !include-raw-escape: onos-run-bazel-stc-hag.sh
655
Ray Milkeye146e792018-12-13 14:36:24 -0800656- job-template:
657 name: 'onos-{stream}-bazel-stc-trellis-p4-verify'
658
659 <<: *job_boiler_plate
660 # yamllint disable-line rule:key-duplicates
661 <<: *hourly_boiler_plate
662
663 builders:
664 #put shell scripts in file then make sure shell check is installed on verify vms
665 - shell: !include-raw-escape: install-bazel.sh
666 - shell: !include-raw-escape: onos-run-bazel-stc-trellis-p4.sh
Ray Milkey99f43ed2019-01-25 13:19:07 -0800667 publishers:
668 - raw:
669 xml: |
670 <hudson.tasks.Mailer plugin="mailer@1.21">
671 <recipients>carmelo@opennetworking.org</recipients>
672 <dontNotifyEveryUnstableBuild>false</dontNotifyEveryUnstableBuild>
673 <sendToIndividuals>false</sendToIndividuals>
674 </hudson.tasks.Mailer>
Ray Milkeye146e792018-12-13 14:36:24 -0800675
Ray Milkey9eb58512018-08-15 10:52:12 -0700676
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700677- project:
678 name: onos
679 project-name: onos
680 project: onos
681
Ray Milkey43a340c2018-02-20 13:49:00 -0800682 build-timeout: '30'
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700683 build-node: 'ubuntu16.04-basebuild-8c-15g'
684
685 stream:
Ray Milkey1bc13772017-10-31 15:57:17 -0700686 - 'onos-1.10'
687 - 'onos-1.11'
Ray Milkey47d4f722017-11-21 09:36:37 -0800688 - 'onos-1.12'
Ray Milkeyfcb0db62018-04-13 16:47:46 -0700689 - 'onos-1.13'
Ray Milkey648eb912018-08-20 14:24:56 -0700690 - 'onos-1.14'
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700691
692 jobs:
693 - '{project-name}-{stream}-verify'
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700694
695- project:
Ray Milkey2c9ed832018-08-07 10:45:52 -0700696 name: onos-bazel
697 project-name: onos-bazel
698 project: onos
699
700 build-timeout: '30'
701 build-node: 'ubuntu16.04-basebuild-8c-15g'
702
703 stream:
704 - 'master'
Ray Milkey648eb912018-08-20 14:24:56 -0700705 - 'onos-1.14'
Ray Milkeyfef4be02018-11-08 15:34:13 -0800706 - 'onos-1.15'
Ray Milkey785e6232018-12-20 08:18:15 -0800707 - 'onos-2.0'
Ray Milkey91bf53e2018-11-05 14:22:51 -0800708 - 'upan-connect18'
Ray Milkey219ab182018-11-26 14:19:34 -0800709 - 'upan-connect18-1.14'
Ray Milkey2c9ed832018-08-07 10:45:52 -0700710
711 jobs:
712 - '{project-name}-{stream}-bazel-verify'
713
714- project:
Ray Milkey83d912a2017-11-01 13:49:31 -0700715 name: onos-gui
716 project-name: onos-gui
Ray Milkey24fe1ee2017-11-01 13:59:07 -0700717 project: onos
Ray Milkey83d912a2017-11-01 13:49:31 -0700718
Ray Milkey43a340c2018-02-20 13:49:00 -0800719 build-timeout: '30'
Ray Milkey83d912a2017-11-01 13:49:31 -0700720 build-node: 'ubuntu16.04-basebuild-8c-15g'
721
722 stream:
723 - 'master'
724 - 'onos-1.10'
725 - 'onos-1.11'
Ray Milkey47d4f722017-11-21 09:36:37 -0800726 - 'onos-1.12'
Ray Milkeyfcb0db62018-04-13 16:47:46 -0700727 - 'onos-1.13'
Ray Milkey648eb912018-08-20 14:24:56 -0700728 - 'onos-1.14'
Ray Milkeyfef4be02018-11-08 15:34:13 -0800729 - 'onos-1.15'
Ray Milkey785e6232018-12-20 08:18:15 -0800730 - 'onos-2.0'
Ray Milkey83d912a2017-11-01 13:49:31 -0700731
732 jobs:
733 - 'onos-gui-{stream}-verify'
734
735- project:
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700736 name: onos-yang-tools
737 project-name: onos-yang-tools
738 project: onos-yang-tools
739
Ray Milkey43a340c2018-02-20 13:49:00 -0800740 build-timeout: '30'
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700741 build-node: 'ubuntu16.04-basebuild-8c-15g'
742
743 stream:
744 - 'master'
745
746 jobs:
747 - 'onos-yang-tools-{stream}-verify'
Ray Milkey8e462202017-11-02 10:18:37 -0700748
749- project:
Yuta HIGUCHI7e982142018-05-08 15:02:05 -0700750 name: onos-yang-tools-release-build
751 project-name: onos-yang-tools-release-build
752 project: onos-yang-tools
753
754 build-timeout: '240'
755 build-node: 'ubuntu16.04-basebuild-8c-15g'
756
757 stream: 'master'
758
759 jobs:
760 - 'onos-yang-tools-release-build'
761
762
763- project:
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800764 name: onos-app-samples
765 project-name: onos-app-samples
766 project: onos-app-samples
767
Ray Milkey43a340c2018-02-20 13:49:00 -0800768 build-timeout: '30'
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800769 build-node: 'ubuntu16.04-basebuild-8c-15g'
770
771 stream:
772 - 'master'
773
774 jobs:
775 - 'onos-app-samples-{stream}-verify'
776
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800777- project:
778 name: onos-loxi
779 project-name: onos-loxi
780 project: onos-loxi
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800781
Ray Milkey43a340c2018-02-20 13:49:00 -0800782 build-timeout: '30'
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800783 build-node: 'ubuntu16.04-basebuild-8c-15g'
784
785 stream:
786 - 'master'
787
788 jobs:
789 - 'onos-loxi-{stream}-verify'
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800790
791- project:
Ray Milkey8e462202017-11-02 10:18:37 -0700792 name: onos-release
793 project-name: onos-release
794 project: onos
795
Ray Milkey2d55e972018-05-04 13:01:36 -0700796 build-timeout: '240'
Ray Milkey8e462202017-11-02 10:18:37 -0700797 build-node: 'ubuntu16.04-basebuild-8c-15g'
798
799 stream:
800 - 'master'
Ray Milkey7f8a23c2019-04-05 09:43:55 -0700801 - 'onos-2.0'
802 - 'onos-1.15'
803 - 'onos-1.13'
804 - 'onos-1.12'
Ray Milkey8e462202017-11-02 10:18:37 -0700805
806 jobs:
807 - 'onos-{stream}-release-build-verify'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800808
809- project:
810 name: onos-maven-verify
811 project-name: onos-maven-verify
812 project: onos
813
Ray Milkey43a340c2018-02-20 13:49:00 -0800814 build-timeout: '30'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800815 build-node: 'ubuntu16.04-basebuild-8c-15g'
816
817 stream:
Ray Milkeye8f39e02018-04-16 13:34:34 -0700818 - 'onos-1.12'
819 - 'onos-1.13'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800820
821 jobs:
822 - 'onos-{stream}-maven-verify'
Ray Milkey20d22522017-11-08 10:55:52 -0800823
824- project:
825 name: onos-sonar
826 project-name: onos-sonar
827 project: onos
828
Ray Milkey43a340c2018-02-20 13:49:00 -0800829 build-timeout: '90'
Ray Milkey20d22522017-11-08 10:55:52 -0800830 build-node: 'ubuntu16.04-basebuild-8c-15g'
831
832 stream:
833 - 'master'
834
835 jobs:
836 - 'onos-{stream}-sonar'
837
Ray Milkey2afc4a52017-11-17 11:01:38 -0800838- project:
839 name: onos-release-build
840 project-name: onos-release-build
841 project: onos
842
Ray Milkey884a2b82018-05-22 08:29:45 -0700843 build-timeout: '240'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800844 build-node: 'ubuntu16.04-basebuild-8c-15g'
845
Ray Milkey4309d9b2017-11-17 13:41:46 -0800846 stream: 'master'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800847
848 jobs:
849 - 'onos-release-build'
Ray Milkey0caba7f2018-01-08 12:56:18 -0800850
851- project:
Ray Milkey7c8b3f22018-08-13 15:01:12 -0700852 name: onos-bazel-release-build
853 project-name: onos-bazel-release-build
854 project: onos
855
856 build-timeout: '240'
857 build-node: 'ubuntu16.04-basebuild-8c-15g'
858
859 stream: 'master'
860
861 jobs:
862 - 'onos-bazel-release-build'
863
864- project:
Ray Milkey0caba7f2018-01-08 12:56:18 -0800865 name: onos-docker-build
866 project-name: onos-docker-build
867 project: onos
868
Ray Milkey43a340c2018-02-20 13:49:00 -0800869 build-timeout: '90'
Ray Milkey0caba7f2018-01-08 12:56:18 -0800870 build-node: 'ubuntu16.04-basebuild-8c-15g'
871
872 stream: 'master'
873
874 jobs:
875 - 'onos-docker-build'
Ray Milkey3aa8af52018-03-09 09:10:08 -0800876
877- project:
878 name: onos-stc-verify
Ray Milkeyd6580d82018-04-16 08:56:07 -0700879 project-name: onos-stc-verify
Ray Milkey3aa8af52018-03-09 09:10:08 -0800880 project: onos
881
Ray Milkeyc6883fe2019-03-07 15:12:01 -0800882 build-timeout: '60'
Ray Milkey3aa8af52018-03-09 09:10:08 -0800883 build-node: 'ubuntu16.04-basebuild-8c-15g'
884
885 stream:
Ray Milkeyd6580d82018-04-16 08:56:07 -0700886 - 'onos-1.12'
Ray Milkey648eb912018-08-20 14:24:56 -0700887 - 'onos-1.13'
888 - 'onos-1.14'
Ray Milkey3aa8af52018-03-09 09:10:08 -0800889
890 jobs:
891 - 'onos-{stream}-stc-verify'
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700892
893- project:
Ray Milkey9eb58512018-08-15 10:52:12 -0700894 name: onos-bazel-stc-verify
895 project-name: onos-bazel-stc-verify
896 project: onos
897
Ray Milkeyc6883fe2019-03-07 15:12:01 -0800898 build-timeout: '60'
Ray Milkey9eb58512018-08-15 10:52:12 -0700899 build-node: 'ubuntu16.04-basebuild-8c-15g'
900
901 stream:
902 - 'master'
Ray Milkey785e6232018-12-20 08:18:15 -0800903 - 'onos-2.0'
Ray Milkey9eb58512018-08-15 10:52:12 -0700904
905 jobs:
906 - 'onos-{stream}-bazel-stc-verify'
907
908- project:
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700909 name: onos-stc-hag-verify
910 project-name: onos-stc-hag-verify
911 project: onos
912
Ray Milkeyc6883fe2019-03-07 15:12:01 -0800913 build-timeout: '60'
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700914 build-node: 'ubuntu16.04-basebuild-8c-15g'
915
916 stream:
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700917 - 'onos-1.12'
Ray Milkey648eb912018-08-20 14:24:56 -0700918 - 'onos-1.13'
919 - 'onos-1.14'
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700920
921 jobs:
922 - 'onos-{stream}-stc-hag-verify'
Ray Milkey9eb58512018-08-15 10:52:12 -0700923
924- project:
925 name: onos-bazel-stc-hag-verify
926 project-name: onos-bazel-stc-hag-verify
927 project: onos
928
Ray Milkeyc6883fe2019-03-07 15:12:01 -0800929 build-timeout: '60'
Ray Milkey9eb58512018-08-15 10:52:12 -0700930 build-node: 'ubuntu16.04-basebuild-8c-15g'
931
932 stream:
933 - 'master'
Ray Milkey785e6232018-12-20 08:18:15 -0800934 - 'onos-2.0'
Ray Milkey9eb58512018-08-15 10:52:12 -0700935
936 jobs:
937 - 'onos-{stream}-bazel-stc-hag-verify'
Ray Milkeye146e792018-12-13 14:36:24 -0800938
939- project:
940 name: onos-bazel-stc-trellis-p4-verify
941 project-name: onos-bazel-stc-trellis-p4-verify
942 project: onos
943
Ray Milkeyc6883fe2019-03-07 15:12:01 -0800944 build-timeout: '60'
Ray Milkeye146e792018-12-13 14:36:24 -0800945 build-node: 'ubuntu16.04-basebuild-8c-15g'
946
947 stream:
948 - 'master'
Ray Milkeye146e792018-12-13 14:36:24 -0800949
950 jobs:
951 - 'onos-{stream}-bazel-stc-trellis-p4-verify'
Ray Milkey28091e22019-02-21 16:03:26 -0800952
953- project:
954 name: onos-stc-app-activate-all-verify
955 project-name: onos-stc-app-activate-all-verify
956 project: onos
957
Ray Milkey0b27fee2019-02-26 10:33:20 -0800958 build-timeout: '120'
Ray Milkey28091e22019-02-21 16:03:26 -0800959 build-node: 'ubuntu16.04-basebuild-8c-15g'
960
961 stream:
962 - 'master'
963
964 jobs:
965 - 'onos-{stream}-stc-app-activate-all'