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_contrail_pipeline: "${_param:jenkins_gerrit_url}/contrail/contrail-pipeline" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 4 | jenkins: |
| 5 | client: |
| 6 | job_template: |
| 7 | build-opencontrail: |
| 8 | name: build-opencontrail-{{buildname}}-{{os}}-{{dist}} |
| 9 | jobs: |
| 10 | - buildname: oc303 |
| 11 | os: ubuntu |
| 12 | dist: trusty |
| 13 | branch: R3.0.3.x |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 14 | ppa: mirantis-opencontrail/opencontrail-3.0.3 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 15 | upload_source_package: false |
| 16 | - buildname: oc31 |
| 17 | os: ubuntu |
| 18 | dist: trusty |
| 19 | branch: R3.1 |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 20 | ppa: mirantis-opencontrail/opencontrail-3.1 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 21 | upload_source_package: true |
| 22 | - buildname: oc31 |
| 23 | os: ubuntu |
| 24 | dist: xenial |
| 25 | branch: R3.1 |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 26 | ppa: mirantis-opencontrail/opencontrail-3.1 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 27 | upload_source_package: true |
| 28 | - buildname: oc311 |
| 29 | os: ubuntu |
| 30 | dist: trusty |
| 31 | branch: R3.1.1.x |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 32 | ppa: mirantis-opencontrail/opencontrail-3.1.1 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 33 | upload_source_package: true |
| 34 | - buildname: oc311 |
| 35 | os: ubuntu |
| 36 | dist: xenial |
| 37 | branch: R3.1.1.x |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 38 | ppa: mirantis-opencontrail/opencontrail-3.1.1 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 39 | upload_source_package: true |
| 40 | - buildname: oc32 |
| 41 | os: ubuntu |
| 42 | dist: trusty |
| 43 | branch: R3.2 |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 44 | ppa: mirantis-opencontrail/opencontrail-3.2 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 45 | upload_source_package: true |
| 46 | - buildname: oc32 |
| 47 | os: ubuntu |
| 48 | dist: xenial |
| 49 | branch: R3.2 |
chnyda | 54af893 | 2017-03-20 10:34:51 +0100 | [diff] [blame] | 50 | ppa: mirantis-opencontrail/opencontrail-3.2 |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 51 | upload_source_package: true |
chnyda | 1ece519 | 2017-06-08 18:23:52 +0200 | [diff] [blame] | 52 | - buildname: oc323 |
| 53 | os: ubuntu |
| 54 | dist: trusty |
| 55 | branch: R3.2.3.x |
| 56 | ppa: mirantis-opencontrail/opencontrail-3.2.3 |
| 57 | upload_source_package: true |
| 58 | - buildname: oc323 |
| 59 | os: ubuntu |
| 60 | dist: xenial |
| 61 | branch: R3.2.3.x |
| 62 | ppa: mirantis-opencontrail/opencontrail-3.2.3 |
| 63 | upload_source_package: true |
chnyda | 2ad4b73 | 2017-05-09 10:28:45 +0200 | [diff] [blame] | 64 | - buildname: oc40 |
| 65 | os: ubuntu |
| 66 | dist: trusty |
| 67 | branch: R4.0 |
| 68 | ppa: mirantis-opencontrail/opencontrail-4.0 |
| 69 | upload_source_package: false |
| 70 | - buildname: oc40 |
| 71 | os: ubuntu |
| 72 | dist: xenial |
| 73 | branch: R4.0 |
| 74 | ppa: mirantis-opencontrail/opencontrail-4.0 |
| 75 | upload_source_package: false |
chnyda | 52e4e9b | 2017-04-18 14:58:24 +0200 | [diff] [blame] | 76 | - buildname: oc666 |
| 77 | os: ubuntu |
| 78 | dist: trusty |
| 79 | branch: master |
| 80 | ppa: mirantis-opencontrail/opencontrail-master |
| 81 | upload_source_package: false |
| 82 | - buildname: oc666 |
| 83 | os: ubuntu |
| 84 | dist: xenial |
| 85 | branch: master |
| 86 | ppa: mirantis-opencontrail/opencontrail-master |
| 87 | upload_source_package: false |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 88 | template: |
| 89 | discard: |
| 90 | build: |
| 91 | keep_num: 5 |
| 92 | artifact: |
| 93 | keep_num: 5 |
| 94 | type: workflow-scm |
chnyda | f67ca43 | 2017-04-07 15:47:23 +0200 | [diff] [blame] | 95 | concurrent: true |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 96 | quiet_period: 120 |
| 97 | scm: |
| 98 | type: git |
| 99 | url: "${_param:jenkins_contrail_pipeline}" |
| 100 | credentials: "gerrit" |
| 101 | github: |
| 102 | url: https://github.com/Mirantis/ccp-contrail-pipeline |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 103 | param: |
| 104 | APTLY_URL: |
| 105 | type: string |
| 106 | default: "${_param:jenkins_aptly_api_url}" |
| 107 | APTLY_REPO: |
| 108 | type: string |
| 109 | default: "{{os}}-{{dist}}-{{buildname}}" |
| 110 | SOURCE_URL: |
| 111 | type: string |
| 112 | default: "${_param:jenkins_gerrit_url}/contrail" |
| 113 | SOURCE_BRANCH: |
| 114 | type: string |
| 115 | default: "{{branch}}" |
| 116 | SOURCE_CREDENTIALS: |
| 117 | type: string |
| 118 | default: "gerrit" |
| 119 | KEEP_REPOS: |
| 120 | type: boolean |
| 121 | default: 'false' |
| 122 | description: "Don't cleanup on failure" |
chnyda | dbef8ed | 2017-04-04 13:40:42 +0200 | [diff] [blame] | 123 | DEBUG_DPDK: |
| 124 | type: boolean |
| 125 | default: 'false' |
| 126 | description: "CONFIG_RTE_LIBRTE_ETHDEV_DEBUG enabled or disabled" |
Filip Pytloun | 7af94b3 | 2017-03-14 18:38:52 +0100 | [diff] [blame] | 127 | OS: |
| 128 | type: string |
| 129 | default: "{{os}}" |
| 130 | DIST: |
| 131 | type: string |
| 132 | default: "{{dist}}" |
| 133 | ARCH: |
| 134 | type: string |
| 135 | default: "amd64" |
| 136 | PPA: |
| 137 | type: string |
| 138 | default: "{{ppa}}" |
| 139 | UPLOAD_SOURCE_PACKAGE: |
| 140 | type: boolean |
| 141 | default: '{{upload_source_package}}' |
chnyda | fc990de | 2017-04-06 11:35:17 +0200 | [diff] [blame] | 142 | trigger: |
| 143 | gerrit: |
| 144 | project: |
chnyda | 41bd315 | 2017-04-11 16:55:29 +0200 | [diff] [blame] | 145 | contrail/contrail-pipeline: |
| 146 | branches: |
| 147 | - "{{branch}}" |
| 148 | contrail/contrail-build: |
| 149 | branches: |
| 150 | - "{{branch}}" |
| 151 | contrail/contrail-controller: |
| 152 | branches: |
| 153 | - "{{branch}}" |
| 154 | contrail/contrail-vrouter: |
| 155 | branches: |
| 156 | - "{{branch}}" |
| 157 | contrail/contrail-third-party: |
| 158 | branches: |
| 159 | - "{{branch}}" |
| 160 | contrail/contrail-generateDS: |
| 161 | branches: |
| 162 | - "{{branch}}" |
| 163 | contrail/contrail-sandesh: |
| 164 | branches: |
| 165 | - "{{branch}}" |
| 166 | contrail/contrail-packages: |
| 167 | branches: |
| 168 | - "{{branch}}" |
| 169 | contrail/contrail-nova-vif-driver: |
| 170 | branches: |
| 171 | - "{{branch}}" |
| 172 | contrail/contrail-neutron-plugin: |
| 173 | branches: |
| 174 | - "{{branch}}" |
| 175 | contrail/contrail-nova-extensions: |
| 176 | branches: |
| 177 | - "{{branch}}" |
| 178 | contrail/contrail-heat: |
| 179 | branches: |
| 180 | - "{{branch}}" |
| 181 | contrail/contrail-web-storage: |
| 182 | branches: |
| 183 | - "{{branch}}" |
| 184 | contrail/contrail-web-server-manager: |
| 185 | branches: |
| 186 | - "{{branch}}" |
| 187 | contrail/contrail-web-controller: |
| 188 | branches: |
| 189 | - "{{branch}}" |
| 190 | contrail/contrail-web-core: |
| 191 | branches: |
| 192 | - "{{branch}}" |
| 193 | contrail/contrail-webui-third-party: |
| 194 | branches: |
| 195 | - "{{branch}}" |
chnyda | fc990de | 2017-04-06 11:35:17 +0200 | [diff] [blame] | 196 | event: |
| 197 | comment: |
| 198 | - addedContains: |
| 199 | commentAddedCommentContains: '(buildpackage)' |