parameters: | |
jenkins: | |
client: | |
view: | |
Gating: | |
enabled: true | |
type: ListView | |
include_regex: "gate-.*" | |
job_template: | |
gate-gerrit-namespace: | |
name: gate-gerrit-{{name}} | |
jobs: | |
- name: mk | |
regex: 'mk\/.*' | |
- name: debian | |
regex: 'debian\/.*' | |
- name: contrail | |
regex: 'contrail\/.*' | |
- name: salt-models | |
regex: 'salt-models\/.*' | |
- name: salt-formulas | |
regex: 'salt-formulas\/.*' | |
- name: oss | |
regex: 'oss\/devops-portal' | |
template: | |
discard: | |
build: | |
keep_num: 25 | |
artifact: | |
keep_num: 25 | |
type: workflow-scm | |
concurrent: true | |
scm: | |
type: git | |
url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" | |
branch: "${_param:jenkins_pipelines_branch}" | |
credentials: "gerrit" | |
script: gating-pipeline.groovy | |
quiet_period: 60 | |
trigger: | |
gerrit: | |
project: | |
'{{regex}}': | |
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}}" | |
SKIP_TEST: | |
type: string | |
default: false | |
CREDENTIALS_ID: | |
type: string | |
default: "gerrit" |