blob: 27e311744415f58b30468898976ffa72a1af9d3a [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
16 - buildname: oc31
17 os: ubuntu
18 dist: trusty
19 branch: R3.1
chnyda54af8932017-03-20 10:34:51 +010020 ppa: mirantis-opencontrail/opencontrail-3.1
Filip Pytloun7af94b32017-03-14 18:38:52 +010021 upload_source_package: true
22 - buildname: oc31
23 os: ubuntu
24 dist: xenial
25 branch: R3.1
chnyda54af8932017-03-20 10:34:51 +010026 ppa: mirantis-opencontrail/opencontrail-3.1
Filip Pytloun7af94b32017-03-14 18:38:52 +010027 upload_source_package: true
28 - buildname: oc311
29 os: ubuntu
30 dist: trusty
31 branch: R3.1.1.x
chnyda54af8932017-03-20 10:34:51 +010032 ppa: mirantis-opencontrail/opencontrail-3.1.1
Filip Pytloun7af94b32017-03-14 18:38:52 +010033 upload_source_package: true
34 - buildname: oc311
35 os: ubuntu
36 dist: xenial
37 branch: R3.1.1.x
chnyda54af8932017-03-20 10:34:51 +010038 ppa: mirantis-opencontrail/opencontrail-3.1.1
Filip Pytloun7af94b32017-03-14 18:38:52 +010039 upload_source_package: true
40 - buildname: oc32
41 os: ubuntu
42 dist: trusty
43 branch: R3.2
chnyda54af8932017-03-20 10:34:51 +010044 ppa: mirantis-opencontrail/opencontrail-3.2
Filip Pytloun7af94b32017-03-14 18:38:52 +010045 upload_source_package: true
46 - buildname: oc32
47 os: ubuntu
48 dist: xenial
49 branch: R3.2
chnyda54af8932017-03-20 10:34:51 +010050 ppa: mirantis-opencontrail/opencontrail-3.2
Filip Pytloun7af94b32017-03-14 18:38:52 +010051 upload_source_package: true
chnyda1ece5192017-06-08 18:23:52 +020052 - 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
chnyda2ad4b732017-05-09 10:28:45 +020064 - 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
chnyda52e4e9b2017-04-18 14:58:24 +020076 - 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 Pytloun7af94b32017-03-14 18:38:52 +010088 template:
89 discard:
90 build:
91 keep_num: 5
92 artifact:
93 keep_num: 5
94 type: workflow-scm
chnydaf67ca432017-04-07 15:47:23 +020095 concurrent: true
Filip Pytloun7af94b32017-03-14 18:38:52 +010096 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 Pytloun7af94b32017-03-14 18:38:52 +0100103 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"
chnydadbef8ed2017-04-04 13:40:42 +0200123 DEBUG_DPDK:
124 type: boolean
125 default: 'false'
126 description: "CONFIG_RTE_LIBRTE_ETHDEV_DEBUG enabled or disabled"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100127 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}}'
chnydafc990de2017-04-06 11:35:17 +0200142 trigger:
143 gerrit:
144 project:
chnyda41bd3152017-04-11 16:55:29 +0200145 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}}"
chnydafc990de2017-04-06 11:35:17 +0200196 event:
197 comment:
198 - addedContains:
199 commentAddedCommentContains: '(buildpackage)'