Linux Foundation Administrators | 3cbbe23 | 2017-10-12 12:44:21 -0700 | [diff] [blame] | 1 | --- |
| 2 | # GLOBAL jenkins defaults |
| 3 | |
| 4 | - defaults: |
| 5 | name: global |
| 6 | |
| 7 | # lftools |
Ray Milkey | 502c672 | 2019-10-14 16:15:11 -0700 | [diff] [blame] | 8 | lftools-version: '~=0.26.2' |
Linux Foundation Administrators | 3cbbe23 | 2017-10-12 12:44:21 -0700 | [diff] [blame] | 9 | |
Zack Williams | 05f0608 | 2020-01-22 14:19:34 -0700 | [diff] [blame] | 10 | # global-jjb required variables |
| 11 | submodule-disable: false |
| 12 | submodule-recursive: true |
| 13 | submodule-timeout: 10 |
| 14 | |
Linux Foundation Administrators | 3cbbe23 | 2017-10-12 12:44:21 -0700 | [diff] [blame] | 15 | # lf-infra-defaults |
| 16 | jenkins-ssh-credential: 'onos-jenkins-ssh' |
| 17 | |
Linux Foundation Administrators | 3cbbe23 | 2017-10-12 12:44:21 -0700 | [diff] [blame] | 18 | # Timeout in minutes |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 19 | #TODO deprecate this (should be project template specific) |
Linux Foundation Administrators | 3cbbe23 | 2017-10-12 12:44:21 -0700 | [diff] [blame] | 20 | build-timeout: 360 |
Zack Williams | 3403ff4 | 2019-08-13 18:30:42 -0700 | [diff] [blame] | 21 | |
| 22 | # How long to keep builds and artifacts |
| 23 | build-days-to-keep: 60 |
| 24 | artifact-num-to-keep: 30 |
| 25 | |
| 26 | # The most frequently used type of build node |
| 27 | # see other build node types under "Cloud > Amazon EC2" at |
| 28 | # https://jenkins.onosproject.org/configure |
| 29 | build-node: ubuntu16.04-basebuild-1c-1g |
Linux Foundation Administrators | 3cbbe23 | 2017-10-12 12:44:21 -0700 | [diff] [blame] | 30 | |
| 31 | # default gerrit server definition |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 32 | #server-name: 'ONOS Project Gerrit' |
Linux Foundation Administrators | 3cbbe23 | 2017-10-12 12:44:21 -0700 | [diff] [blame] | 33 | gerrit-server-name: 'ONOS Project Gerrit' |
| 34 | |
Zack Williams | 3403ff4 | 2019-08-13 18:30:42 -0700 | [diff] [blame] | 35 | # User account with gerrit SSH credentials |
| 36 | gerrit-ssh-credential: 'onos-gerrit-ssh' |
| 37 | |
| 38 | # Java glob of artifacts to archive |
Linux Foundation Administrators | 3cbbe23 | 2017-10-12 12:44:21 -0700 | [diff] [blame] | 39 | archive-artifacts: '' |
| 40 | |
Zack Williams | 3403ff4 | 2019-08-13 18:30:42 -0700 | [diff] [blame] | 41 | # by default, don't depend on other jobs |
| 42 | dependency-jobs: '' |
Linux Foundation Administrators | 3cbbe23 | 2017-10-12 12:44:21 -0700 | [diff] [blame] | 43 | |
Zack Williams | 3403ff4 | 2019-08-13 18:30:42 -0700 | [diff] [blame] | 44 | # used to rename jobs if required |
| 45 | name-extension: '' |
Linux Foundation Administrators | 3cbbe23 | 2017-10-12 12:44:21 -0700 | [diff] [blame] | 46 | |
Zack Williams | 3403ff4 | 2019-08-13 18:30:42 -0700 | [diff] [blame] | 47 | # regexes for branch matching |
| 48 | all-branches-regexp: '.*' |
| 49 | supported-branches-regexp: '.*' |
| 50 | |
| 51 | # regexes for file matching |
| 52 | all-files-regexp: '.*' |
| 53 | |
| 54 | # strictness of version checks - if set to 1, then only allow SemVer versioning |
| 55 | semver-strict: 0 |
| 56 | |
| 57 | # Make test targets |
| 58 | # List of targets to run when testing a patchset, run with make |
| 59 | # defaults to just 'test', multiple targets should be space separated |
| 60 | make-test-targets: 'test' |
| 61 | |
| 62 | # whether to "keep going" on multiple tests if one fails |
| 63 | # maps to the `-k` option passed to make in make-test.yaml |
| 64 | make-test-keep-going: false |
| 65 | |
| 66 | # golang specific variables |
| 67 | # dest-gopath handles checking out patchsets and putting them into a GOPATH |
| 68 | # This portion of the path should be included: `$GOPATH/src/<dest-gopath>/<project>" |
| 69 | # If blank, golang related variables won't be set |
| 70 | dest-gopath: '' |