blob: 146fe5173740ca507757a3783e66899f17dab096 [file] [log] [blame]
Linux Foundation Administrators3cbbe232017-10-12 12:44:21 -07001---
2# GLOBAL jenkins defaults
3
4- defaults:
5 name: global
6
7 # lftools
Ray Milkey502c6722019-10-14 16:15:11 -07008 lftools-version: '~=0.26.2'
Linux Foundation Administrators3cbbe232017-10-12 12:44:21 -07009
Zack Williams05f06082020-01-22 14:19:34 -070010 # global-jjb required variables
11 submodule-disable: false
12 submodule-recursive: true
13 submodule-timeout: 10
14
Linux Foundation Administrators3cbbe232017-10-12 12:44:21 -070015 # lf-infra-defaults
16 jenkins-ssh-credential: 'onos-jenkins-ssh'
17
Linux Foundation Administrators3cbbe232017-10-12 12:44:21 -070018 # Timeout in minutes
Brian O'Connor9fbe7722017-10-27 12:44:04 -070019 #TODO deprecate this (should be project template specific)
Linux Foundation Administrators3cbbe232017-10-12 12:44:21 -070020 build-timeout: 360
Zack Williams3403ff42019-08-13 18:30:42 -070021
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
pierventree1433022020-07-06 09:34:32 +020030
pierventre43acfd42022-07-27 23:28:22 +020031 ubuntu20-build-node: ubuntu20.04-basebuild-1c-1g
32
Emanuele Gallone3b0861c2021-11-09 16:53:57 +010033 medium-build-node: ubuntu16.04-basebuild-4c-8g
34
pierventre43acfd42022-07-27 23:28:22 +020035 ubuntu20-medium-build-node: ubuntu20.04-basebuild-4c-8g
36
pierventree1433022020-07-06 09:34:32 +020037 # Powerful node, this type of node should be used for bazel builds.
pierventrefb03d642020-07-02 23:10:12 +020038 bigger-build-node: ubuntu16.04-basebuild-8c-15g
Linux Foundation Administrators3cbbe232017-10-12 12:44:21 -070039
pierventre43acfd42022-07-27 23:28:22 +020040 # 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 Administrators3cbbe232017-10-12 12:44:21 -070043 # default gerrit server definition
Brian O'Connor9fbe7722017-10-27 12:44:04 -070044 #server-name: 'ONOS Project Gerrit'
Linux Foundation Administrators3cbbe232017-10-12 12:44:21 -070045 gerrit-server-name: 'ONOS Project Gerrit'
46
Zack Williams3403ff42019-08-13 18:30:42 -070047 # User account with gerrit SSH credentials
48 gerrit-ssh-credential: 'onos-gerrit-ssh'
49
Carmelo Cascone81631ed2020-08-18 19:33:25 -070050 # 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
pierventref0183f92020-10-05 22:40:49 +020057 # SSH credentials for OMEC project Github account
58 github-omec-project-ssh-credential: 'github-omec-project-ssh-key'
59
Zack Williams3403ff42019-08-13 18:30:42 -070060 # Java glob of artifacts to archive
Linux Foundation Administrators3cbbe232017-10-12 12:44:21 -070061 archive-artifacts: ''
62
Zack Williams3403ff42019-08-13 18:30:42 -070063 # by default, don't depend on other jobs
64 dependency-jobs: ''
Linux Foundation Administrators3cbbe232017-10-12 12:44:21 -070065
Zack Williams3403ff42019-08-13 18:30:42 -070066 # used to rename jobs if required
67 name-extension: ''
Linux Foundation Administrators3cbbe232017-10-12 12:44:21 -070068
pierventre4a959602020-11-02 14:46:19 +010069 # used to disable a job
70 disable-job: false
71
Zack Williams3403ff42019-08-13 18:30:42 -070072 # 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
pierventree1433022020-07-06 09:34:32 +020082 # Make test environment variables
83 # List of env. variables to be used when testing a patchest.
84 make-test-vars: ''
85
Zack Williams3403ff42019-08-13 18:30:42 -070086 # 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 Williams5d2123b2020-06-25 17:10:02 -0700100
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
pierventrefb03d642020-07-02 23:10:12 +0200111
pierventref41b90c2020-07-15 16:26:02 +0200112 # 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
pierventrefb03d642020-07-02 23:10:12 +0200117 # 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'
pierventref41b90c2020-07-15 16:26:02 +0200125
126 # maintainers
127 # Used to notify users in supported tests
128 maintainers: 'zdw@opennetworking.org'
pierventre9692bbf2020-11-12 14:34:31 +0100129
130 # timed
131 # Used as default for timed triggers
132 timed: '@midnight'