blob: 042121c875726df0fa3c124b785ab3d51e40b37b [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
Emanuele Gallone3b0861c2021-11-09 16:53:57 +010031 medium-build-node: ubuntu16.04-basebuild-4c-8g
32
pierventree1433022020-07-06 09:34:32 +020033 # Powerful node, this type of node should be used for bazel builds.
pierventrefb03d642020-07-02 23:10:12 +020034 bigger-build-node: ubuntu16.04-basebuild-8c-15g
Linux Foundation Administrators3cbbe232017-10-12 12:44:21 -070035
36 # default gerrit server definition
Brian O'Connor9fbe7722017-10-27 12:44:04 -070037 #server-name: 'ONOS Project Gerrit'
Linux Foundation Administrators3cbbe232017-10-12 12:44:21 -070038 gerrit-server-name: 'ONOS Project Gerrit'
39
Zack Williams3403ff42019-08-13 18:30:42 -070040 # User account with gerrit SSH credentials
41 gerrit-ssh-credential: 'onos-gerrit-ssh'
42
Carmelo Cascone81631ed2020-08-18 19:33:25 -070043 # 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
pierventref0183f92020-10-05 22:40:49 +020050 # SSH credentials for OMEC project Github account
51 github-omec-project-ssh-credential: 'github-omec-project-ssh-key'
52
Zack Williams3403ff42019-08-13 18:30:42 -070053 # Java glob of artifacts to archive
Linux Foundation Administrators3cbbe232017-10-12 12:44:21 -070054 archive-artifacts: ''
55
Zack Williams3403ff42019-08-13 18:30:42 -070056 # by default, don't depend on other jobs
57 dependency-jobs: ''
Linux Foundation Administrators3cbbe232017-10-12 12:44:21 -070058
Zack Williams3403ff42019-08-13 18:30:42 -070059 # used to rename jobs if required
60 name-extension: ''
Linux Foundation Administrators3cbbe232017-10-12 12:44:21 -070061
pierventre4a959602020-11-02 14:46:19 +010062 # used to disable a job
63 disable-job: false
64
Zack Williams3403ff42019-08-13 18:30:42 -070065 # 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
pierventree1433022020-07-06 09:34:32 +020075 # Make test environment variables
76 # List of env. variables to be used when testing a patchest.
77 make-test-vars: ''
78
Zack Williams3403ff42019-08-13 18:30:42 -070079 # 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 Williams5d2123b2020-06-25 17:10:02 -070093
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
pierventrefb03d642020-07-02 23:10:12 +0200104
pierventref41b90c2020-07-15 16:26:02 +0200105 # 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
pierventrefb03d642020-07-02 23:10:12 +0200110 # 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'
pierventref41b90c2020-07-15 16:26:02 +0200118
119 # maintainers
120 # Used to notify users in supported tests
121 maintainers: 'zdw@opennetworking.org'
pierventre9692bbf2020-11-12 14:34:31 +0100122
123 # timed
124 # Used as default for timed triggers
125 timed: '@midnight'