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