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 |
pierventre | e143302 | 2020-07-06 09:34:32 +0200 | [diff] [blame] | 30 | |
| 31 | # Powerful node, this type of node should be used for bazel builds. |
pierventre | fb03d64 | 2020-07-02 23:10:12 +0200 | [diff] [blame] | 32 | bigger-build-node: ubuntu16.04-basebuild-8c-15g |
Linux Foundation Administrators | 3cbbe23 | 2017-10-12 12:44:21 -0700 | [diff] [blame] | 33 | |
| 34 | # default gerrit server definition |
Brian O'Connor | 9fbe772 | 2017-10-27 12:44:04 -0700 | [diff] [blame] | 35 | #server-name: 'ONOS Project Gerrit' |
Linux Foundation Administrators | 3cbbe23 | 2017-10-12 12:44:21 -0700 | [diff] [blame] | 36 | gerrit-server-name: 'ONOS Project Gerrit' |
| 37 | |
Zack Williams | 3403ff4 | 2019-08-13 18:30:42 -0700 | [diff] [blame] | 38 | # User account with gerrit SSH credentials |
| 39 | gerrit-ssh-credential: 'onos-gerrit-ssh' |
| 40 | |
Carmelo Cascone | 81631ed | 2020-08-18 19:33:25 -0700 | [diff] [blame] | 41 | # SSH credentials for onf-bot GitHub account |
| 42 | github-onf-bot-ssh-credential: 'github-onf-bot-ssh-key' |
| 43 | |
| 44 | # Auth IDs for Github Pull Request Builder plugin: |
| 45 | # - Auth ID for GitHub account "onf-bot" (via Personal Access Token) |
| 46 | github-pr-auth-id-onf-bot: '3a50653e-c14e-4a15-bfbc-206c6a4eccac' |
| 47 | |
pierventre | f0183f9 | 2020-10-05 22:40:49 +0200 | [diff] [blame] | 48 | # SSH credentials for OMEC project Github account |
| 49 | github-omec-project-ssh-credential: 'github-omec-project-ssh-key' |
| 50 | |
Zack Williams | 3403ff4 | 2019-08-13 18:30:42 -0700 | [diff] [blame] | 51 | # Java glob of artifacts to archive |
Linux Foundation Administrators | 3cbbe23 | 2017-10-12 12:44:21 -0700 | [diff] [blame] | 52 | archive-artifacts: '' |
| 53 | |
Zack Williams | 3403ff4 | 2019-08-13 18:30:42 -0700 | [diff] [blame] | 54 | # by default, don't depend on other jobs |
| 55 | dependency-jobs: '' |
Linux Foundation Administrators | 3cbbe23 | 2017-10-12 12:44:21 -0700 | [diff] [blame] | 56 | |
Zack Williams | 3403ff4 | 2019-08-13 18:30:42 -0700 | [diff] [blame] | 57 | # used to rename jobs if required |
| 58 | name-extension: '' |
Linux Foundation Administrators | 3cbbe23 | 2017-10-12 12:44:21 -0700 | [diff] [blame] | 59 | |
pierventre | 4a95960 | 2020-11-02 14:46:19 +0100 | [diff] [blame] | 60 | # used to disable a job |
| 61 | disable-job: false |
| 62 | |
Zack Williams | 3403ff4 | 2019-08-13 18:30:42 -0700 | [diff] [blame] | 63 | # regexes for branch matching |
| 64 | all-branches-regexp: '.*' |
| 65 | supported-branches-regexp: '.*' |
| 66 | |
| 67 | # regexes for file matching |
| 68 | all-files-regexp: '.*' |
| 69 | |
| 70 | # strictness of version checks - if set to 1, then only allow SemVer versioning |
| 71 | semver-strict: 0 |
| 72 | |
pierventre | e143302 | 2020-07-06 09:34:32 +0200 | [diff] [blame] | 73 | # Make test environment variables |
| 74 | # List of env. variables to be used when testing a patchest. |
| 75 | make-test-vars: '' |
| 76 | |
Zack Williams | 3403ff4 | 2019-08-13 18:30:42 -0700 | [diff] [blame] | 77 | # Make test targets |
| 78 | # List of targets to run when testing a patchset, run with make |
| 79 | # defaults to just 'test', multiple targets should be space separated |
| 80 | make-test-targets: 'test' |
| 81 | |
| 82 | # whether to "keep going" on multiple tests if one fails |
| 83 | # maps to the `-k` option passed to make in make-test.yaml |
| 84 | make-test-keep-going: false |
| 85 | |
| 86 | # golang specific variables |
| 87 | # dest-gopath handles checking out patchsets and putting them into a GOPATH |
| 88 | # This portion of the path should be included: `$GOPATH/src/<dest-gopath>/<project>" |
| 89 | # If blank, golang related variables won't be set |
| 90 | dest-gopath: '' |
Zack Williams | 5d2123b | 2020-06-25 17:10:02 -0700 | [diff] [blame] | 91 | |
| 92 | # JDK distribution to use |
| 93 | # Give the version of the JDK to use when building |
| 94 | # Parameter is used with `update-java-alternatives --set <jdk-distribution>` |
| 95 | jdk-distribution: 'java-11-amazon-corretto' |
| 96 | |
| 97 | # Optionally allow JUnit results to be empty when test framework is set up, |
| 98 | # but no tests exist. Default behavior is to fail when test results are |
| 99 | # empty. Also will not vote if no test output exists - good for repos where |
| 100 | # tests or test output generation may not yet exist. |
| 101 | junit-allow-empty-results: false |
pierventre | fb03d64 | 2020-07-02 23:10:12 +0200 | [diff] [blame] | 102 | |
pierventre | f41b90c | 2020-07-15 16:26:02 +0200 | [diff] [blame] | 103 | # Name of the Docker repository (usually on DockerHub) that is the |
| 104 | # destination for images to be pushed to after building. |
| 105 | # Default is invalid - must be specified on every job. |
| 106 | docker-repo: 'default-and-invalid' |
| 107 | |
pierventre | fb03d64 | 2020-07-02 23:10:12 +0200 | [diff] [blame] | 108 | # URL of the Docker registry (server running a docker registry) that is the |
| 109 | # destination for images to be pushed to after building. If set, must |
| 110 | # include trailing slash as a separator before the repo name. |
| 111 | # Default is blank, which maps to DockerHub. |
| 112 | docker-registry: '' |
| 113 | |
| 114 | # ONF docker credentials for onfbuilder user |
| 115 | docker-credentials-id: 'docker-artifact-push-credentials' |
pierventre | f41b90c | 2020-07-15 16:26:02 +0200 | [diff] [blame] | 116 | |
| 117 | # maintainers |
| 118 | # Used to notify users in supported tests |
| 119 | maintainers: 'zdw@opennetworking.org' |
pierventre | 9692bbf | 2020-11-12 14:34:31 +0100 | [diff] [blame] | 120 | |
| 121 | # timed |
| 122 | # Used as default for timed triggers |
| 123 | timed: '@midnight' |