blob: 751635486b81281b6c1ebb29cf172a1ed7623f96 [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
59 concurrent: false
60 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"
87 OS:
88 type: string
89 default: "{{os}}"
90 DIST:
91 type: string
92 default: "{{dist}}"
93 ARCH:
94 type: string
95 default: "amd64"
96 PPA:
97 type: string
98 default: "{{ppa}}"
99 UPLOAD_SOURCE_PACKAGE:
100 type: boolean
101 default: '{{upload_source_package}}'