Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 1 | classes: |
Filip Pytloun | 63b0ee4 | 2017-03-14 19:20:38 +0100 | [diff] [blame] | 2 | - system.jenkins.client.job.common |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 3 | parameters: |
| 4 | jenkins: |
| 5 | client: |
| 6 | job_template: |
| 7 | git-mirror-upstream: |
| 8 | name: git-mirror-upstream-{{name}} |
| 9 | jobs: |
| 10 | - name: contrail-build |
| 11 | branches: ${_param:contrail_branches} |
| 12 | - name: contrail-controller |
| 13 | branches: ${_param:contrail_branches} |
| 14 | - name: contrail-vrouter |
| 15 | branches: ${_param:contrail_branches} |
| 16 | - name: contrail-third-party |
| 17 | branches: ${_param:contrail_branches} |
| 18 | - name: contrail-generateDS |
| 19 | branches: ${_param:contrail_branches} |
| 20 | - name: contrail-sandesh |
| 21 | branches: ${_param:contrail_branches} |
| 22 | - name: contrail-packages |
| 23 | branches: ${_param:contrail_branches} |
| 24 | - name: contrail-nova-vif-driver |
| 25 | branches: ${_param:contrail_branches} |
| 26 | - name: contrail-neutron-plugin |
| 27 | branches: ${_param:contrail_branches} |
| 28 | - name: contrail-nova-extensions |
| 29 | branches: ${_param:contrail_branches} |
| 30 | - name: contrail-ceilometer-plugin |
| 31 | branches: ${_param:contrail_ceilometer_plugin_branches} |
| 32 | - name: contrail-heat |
| 33 | branches: ${_param:contrail_branches} |
| 34 | - name: contrail-web-storage |
| 35 | branches: ${_param:contrail_branches} |
| 36 | - name: contrail-web-server-manager |
| 37 | branches: ${_param:contrail_branches} |
| 38 | - name: contrail-web-controller |
| 39 | branches: ${_param:contrail_branches} |
| 40 | - name: contrail-web-core |
| 41 | branches: ${_param:contrail_branches} |
| 42 | - name: contrail-webui-third-party |
| 43 | branches: ${_param:contrail_branches} |
| 44 | - name: contrail-dpdk-extra-packages |
| 45 | branches: ${_param:contrail_dpdk_extra_branches} |
| 46 | template: |
| 47 | discard: |
| 48 | build: |
| 49 | keep_num: 10 |
| 50 | artifact: |
| 51 | keep_num: 10 |
| 52 | type: workflow-scm |
| 53 | concurrent: false |
| 54 | scm: |
| 55 | type: git |
| 56 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 57 | credentials: "gerrit" |
| 58 | script: git-mirror-pipeline.groovy |
| 59 | github: |
| 60 | url: "https://github.com/Mirantis/{{name}}" |
| 61 | trigger: |
| 62 | github: |
| 63 | param: |
| 64 | SOURCE_URL: |
| 65 | type: string |
| 66 | default: "${_param:jenkins_gerrit_url}/contrail/{{name}}.git" |
| 67 | TARGET_URL: |
| 68 | type: string |
| 69 | default: "git@github.com:Mirantis/{{name}}.git" |
| 70 | CREDENTIALS_ID: |
| 71 | type: string |
| 72 | default: "gerrit" |
| 73 | BRANCHES: |
| 74 | type: string |
| 75 | default: "{{branches}}" |
| 76 | job: |
| 77 | git-mirror-upstream-ifmap-python-client: |
| 78 | discard: |
| 79 | build: |
| 80 | keep_num: 10 |
| 81 | artifact: |
| 82 | keep_num: 10 |
| 83 | type: workflow-scm |
| 84 | concurrent: false |
| 85 | scm: |
| 86 | type: git |
| 87 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 88 | credentials: "gerrit" |
| 89 | script: git-mirror-pipeline.groovy |
| 90 | github: |
| 91 | url: "https://github.com/tcpcloud/ifmap-python-client" |
| 92 | param: |
| 93 | SOURCE_URL: |
| 94 | type: string |
| 95 | default: "${_param:jenkins_gerrit_url}/contrail/ifmap-python-client.git" |
| 96 | TARGET_URL: |
| 97 | type: string |
| 98 | default: "git@github.com:Mirantis/ifmap-python-client.git" |
| 99 | CREDENTIALS_ID: |
| 100 | type: string |
| 101 | default: "gerrit" |
| 102 | BRANCHES: |
| 103 | type: string |
| 104 | default: "master" |
| 105 | # XXX: this one ccp- prefixed is kind-of obsolete and should be |
| 106 | # removed |
| 107 | git-mirror-upstream-ccp-contrail-pipeline: |
| 108 | discard: |
| 109 | build: |
| 110 | keep_num: 10 |
| 111 | artifact: |
| 112 | keep_num: 10 |
| 113 | type: workflow-scm |
| 114 | concurrent: false |
| 115 | scm: |
| 116 | type: git |
| 117 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 118 | credentials: "gerrit" |
| 119 | script: git-mirror-pipeline.groovy |
| 120 | github: |
| 121 | url: https://github.com/Mirantis/ccp-contrail-pipeline |
| 122 | trigger: |
| 123 | gerrit: |
| 124 | project: |
| 125 | contrail/contrail-pipeline: |
| 126 | branches: |
| 127 | - master |
| 128 | message: |
| 129 | build_successful: "Build successful" |
| 130 | build_unstable: "Build unstable" |
| 131 | build_failure: "Build failed" |
| 132 | event: |
| 133 | ref: |
| 134 | - updated |
| 135 | param: |
| 136 | SOURCE_URL: |
| 137 | type: string |
| 138 | default: "${_param:jenkins_contrail_pipeline}" |
| 139 | TARGET_URL: |
| 140 | type: string |
| 141 | default: "git@github.com:Mirantis/ccp-contrail-pipeline.git" |
| 142 | CREDENTIALS_ID: |
| 143 | type: string |
| 144 | default: "gerrit" |
| 145 | BRANCHES: |
| 146 | type: string |
| 147 | default: master |
| 148 | git-mirror-upstream-contrail-pipeline: |
| 149 | discard: |
| 150 | build: |
| 151 | keep_num: 10 |
| 152 | artifact: |
| 153 | keep_num: 10 |
| 154 | type: workflow-scm |
| 155 | concurrent: false |
| 156 | scm: |
| 157 | type: git |
| 158 | url: "${_param:jenkins_gerrit_url}/mk/mk-pipelines" |
| 159 | credentials: "gerrit" |
| 160 | script: git-mirror-pipeline.groovy |
| 161 | github: |
| 162 | url: https://github.com/Mirantis/contrail-pipeline |
| 163 | trigger: |
| 164 | gerrit: |
| 165 | project: |
| 166 | contrail/contrail-pipeline: |
| 167 | branches: |
| 168 | - master |
| 169 | message: |
| 170 | build_successful: "Build successful" |
| 171 | build_unstable: "Build unstable" |
| 172 | build_failure: "Build failed" |
| 173 | event: |
| 174 | ref: |
| 175 | - updated |
| 176 | param: |
| 177 | SOURCE_URL: |
| 178 | type: string |
| 179 | default: "${_param:jenkins_contrail_pipeline}" |
| 180 | TARGET_URL: |
| 181 | type: string |
| 182 | default: "git@github.com:Mirantis/contrail-pipeline.git" |
| 183 | CREDENTIALS_ID: |
| 184 | type: string |
| 185 | default: "gerrit" |
| 186 | BRANCHES: |
| 187 | type: string |
| 188 | default: master |