blob: d781ac08e2f008f9f7a14b443a9461fe6efd8ba2 [file] [log] [blame]
Filip Pytloun7af94b32017-03-14 18:38:52 +01001parameters:
Filip Pytlouna83bbee2017-03-15 18:13:59 +01002 _param:
3 jenkins_contrail_pipeline: "${_param:jenkins_gerrit_url}/contrail/contrail-pipeline"
Filip Pytloun7af94b32017-03-14 18:38:52 +01004 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
chnyda54af8932017-03-20 10:34:51 +010014 ppa: mirantis-opencontrail/opencontrail-3.0.3
Filip Pytloun7af94b32017-03-14 18:38:52 +010015 upload_source_package: false
chnyda063bf3d2017-07-20 10:57:56 +020016 dpdk: contrail_dpdk_2_1
Filip Pytloun7af94b32017-03-14 18:38:52 +010017 - buildname: oc31
18 os: ubuntu
19 dist: trusty
20 branch: R3.1
chnyda54af8932017-03-20 10:34:51 +010021 ppa: mirantis-opencontrail/opencontrail-3.1
Filip Pytloun7af94b32017-03-14 18:38:52 +010022 upload_source_package: true
chnyda063bf3d2017-07-20 10:57:56 +020023 dpdk: contrail_dpdk_2_1
Filip Pytloun7af94b32017-03-14 18:38:52 +010024 - buildname: oc31
25 os: ubuntu
26 dist: xenial
27 branch: R3.1
chnyda54af8932017-03-20 10:34:51 +010028 ppa: mirantis-opencontrail/opencontrail-3.1
Filip Pytloun7af94b32017-03-14 18:38:52 +010029 upload_source_package: true
chnyda063bf3d2017-07-20 10:57:56 +020030 dpdk: contrail_dpdk_2_1
Filip Pytloun7af94b32017-03-14 18:38:52 +010031 - buildname: oc311
32 os: ubuntu
33 dist: trusty
34 branch: R3.1.1.x
chnyda54af8932017-03-20 10:34:51 +010035 ppa: mirantis-opencontrail/opencontrail-3.1.1
Filip Pytloun7af94b32017-03-14 18:38:52 +010036 upload_source_package: true
chnyda063bf3d2017-07-20 10:57:56 +020037 dpdk: contrail_dpdk_2_1
Filip Pytloun7af94b32017-03-14 18:38:52 +010038 - buildname: oc311
39 os: ubuntu
40 dist: xenial
41 branch: R3.1.1.x
chnyda54af8932017-03-20 10:34:51 +010042 ppa: mirantis-opencontrail/opencontrail-3.1.1
Filip Pytloun7af94b32017-03-14 18:38:52 +010043 upload_source_package: true
chnyda063bf3d2017-07-20 10:57:56 +020044 dpdk: contrail_dpdk_2_1
Filip Pytloun7af94b32017-03-14 18:38:52 +010045 - buildname: oc32
46 os: ubuntu
47 dist: trusty
48 branch: R3.2
chnyda54af8932017-03-20 10:34:51 +010049 ppa: mirantis-opencontrail/opencontrail-3.2
Filip Pytloun7af94b32017-03-14 18:38:52 +010050 upload_source_package: true
chnyda063bf3d2017-07-20 10:57:56 +020051 dpdk: contrail_dpdk_2_1
Filip Pytloun7af94b32017-03-14 18:38:52 +010052 - buildname: oc32
53 os: ubuntu
54 dist: xenial
55 branch: R3.2
chnyda54af8932017-03-20 10:34:51 +010056 ppa: mirantis-opencontrail/opencontrail-3.2
Filip Pytloun7af94b32017-03-14 18:38:52 +010057 upload_source_package: true
chnyda063bf3d2017-07-20 10:57:56 +020058 dpdk: contrail_dpdk_2_1
chnyda1ece5192017-06-08 18:23:52 +020059 - buildname: oc323
60 os: ubuntu
61 dist: trusty
62 branch: R3.2.3.x
63 ppa: mirantis-opencontrail/opencontrail-3.2.3
64 upload_source_package: true
chnyda063bf3d2017-07-20 10:57:56 +020065 dpdk: contrail_dpdk_2_1
chnyda1ece5192017-06-08 18:23:52 +020066 - buildname: oc323
67 os: ubuntu
68 dist: xenial
69 branch: R3.2.3.x
70 ppa: mirantis-opencontrail/opencontrail-3.2.3
71 upload_source_package: true
chnyda063bf3d2017-07-20 10:57:56 +020072 dpdk: contrail_dpdk_2_1
chnyda2ad4b732017-05-09 10:28:45 +020073 - buildname: oc40
74 os: ubuntu
75 dist: trusty
76 branch: R4.0
77 ppa: mirantis-opencontrail/opencontrail-4.0
chnyda063bf3d2017-07-20 10:57:56 +020078 upload_source_package: true
79 dpdk: contrail_dpdk_2_1
chnyda2ad4b732017-05-09 10:28:45 +020080 - buildname: oc40
81 os: ubuntu
82 dist: xenial
83 branch: R4.0
84 ppa: mirantis-opencontrail/opencontrail-4.0
chnyda063bf3d2017-07-20 10:57:56 +020085 upload_source_package: true
86 dpdk: contrail_dpdk_2_1
87 - buildname: oc40-dpdk-17-02
88 os: ubuntu
89 dist: trusty
90 branch: R4.0
91 ppa: mirantis-opencontrail/opencontrail-4.0-dpdk-17-02
chnyda2ad4b732017-05-09 10:28:45 +020092 upload_source_package: false
chnyda063bf3d2017-07-20 10:57:56 +020093 dpdk: contrail_dpdk_17_02
94 - buildname: oc40-dpdk-17-02
95 os: ubuntu
96 dist: xenial
97 branch: R4.0
98 ppa: mirantis-opencontrail/opencontrail-4.0-dpdk-17-02
99 upload_source_package: false
100 dpdk: contrail_dpdk_17_02
chnyda52e4e9b2017-04-18 14:58:24 +0200101 - buildname: oc666
102 os: ubuntu
103 dist: trusty
104 branch: master
105 ppa: mirantis-opencontrail/opencontrail-master
106 upload_source_package: false
107 - buildname: oc666
108 os: ubuntu
109 dist: xenial
110 branch: master
111 ppa: mirantis-opencontrail/opencontrail-master
112 upload_source_package: false
Filip Pytloun7af94b32017-03-14 18:38:52 +0100113 template:
114 discard:
115 build:
116 keep_num: 5
117 artifact:
118 keep_num: 5
119 type: workflow-scm
chnydaf67ca432017-04-07 15:47:23 +0200120 concurrent: true
Filip Pytloun7af94b32017-03-14 18:38:52 +0100121 quiet_period: 120
122 scm:
123 type: git
124 url: "${_param:jenkins_contrail_pipeline}"
125 credentials: "gerrit"
126 github:
127 url: https://github.com/Mirantis/ccp-contrail-pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +0100128 param:
129 APTLY_URL:
130 type: string
131 default: "${_param:jenkins_aptly_api_url}"
132 APTLY_REPO:
133 type: string
134 default: "{{os}}-{{dist}}-{{buildname}}"
135 SOURCE_URL:
136 type: string
137 default: "${_param:jenkins_gerrit_url}/contrail"
138 SOURCE_BRANCH:
139 type: string
140 default: "{{branch}}"
141 SOURCE_CREDENTIALS:
142 type: string
143 default: "gerrit"
144 KEEP_REPOS:
145 type: boolean
146 default: 'false'
147 description: "Don't cleanup on failure"
chnyda063bf3d2017-07-20 10:57:56 +0200148 DPDK_BRANCH:
149 type: string
150 default: "{{dpdk}}"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100151 OS:
152 type: string
153 default: "{{os}}"
154 DIST:
155 type: string
156 default: "{{dist}}"
157 ARCH:
158 type: string
159 default: "amd64"
160 PPA:
161 type: string
162 default: "{{ppa}}"
163 UPLOAD_SOURCE_PACKAGE:
164 type: boolean
165 default: '{{upload_source_package}}'
chnydafc990de2017-04-06 11:35:17 +0200166 trigger:
167 gerrit:
168 project:
chnyda41bd3152017-04-11 16:55:29 +0200169 contrail/contrail-pipeline:
170 branches:
171 - "{{branch}}"
172 contrail/contrail-build:
173 branches:
174 - "{{branch}}"
175 contrail/contrail-controller:
176 branches:
177 - "{{branch}}"
178 contrail/contrail-vrouter:
179 branches:
180 - "{{branch}}"
181 contrail/contrail-third-party:
182 branches:
183 - "{{branch}}"
184 contrail/contrail-generateDS:
185 branches:
186 - "{{branch}}"
187 contrail/contrail-sandesh:
188 branches:
189 - "{{branch}}"
190 contrail/contrail-packages:
191 branches:
192 - "{{branch}}"
193 contrail/contrail-nova-vif-driver:
194 branches:
195 - "{{branch}}"
196 contrail/contrail-neutron-plugin:
197 branches:
198 - "{{branch}}"
199 contrail/contrail-nova-extensions:
200 branches:
201 - "{{branch}}"
202 contrail/contrail-heat:
203 branches:
204 - "{{branch}}"
205 contrail/contrail-web-storage:
206 branches:
207 - "{{branch}}"
208 contrail/contrail-web-server-manager:
209 branches:
210 - "{{branch}}"
211 contrail/contrail-web-controller:
212 branches:
213 - "{{branch}}"
214 contrail/contrail-web-core:
215 branches:
216 - "{{branch}}"
217 contrail/contrail-webui-third-party:
218 branches:
219 - "{{branch}}"
chnydafc990de2017-04-06 11:35:17 +0200220 event:
221 comment:
222 - addedContains:
223 commentAddedCommentContains: '(buildpackage)'