blob: d4256df5937c30c109cfa5d92b369f2ea186082e [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
31 # Powerful node, this type of node should be used for bazel builds.
pierventrefb03d642020-07-02 23:10:12 +020032 bigger-build-node: ubuntu16.04-basebuild-8c-15g
Linux Foundation Administrators3cbbe232017-10-12 12:44:21 -070033
34 # default gerrit server definition
Brian O'Connor9fbe7722017-10-27 12:44:04 -070035 #server-name: 'ONOS Project Gerrit'
Linux Foundation Administrators3cbbe232017-10-12 12:44:21 -070036 gerrit-server-name: 'ONOS Project Gerrit'
37
Zack Williams3403ff42019-08-13 18:30:42 -070038 # User account with gerrit SSH credentials
39 gerrit-ssh-credential: 'onos-gerrit-ssh'
40
Carmelo Cascone81631ed2020-08-18 19:33:25 -070041 # 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
Zack Williams3403ff42019-08-13 18:30:42 -070048 # Java glob of artifacts to archive
Linux Foundation Administrators3cbbe232017-10-12 12:44:21 -070049 archive-artifacts: ''
50
Zack Williams3403ff42019-08-13 18:30:42 -070051 # by default, don't depend on other jobs
52 dependency-jobs: ''
Linux Foundation Administrators3cbbe232017-10-12 12:44:21 -070053
Zack Williams3403ff42019-08-13 18:30:42 -070054 # used to rename jobs if required
55 name-extension: ''
Linux Foundation Administrators3cbbe232017-10-12 12:44:21 -070056
Zack Williams3403ff42019-08-13 18:30:42 -070057 # regexes for branch matching
58 all-branches-regexp: '.*'
59 supported-branches-regexp: '.*'
60
61 # regexes for file matching
62 all-files-regexp: '.*'
63
64 # strictness of version checks - if set to 1, then only allow SemVer versioning
65 semver-strict: 0
66
pierventree1433022020-07-06 09:34:32 +020067 # Make test environment variables
68 # List of env. variables to be used when testing a patchest.
69 make-test-vars: ''
70
Zack Williams3403ff42019-08-13 18:30:42 -070071 # Make test targets
72 # List of targets to run when testing a patchset, run with make
73 # defaults to just 'test', multiple targets should be space separated
74 make-test-targets: 'test'
75
76 # whether to "keep going" on multiple tests if one fails
77 # maps to the `-k` option passed to make in make-test.yaml
78 make-test-keep-going: false
79
80 # golang specific variables
81 # dest-gopath handles checking out patchsets and putting them into a GOPATH
82 # This portion of the path should be included: `$GOPATH/src/<dest-gopath>/<project>"
83 # If blank, golang related variables won't be set
84 dest-gopath: ''
Zack Williams5d2123b2020-06-25 17:10:02 -070085
86 # JDK distribution to use
87 # Give the version of the JDK to use when building
88 # Parameter is used with `update-java-alternatives --set <jdk-distribution>`
89 jdk-distribution: 'java-11-amazon-corretto'
90
91 # Optionally allow JUnit results to be empty when test framework is set up,
92 # but no tests exist. Default behavior is to fail when test results are
93 # empty. Also will not vote if no test output exists - good for repos where
94 # tests or test output generation may not yet exist.
95 junit-allow-empty-results: false
pierventrefb03d642020-07-02 23:10:12 +020096
pierventref41b90c2020-07-15 16:26:02 +020097 # Name of the Docker repository (usually on DockerHub) that is the
98 # destination for images to be pushed to after building.
99 # Default is invalid - must be specified on every job.
100 docker-repo: 'default-and-invalid'
101
pierventrefb03d642020-07-02 23:10:12 +0200102 # URL of the Docker registry (server running a docker registry) that is the
103 # destination for images to be pushed to after building. If set, must
104 # include trailing slash as a separator before the repo name.
105 # Default is blank, which maps to DockerHub.
106 docker-registry: ''
107
108 # ONF docker credentials for onfbuilder user
109 docker-credentials-id: 'docker-artifact-push-credentials'
pierventref41b90c2020-07-15 16:26:02 +0200110
pierventre65d85a22020-07-21 20:30:20 +0200111 # OMECProject api token
112 omec-project-api: '64fe2b1a-b33a-4f13-8442-ad8360434003'
113
pierventref41b90c2020-07-15 16:26:02 +0200114 # maintainers
115 # Used to notify users in supported tests
116 maintainers: 'zdw@opennetworking.org'