blob: 7a748f81b73c6aa67550230c88b8d1bbda776303 [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'
801
802 jobs:
803 - 'onos-{stream}-release-build-verify'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800804
805- project:
806 name: onos-maven-verify
807 project-name: onos-maven-verify
808 project: onos
809
Ray Milkey43a340c2018-02-20 13:49:00 -0800810 build-timeout: '30'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800811 build-node: 'ubuntu16.04-basebuild-8c-15g'
812
813 stream:
Ray Milkeye8f39e02018-04-16 13:34:34 -0700814 - 'onos-1.12'
815 - 'onos-1.13'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800816
817 jobs:
818 - 'onos-{stream}-maven-verify'
Ray Milkey20d22522017-11-08 10:55:52 -0800819
820- project:
821 name: onos-sonar
822 project-name: onos-sonar
823 project: onos
824
Ray Milkey43a340c2018-02-20 13:49:00 -0800825 build-timeout: '90'
Ray Milkey20d22522017-11-08 10:55:52 -0800826 build-node: 'ubuntu16.04-basebuild-8c-15g'
827
828 stream:
829 - 'master'
830
831 jobs:
832 - 'onos-{stream}-sonar'
833
Ray Milkey2afc4a52017-11-17 11:01:38 -0800834- project:
835 name: onos-release-build
836 project-name: onos-release-build
837 project: onos
838
Ray Milkey884a2b82018-05-22 08:29:45 -0700839 build-timeout: '240'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800840 build-node: 'ubuntu16.04-basebuild-8c-15g'
841
Ray Milkey4309d9b2017-11-17 13:41:46 -0800842 stream: 'master'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800843
844 jobs:
845 - 'onos-release-build'
Ray Milkey0caba7f2018-01-08 12:56:18 -0800846
847- project:
Ray Milkey7c8b3f22018-08-13 15:01:12 -0700848 name: onos-bazel-release-build
849 project-name: onos-bazel-release-build
850 project: onos
851
852 build-timeout: '240'
853 build-node: 'ubuntu16.04-basebuild-8c-15g'
854
855 stream: 'master'
856
857 jobs:
858 - 'onos-bazel-release-build'
859
860- project:
Ray Milkey0caba7f2018-01-08 12:56:18 -0800861 name: onos-docker-build
862 project-name: onos-docker-build
863 project: onos
864
Ray Milkey43a340c2018-02-20 13:49:00 -0800865 build-timeout: '90'
Ray Milkey0caba7f2018-01-08 12:56:18 -0800866 build-node: 'ubuntu16.04-basebuild-8c-15g'
867
868 stream: 'master'
869
870 jobs:
871 - 'onos-docker-build'
Ray Milkey3aa8af52018-03-09 09:10:08 -0800872
873- project:
874 name: onos-stc-verify
Ray Milkeyd6580d82018-04-16 08:56:07 -0700875 project-name: onos-stc-verify
Ray Milkey3aa8af52018-03-09 09:10:08 -0800876 project: onos
877
Ray Milkeyc6883fe2019-03-07 15:12:01 -0800878 build-timeout: '60'
Ray Milkey3aa8af52018-03-09 09:10:08 -0800879 build-node: 'ubuntu16.04-basebuild-8c-15g'
880
881 stream:
Ray Milkeyd6580d82018-04-16 08:56:07 -0700882 - 'onos-1.12'
Ray Milkey648eb912018-08-20 14:24:56 -0700883 - 'onos-1.13'
884 - 'onos-1.14'
Ray Milkey3aa8af52018-03-09 09:10:08 -0800885
886 jobs:
887 - 'onos-{stream}-stc-verify'
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700888
889- project:
Ray Milkey9eb58512018-08-15 10:52:12 -0700890 name: onos-bazel-stc-verify
891 project-name: onos-bazel-stc-verify
892 project: onos
893
Ray Milkeyc6883fe2019-03-07 15:12:01 -0800894 build-timeout: '60'
Ray Milkey9eb58512018-08-15 10:52:12 -0700895 build-node: 'ubuntu16.04-basebuild-8c-15g'
896
897 stream:
898 - 'master'
Ray Milkey785e6232018-12-20 08:18:15 -0800899 - 'onos-2.0'
Ray Milkey9eb58512018-08-15 10:52:12 -0700900
901 jobs:
902 - 'onos-{stream}-bazel-stc-verify'
903
904- project:
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700905 name: onos-stc-hag-verify
906 project-name: onos-stc-hag-verify
907 project: onos
908
Ray Milkeyc6883fe2019-03-07 15:12:01 -0800909 build-timeout: '60'
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700910 build-node: 'ubuntu16.04-basebuild-8c-15g'
911
912 stream:
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700913 - 'onos-1.12'
Ray Milkey648eb912018-08-20 14:24:56 -0700914 - 'onos-1.13'
915 - 'onos-1.14'
Ray Milkeycfbc5be2018-05-08 09:13:13 -0700916
917 jobs:
918 - 'onos-{stream}-stc-hag-verify'
Ray Milkey9eb58512018-08-15 10:52:12 -0700919
920- project:
921 name: onos-bazel-stc-hag-verify
922 project-name: onos-bazel-stc-hag-verify
923 project: onos
924
Ray Milkeyc6883fe2019-03-07 15:12:01 -0800925 build-timeout: '60'
Ray Milkey9eb58512018-08-15 10:52:12 -0700926 build-node: 'ubuntu16.04-basebuild-8c-15g'
927
928 stream:
929 - 'master'
Ray Milkey785e6232018-12-20 08:18:15 -0800930 - 'onos-2.0'
Ray Milkey9eb58512018-08-15 10:52:12 -0700931
932 jobs:
933 - 'onos-{stream}-bazel-stc-hag-verify'
Ray Milkeye146e792018-12-13 14:36:24 -0800934
935- project:
936 name: onos-bazel-stc-trellis-p4-verify
937 project-name: onos-bazel-stc-trellis-p4-verify
938 project: onos
939
Ray Milkeyc6883fe2019-03-07 15:12:01 -0800940 build-timeout: '60'
Ray Milkeye146e792018-12-13 14:36:24 -0800941 build-node: 'ubuntu16.04-basebuild-8c-15g'
942
943 stream:
944 - 'master'
Ray Milkeye146e792018-12-13 14:36:24 -0800945
946 jobs:
947 - 'onos-{stream}-bazel-stc-trellis-p4-verify'
Ray Milkey28091e22019-02-21 16:03:26 -0800948
949- project:
950 name: onos-stc-app-activate-all-verify
951 project-name: onos-stc-app-activate-all-verify
952 project: onos
953
Ray Milkey0b27fee2019-02-26 10:33:20 -0800954 build-timeout: '120'
Ray Milkey28091e22019-02-21 16:03:26 -0800955 build-node: 'ubuntu16.04-basebuild-8c-15g'
956
957 stream:
958 - 'master'
959
960 jobs:
961 - 'onos-{stream}-stc-app-activate-all'