| --- |
| # GLOBAL jenkins defaults |
| |
| - defaults: |
| name: global |
| |
| # lftools |
| lftools-version: '~=0.26.2' |
| |
| # global-jjb required variables |
| submodule-disable: false |
| submodule-recursive: true |
| submodule-timeout: 10 |
| |
| # lf-infra-defaults |
| jenkins-ssh-credential: 'onos-jenkins-ssh' |
| |
| # Timeout in minutes |
| #TODO deprecate this (should be project template specific) |
| build-timeout: 360 |
| |
| # How long to keep builds and artifacts |
| build-days-to-keep: 60 |
| artifact-num-to-keep: 30 |
| |
| # The most frequently used type of build node |
| # see other build node types under "Cloud > Amazon EC2" at |
| # https://jenkins.onosproject.org/configure |
| build-node: ubuntu16.04-basebuild-1c-1g |
| bigger-build-node: ubuntu16.04-basebuild-8c-15g |
| |
| # default gerrit server definition |
| #server-name: 'ONOS Project Gerrit' |
| gerrit-server-name: 'ONOS Project Gerrit' |
| |
| # User account with gerrit SSH credentials |
| gerrit-ssh-credential: 'onos-gerrit-ssh' |
| |
| # Java glob of artifacts to archive |
| archive-artifacts: '' |
| |
| # by default, don't depend on other jobs |
| dependency-jobs: '' |
| |
| # used to rename jobs if required |
| name-extension: '' |
| |
| # regexes for branch matching |
| all-branches-regexp: '.*' |
| supported-branches-regexp: '.*' |
| |
| # regexes for file matching |
| all-files-regexp: '.*' |
| |
| # strictness of version checks - if set to 1, then only allow SemVer versioning |
| semver-strict: 0 |
| |
| # Make test targets |
| # List of targets to run when testing a patchset, run with make |
| # defaults to just 'test', multiple targets should be space separated |
| make-test-targets: 'test' |
| |
| # whether to "keep going" on multiple tests if one fails |
| # maps to the `-k` option passed to make in make-test.yaml |
| make-test-keep-going: false |
| |
| # golang specific variables |
| # dest-gopath handles checking out patchsets and putting them into a GOPATH |
| # This portion of the path should be included: `$GOPATH/src/<dest-gopath>/<project>" |
| # If blank, golang related variables won't be set |
| dest-gopath: '' |
| |
| # JDK distribution to use |
| # Give the version of the JDK to use when building |
| # Parameter is used with `update-java-alternatives --set <jdk-distribution>` |
| jdk-distribution: 'java-11-amazon-corretto' |
| |
| # Optionally allow JUnit results to be empty when test framework is set up, |
| # but no tests exist. Default behavior is to fail when test results are |
| # empty. Also will not vote if no test output exists - good for repos where |
| # tests or test output generation may not yet exist. |
| junit-allow-empty-results: false |
| |
| # URL of the Docker registry (server running a docker registry) that is the |
| # destination for images to be pushed to after building. If set, must |
| # include trailing slash as a separator before the repo name. |
| # Default is blank, which maps to DockerHub. |
| docker-registry: '' |
| |
| # ONF docker credentials for onfbuilder user |
| docker-credentials-id: 'docker-artifact-push-credentials' |