blob: 357bc8ea13042f744ea80e619944546870d94888 [file] [log] [blame]
Filip Pytloun7af94b32017-03-14 18:38:52 +01001parameters:
2 jenkins:
3 client:
4 job_template:
5 gate-gerrit-namespace:
6 name: gate-gerrit-{{name}}
7 jobs:
8 - name: mk
9 - name: debian
10 - name: contrail
11 - name: salt-models
12 - name: salt-formulas
13 template:
14 discard:
15 build:
16 keep_num: 5
17 artifact:
18 keep_num: 5
19 type: workflow-scm
20 concurrent: true
21 scm:
22 type: git
23 url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines"
24 credentials: "gerrit"
25 script: gating-pipeline.groovy
26 trigger:
27 gerrit:
28 project:
29 '{{name}}\/.*':
Jakub Josef1ce4b3a2017-03-15 12:17:59 +010030 compare_type: REG_EXP
31 branches:
Filip Pytloun7af94b32017-03-14 18:38:52 +010032 - master
33 skip_vote:
34 - successful
35 - failed
36 - unstable
37 - not_built
38 event:
39 comment:
40 - added:
41 verdictCategory: 'Workflow'
42 commentAddedTriggerApprovalValue: '+1'
43 param:
44 JOBS_NAMESPACE:
45 type: string
46 default: "{{name}}"
47 CREDENTIALS_ID:
48 type: string
49 default: "gerrit"