blob: 00640581e4eed8a1576adc561398dd0a5b811858 [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
Brian O'Connor9fbe7722017-10-27 12:44:04 -070014 git-url: '$GIT_URL/$GERRIT_PROJECT'
15
16 #####################
17 # Job Configuration #
18 #####################
19
20 properties:
21 - lf-infra-properties:
22 project: '{project}'
23 build-days-to-keep: '{build-days-to-keep}'
24 #- github:
25 # url: '{git-url}/{github-org}/{project}'
26
27 parameters:
28 - lf-infra-parameters:
29 project: '{project}'
Ray Milkeye0b54ef2017-10-31 16:17:34 -070030 branch: '{stream}'
Brian O'Connor9fbe7722017-10-27 12:44:04 -070031 stream: '{stream}'
32 lftools-version: '{lftools-version}'
33
34 wrappers:
35 - lf-infra-wrappers:
36 build-timeout: '{build-timeout}'
37 jenkins-ssh-credential: '{jenkins-ssh-credential}'
38
39
40- verify_boiler_plate: &verify_boiler_plate
41 name: verify_boiler_plate
42
43 concurrent: true
44
45 scm:
Zack Williams00d2c622020-09-30 09:17:48 -070046 - onf-infra-gerrit-scm:
Brian O'Connore78aff62017-10-30 14:08:51 -070047 git-url: '{git-url}'
Brian O'Connor9fbe7722017-10-27 12:44:04 -070048 refspec: '$GERRIT_REFSPEC'
49 branch: '$GERRIT_BRANCH'
Zack Williams05f06082020-01-22 14:19:34 -070050 submodule-disable: '{submodule-disable}'
Brian O'Connor9fbe7722017-10-27 12:44:04 -070051 submodule-recursive: '{submodule-recursive}'
Zack Williams05f06082020-01-22 14:19:34 -070052 submodule-timeout: '{submodule-timeout}'
Brian O'Connore78aff62017-10-30 14:08:51 -070053 choosing-strategy: gerrit
Brian O'Connor9fbe7722017-10-27 12:44:04 -070054 jenkins-ssh-credential: '{jenkins-ssh-credential}'
Zack Williams00d2c622020-09-30 09:17:48 -070055 basedir: "$WORKSPACE"
Brian O'Connor9fbe7722017-10-27 12:44:04 -070056
57 triggers:
58 - gerrit:
59 #server-name: '{gerrit-server-name}'
60 server-name: 'ONOS Project Gerrit'
61 #trigger-on: '{obj:gerrit_verify_triggers}'
62 trigger-on:
63 - patchset-created-event:
64 exclude-drafts: true
65 exclude-trivial-rebase: false
66 exclude-no-code-change: true
Yuta HIGUCHI19f94672018-05-04 12:33:23 -070067 - draft-published-event: true
Brian O'Connoredd87412017-10-30 19:27:08 -070068 - comment-added-contains-event:
69 comment-contains-value: '(?i)^.*recheck$'
Brian O'Connor9fbe7722017-10-27 12:44:04 -070070 projects:
71 - project-compare-type: PLAIN
Ray Milkey20beeae2017-10-31 15:26:10 -070072 project-pattern: '{project}'
Brian O'Connor9fbe7722017-10-27 12:44:04 -070073 branches:
74 - branch-compare-type: ANT
Ray Milkeye0b54ef2017-10-31 16:17:34 -070075 branch-pattern: '**/{stream}'
Ray Milkeyc0c94f52017-10-30 17:36:14 -070076 #file-paths: '{obj:gerrit_trigger_file_paths}'
Brian O'Connor9fbe7722017-10-27 12:44:04 -070077
Ray Milkeye2175452020-05-06 12:22:58 -070078- weekly_boiler_plate: &weekly_boiler_plate
79 name: weekly_boiler_plate
Ray Milkey8e462202017-11-02 10:18:37 -070080
81 concurrent: true
82
83 scm:
Zack Williams00d2c622020-09-30 09:17:48 -070084 - onf-infra-gerrit-scm:
Ray Milkey8e462202017-11-02 10:18:37 -070085 git-url: '{git-url}'
86 refspec: '$GERRIT_REFSPEC'
87 branch: '$GERRIT_BRANCH'
Zack Williams05f06082020-01-22 14:19:34 -070088 submodule-disable: '{submodule-disable}'
Ray Milkey8e462202017-11-02 10:18:37 -070089 submodule-recursive: '{submodule-recursive}'
Zack Williams05f06082020-01-22 14:19:34 -070090 submodule-timeout: '{submodule-timeout}'
Ray Milkey8e462202017-11-02 10:18:37 -070091 choosing-strategy: gerrit
92 jenkins-ssh-credential: '{jenkins-ssh-credential}'
Zack Williams00d2c622020-09-30 09:17:48 -070093 basedir: "$WORKSPACE"
Ray Milkey8e462202017-11-02 10:18:37 -070094
95 triggers:
Ray Milkeye2175452020-05-06 12:22:58 -070096 - timed: '@weekly'
Ray Milkey8e462202017-11-02 10:18:37 -070097
Ray Milkeyc6e9a852018-01-30 13:27:06 -080098# FIXME - there is a Slack integration plugin in 2.0.3
99 publishers:
100 - raw:
101 xml: |
102 <jenkins.plugins.slack.SlackNotifier plugin="slack@2.3">
103 <baseUrl/>
104 <teamDomain/>
105 <authToken/>
106 <authTokenCredentialId>slack-token</authTokenCredentialId>
107 <botUser>false</botUser>
108 <room>build-status</room>
109 <startNotification>false</startNotification>
110 <notifySuccess>false</notifySuccess>
111 <notifyAborted>true</notifyAborted>
112 <notifyNotBuilt>true</notifyNotBuilt>
113 <notifyUnstable>true</notifyUnstable>
114 <notifyRegression>true</notifyRegression>
115 <notifyFailure>true</notifyFailure>
116 <notifyBackToNormal>true</notifyBackToNormal>
117 <notifyRepeatedFailure>false</notifyRepeatedFailure>
118 <includeTestSummary>false</includeTestSummary>
119 <includeFailedTests>false</includeFailedTests>
120 <commitInfoChoice>AUTHORS_AND_TITLES</commitInfoChoice>
121 <includeCustomMessage>false</includeCustomMessage>
122 <customMessage/>
123 </jenkins.plugins.slack.SlackNotifier>
124
125
126
Ray Milkeye2175452020-05-06 12:22:58 -0700127- weekly_boiler_plate_with_slack: &weekly_boiler_plate_with_slack
128 name: weekly_boiler_plate_with_slack
Ray Milkeyd9f73662017-11-06 10:29:51 -0800129
130 concurrent: true
131
132 scm:
Zack Williams00d2c622020-09-30 09:17:48 -0700133 - onf-infra-gerrit-scm:
Ray Milkeyd9f73662017-11-06 10:29:51 -0800134 git-url: '{git-url}'
135 refspec: '$GERRIT_REFSPEC'
136 branch: '$GERRIT_BRANCH'
Zack Williams05f06082020-01-22 14:19:34 -0700137 submodule-disable: '{submodule-disable}'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800138 submodule-recursive: '{submodule-recursive}'
Zack Williams05f06082020-01-22 14:19:34 -0700139 submodule-timeout: '{submodule-timeout}'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800140 choosing-strategy: gerrit
141 jenkins-ssh-credential: '{jenkins-ssh-credential}'
Zack Williams00d2c622020-09-30 09:17:48 -0700142 basedir: "$WORKSPACE"
Ray Milkeyd9f73662017-11-06 10:29:51 -0800143
144 triggers:
Ray Milkeye2175452020-05-06 12:22:58 -0700145 - timed: '@weekly'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800146
Ray Milkeyc6e9a852018-01-30 13:27:06 -0800147# FIXME - there is a Slack integration plugin in 2.0.3
148 publishers:
149 - raw:
150 xml: |
151 <jenkins.plugins.slack.SlackNotifier plugin="slack@2.3">
152 <baseUrl/>
153 <teamDomain/>
154 <authToken/>
155 <authTokenCredentialId>slack-token</authTokenCredentialId>
156 <botUser>false</botUser>
157 <room>build-status</room>
158 <startNotification>false</startNotification>
159 <notifySuccess>false</notifySuccess>
160 <notifyAborted>true</notifyAborted>
161 <notifyNotBuilt>true</notifyNotBuilt>
162 <notifyUnstable>true</notifyUnstable>
163 <notifyRegression>true</notifyRegression>
164 <notifyFailure>true</notifyFailure>
165 <notifyBackToNormal>true</notifyBackToNormal>
166 <notifyRepeatedFailure>false</notifyRepeatedFailure>
167 <includeTestSummary>false</includeTestSummary>
168 <includeFailedTests>false</includeFailedTests>
169 <commitInfoChoice>AUTHORS_AND_TITLES</commitInfoChoice>
170 <includeCustomMessage>false</includeCustomMessage>
171 <customMessage/>
172 </jenkins.plugins.slack.SlackNotifier>
173
Ray Milkey4309d9b2017-11-17 13:41:46 -0800174- release_build_boiler_plate: &release_build_boiler_plate
175 name: release_build_boiler_plate
176
177 concurrent: true
178
179 parameters:
180 - lf-infra-parameters:
181 project: '{project}'
182 branch: '{stream}'
183 stream: '{stream}'
184 lftools-version: '{lftools-version}'
185
186 - string:
187 name: ONOS_VERSION
Ray Milkeyfef4be02018-11-08 15:34:13 -0800188 default: '1.15'
Ray Milkeyb40e5672018-01-26 10:10:45 -0800189 description: 'Version tag of ONOS to build'
Ray Milkey4309d9b2017-11-17 13:41:46 -0800190
191 - string:
192 name: ONOS_NEXT_VERSION
Ray Milkeyfef4be02018-11-08 15:34:13 -0800193 default: '1.15.0-SNAPSHOT'
Ray Milkeyb40e5672018-01-26 10:10:45 -0800194 description: 'Version of ONOS to reset tree to'
195
196 scm:
Zack Williams00d2c622020-09-30 09:17:48 -0700197 - onf-infra-gerrit-scm:
Ray Milkeyb40e5672018-01-26 10:10:45 -0800198 git-url: '{git-url}'
199 refspec: '$GERRIT_REFSPEC'
200 branch: '$GERRIT_BRANCH'
Zack Williams05f06082020-01-22 14:19:34 -0700201 submodule-disable: '{submodule-disable}'
Ray Milkeyb40e5672018-01-26 10:10:45 -0800202 submodule-recursive: '{submodule-recursive}'
Zack Williams05f06082020-01-22 14:19:34 -0700203 submodule-timeout: '{submodule-timeout}'
Ray Milkeyb40e5672018-01-26 10:10:45 -0800204 choosing-strategy: gerrit
205 jenkins-ssh-credential: '{jenkins-ssh-credential}'
Zack Williams00d2c622020-09-30 09:17:48 -0700206 basedir: "$WORKSPACE"
Ray Milkeyb40e5672018-01-26 10:10:45 -0800207
208- docker_build_boiler_plate: &docker_build_boiler_plate
209 name: release_build_boiler_plate
210
211 concurrent: true
212
213 parameters:
214 - lf-infra-parameters:
215 project: '{project}'
216 branch: '{stream}'
217 stream: '{stream}'
218 lftools-version: '{lftools-version}'
219
220 - string:
221 name: ONOS_TAG
222 default: ''
223 description: 'Tag of ONOS to build'
Ray Milkey4309d9b2017-11-17 13:41:46 -0800224
225 scm:
Zack Williams00d2c622020-09-30 09:17:48 -0700226 - onf-infra-gerrit-scm:
Ray Milkey4309d9b2017-11-17 13:41:46 -0800227 git-url: '{git-url}'
228 refspec: '$GERRIT_REFSPEC'
229 branch: '$GERRIT_BRANCH'
Zack Williams05f06082020-01-22 14:19:34 -0700230 submodule-disable: '{submodule-disable}'
Ray Milkey4309d9b2017-11-17 13:41:46 -0800231 submodule-recursive: '{submodule-recursive}'
Zack Williams05f06082020-01-22 14:19:34 -0700232 submodule-timeout: '{submodule-timeout}'
Ray Milkey4309d9b2017-11-17 13:41:46 -0800233 choosing-strategy: gerrit
234 jenkins-ssh-credential: '{jenkins-ssh-credential}'
Zack Williams00d2c622020-09-30 09:17:48 -0700235 basedir: "$WORKSPACE"
Ray Milkey4309d9b2017-11-17 13:41:46 -0800236
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700237- job-template:
238 #default name is global
239 name: '{project-name}-{stream}-verify'
240
241 # Job template for Java verify jobs
242 #
243 # The purpose of this job templte is to run "maven clean install" for
244 # projects using this template.
245 #
246 # Required Variables:
247 # branch: git branch (eg. master)
248
249 <<: *job_boiler_plate
250 # yamllint disable-line rule:key-duplicates
251 <<: *verify_boiler_plate
252
253 builders:
254 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkey7aa43462017-10-30 16:15:23 -0700255 - shell: !include-raw-escape: onos-verify.sh
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700256 # JJB 1.6.2 does not support parameter expansion on filename?
257 #- shell: !include-raw-escape: {project-name}-verify.sh
258
Ray Milkey2c9ed832018-08-07 10:45:52 -0700259- job-template:
260 #default name is global
261 name: '{project-name}-{stream}-bazel-verify'
262
263 # Job template for Java verify jobs
264 #
265 # Required Variables:
266 # branch: git branch (eg. master)
267
268 <<: *job_boiler_plate
269 # yamllint disable-line rule:key-duplicates
270 <<: *verify_boiler_plate
271
272 builders:
273 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkeyd83ef8e2018-11-09 11:57:01 -0800274 - shell: !include-raw-escape: install-bazel.sh
Ray Milkey2c9ed832018-08-07 10:45:52 -0700275 - shell: !include-raw-escape: onos-bazel-verify.sh
276 # JJB 1.6.2 does not support parameter expansion on filename?
277 #- shell: !include-raw-escape: {project-name}-verify.sh
278
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700279# workaround for lack of parameter expansion support in shell: (see above)
280- job-template:
281 #default name is global
282 name: 'onos-yang-tools-{stream}-verify'
283
284 # Job template for Java verify jobs
285 #
286 # The purpose of this job templte is to run "maven clean install" for
287 # projects using this template.
288 #
289 # Required Variables:
290 # branch: git branch (eg. master)
291
292 <<: *job_boiler_plate
293 # yamllint disable-line rule:key-duplicates
294 <<: *verify_boiler_plate
295
296 builders:
297 #put shell scripts in file then make sure shell check is installed on verify vms
298 - shell: !include-raw-escape: onos-yang-tools-verify.sh
299
Yuta HIGUCHI18948042018-05-08 14:07:51 -0700300- job-template:
301 #default name is global
302 name: 'onos-yang-tools-release-build'
303
304 # Job template for ONOS Yang tools release jobs
305 #
306
307 <<: *job_boiler_plate
308 # yamllint disable-line rule:key-duplicates
309 parameters:
310 - lf-infra-parameters:
311 project: '{project}'
312 branch: '{stream}'
313 stream: '{stream}'
314 lftools-version: '{lftools-version}'
315
316 - string:
317 name: YANGTOOLS_VERSION
Yuta HIGUCHIa36c0672018-05-11 09:45:47 -0700318 default: '2.4.4'
319 description: 'Version tag of ONOS Yang tools to build and release'
Yuta HIGUCHI18948042018-05-08 14:07:51 -0700320
321 - string:
322 name: YANGTOOLS_NEXT_VERSION
323 default: '2.5-SNAPSHOT'
324 description: 'Version of ONOS Yang tools to reset tree to afterwards'
325
326 scm:
Zack Williams00d2c622020-09-30 09:17:48 -0700327 - onf-infra-gerrit-scm:
Yuta HIGUCHI18948042018-05-08 14:07:51 -0700328 git-url: '{git-url}'
329 refspec: '$GERRIT_REFSPEC'
330 branch: '$GERRIT_BRANCH'
Zack Williams05f06082020-01-22 14:19:34 -0700331 submodule-disable: '{submodule-disable}'
Yuta HIGUCHI18948042018-05-08 14:07:51 -0700332 submodule-recursive: '{submodule-recursive}'
Zack Williams05f06082020-01-22 14:19:34 -0700333 submodule-timeout: '{submodule-timeout}'
Yuta HIGUCHI18948042018-05-08 14:07:51 -0700334 choosing-strategy: gerrit
335 jenkins-ssh-credential: '{jenkins-ssh-credential}'
Zack Williams00d2c622020-09-30 09:17:48 -0700336 basedir: "$WORKSPACE"
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
Ray Milkey8e462202017-11-02 10:18:37 -0700408- job-template:
409 #default name is global
410 name: 'onos-{stream}-release-build-verify'
411
412 # Job template for Java release check jobs
413 #
414
415 <<: *job_boiler_plate
416 # yamllint disable-line rule:key-duplicates
Ray Milkeye2175452020-05-06 12:22:58 -0700417 <<: *weekly_boiler_plate
Ray Milkey8e462202017-11-02 10:18:37 -0700418
419 builders:
Ray Milkeyd3d7fa82018-08-14 17:20:52 -0700420 - config-file-provider:
421 files:
422 - file-id: 'gpg-key'
423 target: 'jenkins.key'
424 variable: 'GPG_KEY_FILE'
Ray Milkey8fae9a72017-11-17 10:03:54 -0800425
Ray Milkey8e462202017-11-02 10:18:37 -0700426 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkeyf465a292018-11-12 09:14:16 -0800427 - shell: !include-raw-escape: install-bazel.sh
Ray Milkey8e462202017-11-02 10:18:37 -0700428 - shell: !include-raw-escape: onos-release-build-verify.sh
429 # JJB 1.6.2 does not support parameter expansion on filename?
430 #- shell: !include-raw-escape: {project-name}-verify.sh
431
Ray Milkeyd9f73662017-11-06 10:29:51 -0800432- job-template:
433 #default name is global
Ray Milkey2afc4a52017-11-17 11:01:38 -0800434 name: 'onos-release-build'
435
436 # Job template for Java release jobs
437 #
438
439 <<: *job_boiler_plate
440 # yamllint disable-line rule:key-duplicates
Ray Milkey4309d9b2017-11-17 13:41:46 -0800441 <<: *release_build_boiler_plate
Ray Milkey2afc4a52017-11-17 11:01:38 -0800442
443 builders:
Ray Milkey094fd002017-11-22 10:21:59 -0800444 - lf-provide-maven-settings:
445 settings-file: 'release-build-maven-settings'
446 global-settings-file: 'release-build-maven-settings'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800447 - config-file-provider:
448 files:
449 - file-id: 'onos-build-credentials'
450 target: 'onos-build-credentials'
451 variable: 'CREDENTIALS_FILE'
Ray Milkeye8fd4f02017-11-17 14:54:18 -0800452 - file-id: 'buck-config-local'
453 target: '.buckconfig.local'
454 variable: 'BUCK_CONFIG_FILE'
Ray Milkeyb867be82017-11-27 13:29:19 -0800455 - file-id: 'gpg-key'
456 target: 'jenkins.key'
457 variable: 'GPG_KEY_FILE'
Ray Milkey43e7f932017-11-27 08:48:42 -0800458 - file-id: 'release-build-maven-settings'
459 target: 'settings.xml'
460 variable: 'MAVEN_SETTINGS'
Ray Milkey7d774fb2017-12-05 14:57:30 -0800461 - file-id: 'api-onosproject-ssh-key'
462 target: 'id_rsa.pub'
463 variable: 'API_ONOSPROJECT_SSH_KEY'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800464
465 #put shell scripts in file then make sure shell check is installed on verify vms
466 - shell: !include-raw-escape: onos-release-build.sh
467 # JJB 1.6.2 does not support parameter expansion on filename?
468 #- shell: !include-raw-escape: {project-name}-verify.sh
469
470- job-template:
471 #default name is global
Ray Milkey7c8b3f22018-08-13 15:01:12 -0700472 name: 'onos-bazel-release-build'
473
474 # Job template for Java release jobs
475 #
476
477 <<: *job_boiler_plate
478 # yamllint disable-line rule:key-duplicates
479 <<: *release_build_boiler_plate
480
481 builders:
482 - lf-provide-maven-settings:
483 settings-file: 'release-build-maven-settings'
484 global-settings-file: 'release-build-maven-settings'
485 - config-file-provider:
486 files:
487 - file-id: 'onos-build-credentials'
488 target: 'onos-build-credentials'
489 variable: 'CREDENTIALS_FILE'
490 - file-id: 'gpg-key'
491 target: 'jenkins.key'
492 variable: 'GPG_KEY_FILE'
493 - file-id: 'release-build-maven-settings'
494 target: 'settings.xml'
495 variable: 'MAVEN_SETTINGS'
496 - file-id: 'api-onosproject-ssh-key'
497 target: 'id_rsa.pub'
498 variable: 'API_ONOSPROJECT_SSH_KEY'
499
500 #put shell scripts in file then make sure shell check is installed on verify vms
Ray Milkeyd83ef8e2018-11-09 11:57:01 -0800501 - shell: !include-raw-escape: install-bazel.sh
Ray Milkey7c8b3f22018-08-13 15:01:12 -0700502 - shell: !include-raw-escape: onos-bazel-release-build.sh
503 # JJB 1.6.2 does not support parameter expansion on filename?
504 #- shell: !include-raw-escape: {project-name}-verify.sh
505
506- job-template:
507 #default name is global
Ray Milkey0caba7f2018-01-08 12:56:18 -0800508 name: 'onos-docker-build'
509
510 # Job template for Docker jobs
511 #
512
513 <<: *job_boiler_plate
514 # yamllint disable-line rule:key-duplicates
Ray Milkeyb40e5672018-01-26 10:10:45 -0800515 <<: *docker_build_boiler_plate
Ray Milkey0caba7f2018-01-08 12:56:18 -0800516
517 builders:
518 - lf-provide-maven-settings:
519 settings-file: 'release-build-maven-settings'
520 global-settings-file: 'release-build-maven-settings'
521 - config-file-provider:
522 files:
523 - file-id: 'onos-build-credentials'
524 target: 'onos-build-credentials'
525 variable: 'CREDENTIALS_FILE'
526 - file-id: 'buck-config-local'
527 target: '.buckconfig.local'
528 variable: 'BUCK_CONFIG_FILE'
529 - file-id: 'gpg-key'
530 target: 'jenkins.key'
531 variable: 'GPG_KEY_FILE'
532 - file-id: 'release-build-maven-settings'
533 target: 'settings.xml'
534 variable: 'MAVEN_SETTINGS'
535 - file-id: 'api-onosproject-ssh-key'
536 target: 'id_rsa.pub'
537 variable: 'API_ONOSPROJECT_SSH_KEY'
538
539 #put shell scripts in file then make sure shell check is installed on verify vms
540 - shell: !include-raw-escape: onos-docker-build.sh
541 # JJB 1.6.2 does not support parameter expansion on filename?
542 #- shell: !include-raw-escape: {project-name}-verify.sh
543
544- job-template:
545 #default name is global
Ray Milkeyd9f73662017-11-06 10:29:51 -0800546 name: 'onos-{stream}-maven-verify'
547
548 <<: *job_boiler_plate
549 # yamllint disable-line rule:key-duplicates
Ray Milkeye2175452020-05-06 12:22:58 -0700550 <<: *weekly_boiler_plate_with_slack
Ray Milkeyd9f73662017-11-06 10:29:51 -0800551
552 builders:
553 #put shell scripts in file then make sure shell check is installed on verify vms
554 - shell: !include-raw-escape: onos-maven-verify.sh
555 # JJB 1.6.2 does not support parameter expansion on filename?
556 #- shell: !include-raw-escape: {project-name}-verify.sh
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700557
558- project:
559 name: onos
560 project-name: onos
561 project: onos
562
Ray Milkey43a340c2018-02-20 13:49:00 -0800563 build-timeout: '30'
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700564 build-node: 'ubuntu16.04-basebuild-8c-15g'
565
566 stream:
Ray Milkey1bc13772017-10-31 15:57:17 -0700567 - 'onos-1.10'
568 - 'onos-1.11'
Ray Milkey47d4f722017-11-21 09:36:37 -0800569 - 'onos-1.12'
Ray Milkeyfcb0db62018-04-13 16:47:46 -0700570 - 'onos-1.13'
Ray Milkey648eb912018-08-20 14:24:56 -0700571 - 'onos-1.14'
Brian O'Connor9fbe7722017-10-27 12:44:04 -0700572
573 jobs:
574 - '{project-name}-{stream}-verify'
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700575
576- project:
Ray Milkey2c9ed832018-08-07 10:45:52 -0700577 name: onos-bazel
578 project-name: onos-bazel
579 project: onos
580
581 build-timeout: '30'
582 build-node: 'ubuntu16.04-basebuild-8c-15g'
583
584 stream:
585 - 'master'
Ray Milkey648eb912018-08-20 14:24:56 -0700586 - 'onos-1.14'
Ray Milkeyfef4be02018-11-08 15:34:13 -0800587 - 'onos-1.15'
Ray Milkey785e6232018-12-20 08:18:15 -0800588 - 'onos-2.0'
Ray Milkey12398252019-04-22 10:51:26 -0700589 - 'onos-2.1'
Ray Milkey70043e12019-08-23 13:18:20 -0700590 - 'onos-2.2'
Ray Milkey5a0238c2020-01-21 15:47:52 -0800591 - 'onos-2.3'
Ray Milkey805f3342020-06-04 15:41:24 -0700592 - 'onos-2.4'
Ray Milkey72970562020-12-01 12:14:37 -0800593 - 'onos-2.5'
Ray Milkey91bf53e2018-11-05 14:22:51 -0800594 - 'upan-connect18'
Ray Milkey219ab182018-11-26 14:19:34 -0800595 - 'upan-connect18-1.14'
Ray Milkey2c9ed832018-08-07 10:45:52 -0700596
597 jobs:
598 - '{project-name}-{stream}-bazel-verify'
599
600- project:
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700601 name: onos-yang-tools
602 project-name: onos-yang-tools
603 project: onos-yang-tools
604
Ray Milkey43a340c2018-02-20 13:49:00 -0800605 build-timeout: '30'
Yuta HIGUCHI02e46d32017-10-31 10:17:47 -0700606 build-node: 'ubuntu16.04-basebuild-8c-15g'
607
608 stream:
609 - 'master'
610
611 jobs:
612 - 'onos-yang-tools-{stream}-verify'
Ray Milkey8e462202017-11-02 10:18:37 -0700613
614- project:
Yuta HIGUCHI7e982142018-05-08 15:02:05 -0700615 name: onos-yang-tools-release-build
616 project-name: onos-yang-tools-release-build
617 project: onos-yang-tools
618
619 build-timeout: '240'
620 build-node: 'ubuntu16.04-basebuild-8c-15g'
621
622 stream: 'master'
623
624 jobs:
625 - 'onos-yang-tools-release-build'
626
627
628- project:
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800629 name: onos-app-samples
630 project-name: onos-app-samples
631 project: onos-app-samples
632
Ray Milkey43a340c2018-02-20 13:49:00 -0800633 build-timeout: '30'
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800634 build-node: 'ubuntu16.04-basebuild-8c-15g'
635
636 stream:
637 - 'master'
638
639 jobs:
640 - 'onos-app-samples-{stream}-verify'
641
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800642- project:
643 name: onos-loxi
644 project-name: onos-loxi
645 project: onos-loxi
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800646
Ray Milkey43a340c2018-02-20 13:49:00 -0800647 build-timeout: '30'
Yuta HIGUCHI1ac83232017-11-17 16:37:57 -0800648 build-node: 'ubuntu16.04-basebuild-8c-15g'
649
650 stream:
651 - 'master'
652
653 jobs:
654 - 'onos-loxi-{stream}-verify'
Yuta HIGUCHI28821fd2017-11-17 16:11:19 -0800655
656- project:
Ray Milkey8e462202017-11-02 10:18:37 -0700657 name: onos-release
658 project-name: onos-release
659 project: onos
660
Ray Milkey2d55e972018-05-04 13:01:36 -0700661 build-timeout: '240'
Ray Milkey8e462202017-11-02 10:18:37 -0700662 build-node: 'ubuntu16.04-basebuild-8c-15g'
663
664 stream:
665 - 'master'
Ray Milkey72970562020-12-01 12:14:37 -0800666 - 'onos-2.5'
Ray Milkeye2175452020-05-06 12:22:58 -0700667 - 'onos-2.2'
Ray Milkey7f8a23c2019-04-05 09:43:55 -0700668 - 'onos-1.15'
Ray Milkey7f8a23c2019-04-05 09:43:55 -0700669 - 'onos-1.12'
Ray Milkey8e462202017-11-02 10:18:37 -0700670
671 jobs:
672 - 'onos-{stream}-release-build-verify'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800673
674- project:
675 name: onos-maven-verify
676 project-name: onos-maven-verify
677 project: onos
678
Ray Milkey43a340c2018-02-20 13:49:00 -0800679 build-timeout: '30'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800680 build-node: 'ubuntu16.04-basebuild-8c-15g'
681
682 stream:
Ray Milkeye8f39e02018-04-16 13:34:34 -0700683 - 'onos-1.12'
Ray Milkeyd9f73662017-11-06 10:29:51 -0800684
685 jobs:
686 - 'onos-{stream}-maven-verify'
Ray Milkey20d22522017-11-08 10:55:52 -0800687
688- project:
Ray Milkey2afc4a52017-11-17 11:01:38 -0800689 name: onos-release-build
690 project-name: onos-release-build
691 project: onos
692
Ray Milkey884a2b82018-05-22 08:29:45 -0700693 build-timeout: '240'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800694 build-node: 'ubuntu16.04-basebuild-8c-15g'
695
Ray Milkey4309d9b2017-11-17 13:41:46 -0800696 stream: 'master'
Ray Milkey2afc4a52017-11-17 11:01:38 -0800697
698 jobs:
699 - 'onos-release-build'
Ray Milkey0caba7f2018-01-08 12:56:18 -0800700
701- project:
Ray Milkey7c8b3f22018-08-13 15:01:12 -0700702 name: onos-bazel-release-build
703 project-name: onos-bazel-release-build
704 project: onos
705
706 build-timeout: '240'
707 build-node: 'ubuntu16.04-basebuild-8c-15g'
708
709 stream: 'master'
710
711 jobs:
712 - 'onos-bazel-release-build'
713
714- project:
Ray Milkey0caba7f2018-01-08 12:56:18 -0800715 name: onos-docker-build
716 project-name: onos-docker-build
717 project: onos
718
Ray Milkey43a340c2018-02-20 13:49:00 -0800719 build-timeout: '90'
Ray Milkey0caba7f2018-01-08 12:56:18 -0800720 build-node: 'ubuntu16.04-basebuild-8c-15g'
721
722 stream: 'master'
723
724 jobs:
725 - 'onos-docker-build'
Ray Milkey3aa8af52018-03-09 09:10:08 -0800726