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 |
| 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 Josef | 62cf861 | 2017-04-04 17:32:19 +0200 | [diff] [blame] | 31 | quiet_period: 60 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 32 | trigger: |
| 33 | gerrit: |
| 34 | project: |
| 35 | '{{name}}\/.*': |
Jakub Josef | 1ce4b3a | 2017-03-15 12:17:59 +0100 | [diff] [blame] | 36 | compare_type: REG_EXP |
| 37 | branches: |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 38 | - master |
| 39 | skip_vote: |
| 40 | - successful |
| 41 | - failed |
| 42 | - unstable |
| 43 | - not_built |
Jakub Josef | cc40a06 | 2017-03-22 17:09:34 +0100 | [diff] [blame] | 44 | silent_start_mode: "true" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 45 | event: |
| 46 | comment: |
| 47 | - added: |
| 48 | verdictCategory: 'Workflow' |
| 49 | commentAddedTriggerApprovalValue: '+1' |
| 50 | param: |
| 51 | JOBS_NAMESPACE: |
| 52 | type: string |
| 53 | default: "{{name}}" |
Jakub Josef | 20e5cca | 2017-03-21 16:04:55 +0100 | [diff] [blame] | 54 | SKIP_TEST: |
| 55 | type: string |
| 56 | default: false |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 57 | CREDENTIALS_ID: |
| 58 | type: string |
| 59 | default: "gerrit" |