blob: 387db35da1227cfe8ccb20f682bc0560f8fdbe8a [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
Jakub Josefcc40a062017-03-22 17:09:34 +010038 silent_start_mode: "true"
Filip Pytloun7af94b32017-03-14 18:38:52 +010039 event:
40 comment:
41 - added:
42 verdictCategory: 'Workflow'
43 commentAddedTriggerApprovalValue: '+1'
44 param:
45 JOBS_NAMESPACE:
46 type: string
47 default: "{{name}}"
Jakub Josef20e5cca2017-03-21 16:04:55 +010048 SKIP_TEST:
49 type: string
50 default: false
Filip Pytloun7af94b32017-03-14 18:38:52 +010051 CREDENTIALS_ID:
52 type: string
53 default: "gerrit"