Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame^] | 1 | parameters: |
| 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}}\/.*': |
| 30 | compare_type: REG_EXP |
| 31 | branches: |
| 32 | - 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" |