Filip Pytloun | 217e784 | 2017-03-14 19:58:41 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | jenkins: |
| 3 | client: |
| 4 | job_template: |
| 5 | git_mirror_upstream_common: |
| 6 | name: git-mirror-upstream-{{name}} |
| 7 | jobs: |
| 8 | - name: pipeline-library |
| 9 | downstream: mcp-ci/pipeline-library.git |
| 10 | upstream: "git@github.com:Mirantis/pipeline-library.git" |
| 11 | branches: master |
Filip Pytloun | 9795424 | 2017-03-15 08:24:38 +0100 | [diff] [blame] | 12 | - name: mk-pipelines |
| 13 | downstream: mk/mk-pipelines.git |
| 14 | upstream: "git@github.com:Mirantis/mk-pipelines.git" |
| 15 | branches: master |
Filip Pytloun | 217e784 | 2017-03-14 19:58:41 +0100 | [diff] [blame] | 16 | template: |
| 17 | discard: |
| 18 | build: |
| 19 | keep_num: 10 |
| 20 | artifact: |
| 21 | keep_num: 10 |
| 22 | type: workflow-scm |
| 23 | concurrent: false |
| 24 | scm: |
| 25 | type: git |
| 26 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 27 | credentials: "gerrit" |
| 28 | script: git-mirror-pipeline.groovy |
| 29 | trigger: |
| 30 | gerrit: |
| 31 | project: |
Filip Pytloun | fefa7b6 | 2017-03-14 20:04:59 +0100 | [diff] [blame] | 32 | "{{downstream}}": |
Filip Pytloun | 217e784 | 2017-03-14 19:58:41 +0100 | [diff] [blame] | 33 | branches: |
| 34 | - master |
| 35 | message: |
| 36 | build_successful: "Build successful" |
| 37 | build_unstable: "Build unstable" |
| 38 | build_failure: "Build failed" |
| 39 | event: |
| 40 | ref: |
| 41 | - updated |
| 42 | param: |
| 43 | SOURCE_URL: |
| 44 | type: string |
| 45 | default: "${_param:jenkins_gerrit_url}/{{downstream}}" |
| 46 | TARGET_URL: |
| 47 | type: string |
| 48 | default: "{{upstream}}" |
| 49 | CREDENTIALS_ID: |
| 50 | type: string |
| 51 | default: "gerrit" |
| 52 | BRANCHES: |
| 53 | type: string |
| 54 | default: "{{branches}}" |