Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 1 | parameters: |
Filip Pytloun | a83bbee | 2017-03-15 18:13:59 +0100 | [diff] [blame] | 2 | _param: |
| 3 | jenkins_pollscm_spec: "H/60 * * * *" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 4 | jenkins: |
| 5 | client: |
| 6 | job: |
| 7 | git-mirror-2way-contrail-kubernetes: |
| 8 | type: workflow-scm |
| 9 | concurrent: false |
| 10 | scm: |
| 11 | type: git |
| 12 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 13 | credentials: "gerrit" |
| 14 | script: git-mirror-2way-pipeline.groovy |
| 15 | github: |
| 16 | url: "https://github.com/Mirantis/contrail-kubernetes" |
| 17 | trigger: |
| 18 | github: |
| 19 | pollscm: |
| 20 | spec: ${_param:jenkins_pollscm_spec} |
| 21 | param: |
| 22 | SOURCE_URL: |
| 23 | type: string |
| 24 | default: "${_param:jenkins_gerrit_url}/contrail/contrail-kubernetes.git" |
| 25 | TARGET_URL: |
| 26 | type: string |
| 27 | default: "https://github.com/Mirantis/contrail-kubernetes.git" |
| 28 | CREDENTIALS_ID: |
| 29 | type: string |
| 30 | default: "gerrit" |
| 31 | BRANCHES: |
| 32 | type: string |
| 33 | default: ${_param:contrail_kubernetes_branches} |