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_template: |
| 7 | git-mirror: |
| 8 | name: git-mirror-{{name}} |
| 9 | jobs: |
| 10 | - name: contrail-build |
Jakub Josef | 19de575 | 2017-04-12 23:50:01 +0200 | [diff] [blame] | 11 | branches: ${_param:contrail_branches} |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 12 | - name: contrail-controller |
Jakub Josef | 19de575 | 2017-04-12 23:50:01 +0200 | [diff] [blame] | 13 | branches: ${_param:contrail_branches} |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 14 | - name: contrail-vrouter |
Jakub Josef | 19de575 | 2017-04-12 23:50:01 +0200 | [diff] [blame] | 15 | branches: ${_param:contrail_branches} |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 16 | - name: contrail-third-party |
Jakub Josef | 19de575 | 2017-04-12 23:50:01 +0200 | [diff] [blame] | 17 | branches: ${_param:contrail_branches} |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 18 | - name: contrail-generateDS |
Jakub Josef | 19de575 | 2017-04-12 23:50:01 +0200 | [diff] [blame] | 19 | branches: ${_param:contrail_branches} |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 20 | - name: contrail-sandesh |
Jakub Josef | 19de575 | 2017-04-12 23:50:01 +0200 | [diff] [blame] | 21 | branches: ${_param:contrail_branches} |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 22 | - name: contrail-packages |
Jakub Josef | 19de575 | 2017-04-12 23:50:01 +0200 | [diff] [blame] | 23 | branches: ${_param:contrail_branches} |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 24 | - name: contrail-nova-vif-driver |
Jakub Josef | 19de575 | 2017-04-12 23:50:01 +0200 | [diff] [blame] | 25 | branches: ${_param:contrail_branches} |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 26 | - name: contrail-neutron-plugin |
Jakub Josef | 19de575 | 2017-04-12 23:50:01 +0200 | [diff] [blame] | 27 | branches: ${_param:contrail_branches} |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 28 | - name: contrail-nova-extensions |
Jakub Josef | 19de575 | 2017-04-12 23:50:01 +0200 | [diff] [blame] | 29 | branches: ${_param:contrail_branches} |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 30 | - name: contrail-ceilometer-plugin |
Jakub Josef | 19de575 | 2017-04-12 23:50:01 +0200 | [diff] [blame] | 31 | branches: ${_param:contrail_ceilometer_plugin_branches} |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 32 | - name: contrail-heat |
Jakub Josef | 19de575 | 2017-04-12 23:50:01 +0200 | [diff] [blame] | 33 | branches: ${_param:contrail_branches} |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 34 | - name: contrail-web-storage |
Jakub Josef | 19de575 | 2017-04-12 23:50:01 +0200 | [diff] [blame] | 35 | branches: ${_param:contrail_branches} |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 36 | - name: contrail-web-server-manager |
Jakub Josef | 19de575 | 2017-04-12 23:50:01 +0200 | [diff] [blame] | 37 | branches: ${_param:contrail_branches} |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 38 | - name: contrail-web-controller |
Jakub Josef | 19de575 | 2017-04-12 23:50:01 +0200 | [diff] [blame] | 39 | branches: ${_param:contrail_branches} |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 40 | - name: contrail-web-core |
Jakub Josef | 19de575 | 2017-04-12 23:50:01 +0200 | [diff] [blame] | 41 | branches: ${_param:contrail_branches} |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 42 | - name: contrail-webui-third-party |
Jakub Josef | 19de575 | 2017-04-12 23:50:01 +0200 | [diff] [blame] | 43 | branches: ${_param:contrail_branches} |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 44 | - name: contrail-dpdk-extra-packages |
Jakub Josef | 19de575 | 2017-04-12 23:50:01 +0200 | [diff] [blame] | 45 | branches: ${_param:contrail_dpdk_extra_branches} |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 46 | - name: contrail-kubernetes |
Jakub Josef | 19de575 | 2017-04-12 23:50:01 +0200 | [diff] [blame] | 47 | branches: ${_param:contrail_kubernetes_branches} |
chnyda | cb9ca9a | 2017-04-26 15:55:19 +0200 | [diff] [blame] | 48 | - name: contrail-dpdk |
| 49 | branches: ${_param:contrail_dpdk_branches} |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 50 | template: |
| 51 | discard: |
| 52 | build: |
| 53 | keep_num: 10 |
| 54 | artifact: |
| 55 | keep_num: 10 |
| 56 | type: workflow-scm |
| 57 | concurrent: false |
| 58 | scm: |
| 59 | type: git |
| 60 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 61 | branch: "${_param:jenkins_pipelines_branch}" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 62 | credentials: "gerrit" |
| 63 | script: git-mirror-pipeline.groovy |
| 64 | github: |
| 65 | url: "https://github.com/Juniper/{{name}}" |
| 66 | trigger: |
| 67 | github: |
| 68 | pollscm: |
| 69 | spec: ${_param:jenkins_pollscm_spec} |
| 70 | param: |
| 71 | SOURCE_URL: |
| 72 | type: string |
| 73 | default: "https://github.com/Juniper/{{name}}.git" |
| 74 | TARGET_URL: |
| 75 | type: string |
| 76 | default: "${_param:jenkins_gerrit_url}/contrail/{{name}}.git" |
| 77 | CREDENTIALS_ID: |
| 78 | type: string |
| 79 | default: "gerrit" |
| 80 | BRANCHES: |
| 81 | type: string |
Jakub Josef | 19de575 | 2017-04-12 23:50:01 +0200 | [diff] [blame] | 82 | default: "{{branches}}" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 83 | job: |
| 84 | git-mirror-ifmap-python-client: |
| 85 | discard: |
| 86 | build: |
| 87 | keep_num: 10 |
| 88 | artifact: |
| 89 | keep_num: 10 |
| 90 | type: workflow-scm |
| 91 | concurrent: false |
| 92 | scm: |
| 93 | type: git |
| 94 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
Jakub Josef | 7938b53 | 2017-12-12 18:02:03 +0100 | [diff] [blame] | 95 | branch: "${_param:jenkins_pipelines_branch}" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 96 | credentials: "gerrit" |
| 97 | script: git-mirror-pipeline.groovy |
| 98 | github: |
| 99 | url: "https://github.com/tcpcloud/ifmap-python-client" |
| 100 | trigger: |
| 101 | github: |
| 102 | pollscm: |
| 103 | spec: ${_param:jenkins_pollscm_spec} |
| 104 | param: |
| 105 | SOURCE_URL: |
| 106 | type: string |
| 107 | default: "https://github.com/tcpcloud/ifmap-python-client.git" |
| 108 | TARGET_URL: |
| 109 | type: string |
| 110 | default: "${_param:jenkins_gerrit_url}/contrail/ifmap-python-client.git" |
| 111 | CREDENTIALS_ID: |
| 112 | type: string |
| 113 | default: "gerrit" |
| 114 | BRANCHES: |
| 115 | type: string |
| 116 | default: "master" |