blob: 53a76e0305705b42bea1c7098b85250e4d85a5a5 [file] [log] [blame]
parameters:
jenkins:
client:
job_template:
docker-build-images-opencontrail:
name: "docker-build-images-opencontrail-{{version}}"
jobs:
- version: oc40
template:
discard:
build:
keep_num: 25
artifact:
keep_num: 25
type: workflow-scm
concurrent: true
scm:
type: git
url: "${_param:jenkins_gerrit_url}/mk/docker-opencontrail"
credentials: "gerrit"
trigger:
gerrit:
project:
"mk/docker-opencontrail":
branches:
- master
event:
ref:
- updated: {}
comment:
- addedContains:
commentAddedCommentContains: '(buildcontainer|test|recheck|verify|)'
param:
IMAGE_GIT_URL:
type: string
default: "${_param:jenkins_gerrit_url}/mk/docker-opencontrail"
OC_VERSION:
type: string
default: "{{version}}"
IMAGE_CREDENTIALS_ID:
type: string
default: "gerrit"
APT_KEY:
type: string
default: "${_param:jenkins_aptly_url}/public.gpg"
APT_REPO_URL:
type: string
default: "${_param:jenkins_aptly_url}/xenial/ nightly"
REGISTRY_CREDENTIALS_ID:
type: string
default: "dockerhub"