blob: a26472b388217f4d25af9ac6bc92cb9f62b18755 [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
chnyda52e4e9b2017-04-18 14:58:24 +020052 - buildname: oc666
53 os: ubuntu
54 dist: trusty
55 branch: master
56 ppa: mirantis-opencontrail/opencontrail-master
57 upload_source_package: false
58 - buildname: oc666
59 os: ubuntu
60 dist: xenial
61 branch: master
62 ppa: mirantis-opencontrail/opencontrail-master
63 upload_source_package: false
Filip Pytloun7af94b32017-03-14 18:38:52 +010064 template:
65 discard:
66 build:
67 keep_num: 5
68 artifact:
69 keep_num: 5
70 type: workflow-scm
chnydaf67ca432017-04-07 15:47:23 +020071 concurrent: true
Filip Pytloun7af94b32017-03-14 18:38:52 +010072 quiet_period: 120
73 scm:
74 type: git
75 url: "${_param:jenkins_contrail_pipeline}"
76 credentials: "gerrit"
77 github:
78 url: https://github.com/Mirantis/ccp-contrail-pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010079 param:
80 APTLY_URL:
81 type: string
82 default: "${_param:jenkins_aptly_api_url}"
83 APTLY_REPO:
84 type: string
85 default: "{{os}}-{{dist}}-{{buildname}}"
86 SOURCE_URL:
87 type: string
88 default: "${_param:jenkins_gerrit_url}/contrail"
89 SOURCE_BRANCH:
90 type: string
91 default: "{{branch}}"
92 SOURCE_CREDENTIALS:
93 type: string
94 default: "gerrit"
95 KEEP_REPOS:
96 type: boolean
97 default: 'false'
98 description: "Don't cleanup on failure"
chnydadbef8ed2017-04-04 13:40:42 +020099 DEBUG_DPDK:
100 type: boolean
101 default: 'false'
102 description: "CONFIG_RTE_LIBRTE_ETHDEV_DEBUG enabled or disabled"
Filip Pytloun7af94b32017-03-14 18:38:52 +0100103 OS:
104 type: string
105 default: "{{os}}"
106 DIST:
107 type: string
108 default: "{{dist}}"
109 ARCH:
110 type: string
111 default: "amd64"
112 PPA:
113 type: string
114 default: "{{ppa}}"
115 UPLOAD_SOURCE_PACKAGE:
116 type: boolean
117 default: '{{upload_source_package}}'
chnydafc990de2017-04-06 11:35:17 +0200118 trigger:
119 gerrit:
120 project:
chnyda41bd3152017-04-11 16:55:29 +0200121 contrail/contrail-pipeline:
122 branches:
123 - "{{branch}}"
124 contrail/contrail-build:
125 branches:
126 - "{{branch}}"
127 contrail/contrail-controller:
128 branches:
129 - "{{branch}}"
130 contrail/contrail-vrouter:
131 branches:
132 - "{{branch}}"
133 contrail/contrail-third-party:
134 branches:
135 - "{{branch}}"
136 contrail/contrail-generateDS:
137 branches:
138 - "{{branch}}"
139 contrail/contrail-sandesh:
140 branches:
141 - "{{branch}}"
142 contrail/contrail-packages:
143 branches:
144 - "{{branch}}"
145 contrail/contrail-nova-vif-driver:
146 branches:
147 - "{{branch}}"
148 contrail/contrail-neutron-plugin:
149 branches:
150 - "{{branch}}"
151 contrail/contrail-nova-extensions:
152 branches:
153 - "{{branch}}"
154 contrail/contrail-heat:
155 branches:
156 - "{{branch}}"
157 contrail/contrail-web-storage:
158 branches:
159 - "{{branch}}"
160 contrail/contrail-web-server-manager:
161 branches:
162 - "{{branch}}"
163 contrail/contrail-web-controller:
164 branches:
165 - "{{branch}}"
166 contrail/contrail-web-core:
167 branches:
168 - "{{branch}}"
169 contrail/contrail-webui-third-party:
170 branches:
171 - "{{branch}}"
chnydafc990de2017-04-06 11:35:17 +0200172 event:
173 comment:
174 - addedContains:
175 commentAddedCommentContains: '(buildpackage)'