blob: 0c4f9dde84460285c1ed3d843ee43223487313ce [file] [log] [blame]
parameters:
jenkins:
client:
job_template:
gate-gerrit-namespace:
name: gate-gerrit-{{name}}
jobs:
- name: mk
- name: debian
- name: contrail
- name: salt-models
- name: salt-formulas
template:
discard:
build:
keep_num: 5
artifact:
keep_num: 5
type: workflow-scm
concurrent: true
scm:
type: git
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
credentials: "gerrit"
script: gating-pipeline.groovy
trigger:
gerrit:
project:
'{{name}}\/.*':
compare_type: REG_EXP
branches:
- master
skip_vote:
- successful
- failed
- unstable
- not_built
event:
comment:
- added:
verdictCategory: 'Workflow'
commentAddedTriggerApprovalValue: '+1'
param:
JOBS_NAMESPACE:
type: string
default: "{{name}}"
CREDENTIALS_ID:
type: string
default: "gerrit"