blob: 146fe5173740ca507757a3783e66899f17dab096 [file] [log] [blame]
---
# 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
ubuntu20-build-node: ubuntu20.04-basebuild-1c-1g
medium-build-node: ubuntu16.04-basebuild-4c-8g
ubuntu20-medium-build-node: ubuntu20.04-basebuild-4c-8g
# Powerful node, this type of node should be used for bazel builds.
bigger-build-node: ubuntu16.04-basebuild-8c-15g
# Powerful node and new image, this type of node should be used for bazel builds.
ubuntu20-bigger-build-node: ubuntu20.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'
# SSH credentials for onf-bot GitHub account
github-onf-bot-ssh-credential: 'github-onf-bot-ssh-key'
# Auth IDs for Github Pull Request Builder plugin:
# - Auth ID for GitHub account "onf-bot" (via Personal Access Token)
github-pr-auth-id-onf-bot: '3a50653e-c14e-4a15-bfbc-206c6a4eccac'
# SSH credentials for OMEC project Github account
github-omec-project-ssh-credential: 'github-omec-project-ssh-key'
# 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: ''
# used to disable a job
disable-job: false
# 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 environment variables
# List of env. variables to be used when testing a patchest.
make-test-vars: ''
# 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
# Name of the Docker repository (usually on DockerHub) that is the
# destination for images to be pushed to after building.
# Default is invalid - must be specified on every job.
docker-repo: 'default-and-invalid'
# 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'
# maintainers
# Used to notify users in supported tests
maintainers: 'zdw@opennetworking.org'
# timed
# Used as default for timed triggers
timed: '@midnight'