blob: e8257396b7338276f6fe1a8760db0f001872943a [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
14 - name: debian
15 - name: contrail
16 - name: salt-models
17 - name: salt-formulas
18 template:
19 discard:
20 build:
21 keep_num: 5
22 artifact:
23 keep_num: 5
24 type: workflow-scm
25 concurrent: true
26 scm:
27 type: git
28 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
29 credentials: "gerrit"
30 script: gating-pipeline.groovy
Jakub Josef62cf8612017-04-04 17:32:19 +020031 quiet_period: 60
Filip Pytloun7af94b32017-03-14 18:38:52 +010032 trigger:
33 gerrit:
34 project:
35 '{{name}}\/.*':
Jakub Josef1ce4b3a2017-03-15 12:17:59 +010036 compare_type: REG_EXP
37 branches:
Filip Pytloun7af94b32017-03-14 18:38:52 +010038 - master
39 skip_vote:
40 - successful
41 - failed
42 - unstable
43 - not_built
Jakub Josefcc40a062017-03-22 17:09:34 +010044 silent_start_mode: "true"
Filip Pytloun7af94b32017-03-14 18:38:52 +010045 event:
46 comment:
47 - added:
48 verdictCategory: 'Workflow'
49 commentAddedTriggerApprovalValue: '+1'
50 param:
51 JOBS_NAMESPACE:
52 type: string
53 default: "{{name}}"
Jakub Josef20e5cca2017-03-21 16:04:55 +010054 SKIP_TEST:
55 type: string
56 default: false
Filip Pytloun7af94b32017-03-14 18:38:52 +010057 CREDENTIALS_ID:
58 type: string
59 default: "gerrit"