blob: 6b6d620edd3e4bf6de3ee1cdc596241ac627df58 [file] [log] [blame]
Filip Pytloun7af94b32017-03-14 18:38:52 +01001parameters:
2 jenkins:
3 client:
Jakub Josef9ab31442017-04-05 14:02:59 +02004 view:
5 Gating:
6 enabled: true
7 type: ListView
8 include_regex: "gate-.*"
Filip Pytloun7af94b32017-03-14 18:38:52 +01009 job_template:
10 gate-gerrit-namespace:
11 name: gate-gerrit-{{name}}
12 jobs:
13 - name: mk
Mikhail Ivanovb2707e12017-04-10 17:19:30 +040014 regex: 'mk\/.*'
Filip Pytloun7af94b32017-03-14 18:38:52 +010015 - name: debian
Mikhail Ivanovb2707e12017-04-10 17:19:30 +040016 regex: 'debian\/.*'
Filip Pytloun7af94b32017-03-14 18:38:52 +010017 - name: contrail
Mikhail Ivanovb2707e12017-04-10 17:19:30 +040018 regex: 'contrail\/.*'
Filip Pytloun7af94b32017-03-14 18:38:52 +010019 - name: salt-models
Mikhail Ivanovb2707e12017-04-10 17:19:30 +040020 regex: 'salt-models\/.*'
Filip Pytloun7af94b32017-03-14 18:38:52 +010021 - name: salt-formulas
Mikhail Ivanovb2707e12017-04-10 17:19:30 +040022 regex: 'salt-formulas\/.*'
23 - name: oss
24 regex: 'oss\/devops-portal'
Filip Pytloun7af94b32017-03-14 18:38:52 +010025 template:
26 discard:
27 build:
28 keep_num: 5
29 artifact:
30 keep_num: 5
31 type: workflow-scm
32 concurrent: true
33 scm:
34 type: git
35 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
36 credentials: "gerrit"
37 script: gating-pipeline.groovy
Jakub Josef62cf8612017-04-04 17:32:19 +020038 quiet_period: 60
Filip Pytloun7af94b32017-03-14 18:38:52 +010039 trigger:
40 gerrit:
41 project:
Mikhail Ivanovb2707e12017-04-10 17:19:30 +040042 '{{regex}}':
Jakub Josef1ce4b3a2017-03-15 12:17:59 +010043 compare_type: REG_EXP
44 branches:
Filip Pytloun7af94b32017-03-14 18:38:52 +010045 - master
46 skip_vote:
47 - successful
48 - failed
49 - unstable
50 - not_built
Jakub Josefcc40a062017-03-22 17:09:34 +010051 silent_start_mode: "true"
Filip Pytloun7af94b32017-03-14 18:38:52 +010052 event:
53 comment:
54 - added:
55 verdictCategory: 'Workflow'
56 commentAddedTriggerApprovalValue: '+1'
57 param:
58 JOBS_NAMESPACE:
59 type: string
60 default: "{{name}}"
Jakub Josef20e5cca2017-03-21 16:04:55 +010061 SKIP_TEST:
62 type: string
63 default: false
Filip Pytloun7af94b32017-03-14 18:38:52 +010064 CREDENTIALS_ID:
65 type: string
Mikhail Ivanovb2707e12017-04-10 17:19:30 +040066 default: "gerrit"