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