Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 1 | parameters: |
2 | jenkins: | ||||
3 | client: | ||||
Jakub Josef | 9ab3144 | 2017-04-05 14:02:59 +0200 | [diff] [blame] | 4 | view: |
5 | Gating: | ||||
6 | enabled: true | ||||
7 | type: ListView | ||||
8 | include_regex: "gate-.*" | ||||
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 9 | job_template: |
10 | gate-gerrit-namespace: | ||||
11 | name: gate-gerrit-{{name}} | ||||
12 | jobs: | ||||
13 | - name: mk | ||||
Mikhail Ivanov | b2707e1 | 2017-04-10 17:19:30 +0400 | [diff] [blame] | 14 | regex: 'mk\/.*' |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 15 | - name: debian |
Mikhail Ivanov | b2707e1 | 2017-04-10 17:19:30 +0400 | [diff] [blame] | 16 | regex: 'debian\/.*' |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 17 | - name: contrail |
Mikhail Ivanov | b2707e1 | 2017-04-10 17:19:30 +0400 | [diff] [blame] | 18 | regex: 'contrail\/.*' |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 19 | - name: salt-models |
Mikhail Ivanov | b2707e1 | 2017-04-10 17:19:30 +0400 | [diff] [blame] | 20 | regex: 'salt-models\/.*' |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 21 | - name: salt-formulas |
Mikhail Ivanov | b2707e1 | 2017-04-10 17:19:30 +0400 | [diff] [blame] | 22 | regex: 'salt-formulas\/.*' |
23 | - name: oss | ||||
24 | regex: 'oss\/devops-portal' | ||||
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 25 | template: |
26 | discard: | ||||
27 | build: | ||||
Jakub Josef | 0d2c9c0 | 2018-02-08 16:51:45 +0100 | [diff] [blame] | 28 | keep_num: 150 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 29 | artifact: |
Jakub Josef | 0d2c9c0 | 2018-02-08 16:51:45 +0100 | [diff] [blame] | 30 | keep_num: 150 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 31 | type: workflow-scm |
32 | concurrent: true | ||||
33 | scm: | ||||
34 | type: git | ||||
35 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" | ||||
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 36 | branch: "${_param:jenkins_pipelines_branch}" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 37 | credentials: "gerrit" |
38 | script: gating-pipeline.groovy | ||||
Jakub Josef | 62cf861 | 2017-04-04 17:32:19 +0200 | [diff] [blame] | 39 | quiet_period: 60 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 40 | trigger: |
41 | gerrit: | ||||
42 | project: | ||||
Mikhail Ivanov | b2707e1 | 2017-04-10 17:19:30 +0400 | [diff] [blame] | 43 | '{{regex}}': |
Jakub Josef | 1ce4b3a | 2017-03-15 12:17:59 +0100 | [diff] [blame] | 44 | compare_type: REG_EXP |
45 | branches: | ||||
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 46 | - master |
47 | skip_vote: | ||||
48 | - successful | ||||
49 | - failed | ||||
50 | - unstable | ||||
51 | - not_built | ||||
52 | event: | ||||
53 | comment: | ||||
54 | - added: | ||||
55 | verdictCategory: 'Workflow' | ||||
56 | commentAddedTriggerApprovalValue: '+1' | ||||
57 | param: | ||||
58 | JOBS_NAMESPACE: | ||||
59 | type: string | ||||
60 | default: "{{name}}" | ||||
Jakub Josef | 20e5cca | 2017-03-21 16:04:55 +0100 | [diff] [blame] | 61 | SKIP_TEST: |
62 | type: string | ||||
63 | default: false | ||||
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 64 | CREDENTIALS_ID: |
65 | type: string | ||||
Mikhail Ivanov | b2707e1 | 2017-04-10 17:19:30 +0400 | [diff] [blame] | 66 | default: "gerrit" |