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