blob: 7cd226ebaf4788f303b84ac1bd4fd2e7076b00b9 [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
52 template:
53 discard:
54 build:
55 keep_num: 5
56 artifact:
57 keep_num: 5
58 type: workflow-scm
chnydaf67ca432017-04-07 15:47:23 +020059 concurrent: true
Filip Pytloun7af94b32017-03-14 18:38:52 +010060 quiet_period: 120
61 scm:
62 type: git
63 url: "${_param:jenkins_contrail_pipeline}"
64 credentials: "gerrit"
65 github:
66 url: https://github.com/Mirantis/ccp-contrail-pipeline
Filip Pytloun7af94b32017-03-14 18:38:52 +010067 param:
68 APTLY_URL:
69 type: string
70 default: "${_param:jenkins_aptly_api_url}"
71 APTLY_REPO:
72 type: string
73 default: "{{os}}-{{dist}}-{{buildname}}"
74 SOURCE_URL:
75 type: string
76 default: "${_param:jenkins_gerrit_url}/contrail"
77 SOURCE_BRANCH:
78 type: string
79 default: "{{branch}}"
80 SOURCE_CREDENTIALS:
81 type: string
82 default: "gerrit"
83 KEEP_REPOS:
84 type: boolean
85 default: 'false'
86 description: "Don't cleanup on failure"
chnydadbef8ed2017-04-04 13:40:42 +020087 DEBUG_DPDK:
88 type: boolean
89 default: 'false'
90 description: "CONFIG_RTE_LIBRTE_ETHDEV_DEBUG enabled or disabled"
Filip Pytloun7af94b32017-03-14 18:38:52 +010091 OS:
92 type: string
93 default: "{{os}}"
94 DIST:
95 type: string
96 default: "{{dist}}"
97 ARCH:
98 type: string
99 default: "amd64"
100 PPA:
101 type: string
102 default: "{{ppa}}"
103 UPLOAD_SOURCE_PACKAGE:
104 type: boolean
105 default: '{{upload_source_package}}'
chnydafc990de2017-04-06 11:35:17 +0200106 trigger:
107 gerrit:
108 project:
109 contrail/contrail-controller:
110 branches:
111 - "{{branch}}"
112 contrail/contrail-vrouter:
113 branches:
114 - "{{branch}}"
115 contrail/contrail-packages:
116 branches:
117 - "{{branch}}"
118 contrail/contrail-vrouter:
119 branches:
120 - "{{branch}}"
121 contrail/contrail-web-core:
122 branches:
123 - "{{branch}}"
124 contrail/contrail-web-controller:
125 branches:
126 - "{{branch}}"
127 contrail/contrail-third-party:
128 branches:
129 - "{{branch}}"
130 event:
131 comment:
132 - addedContains:
133 commentAddedCommentContains: '(buildpackage)'