blob: 11827463efc9682905320c7d9391c3432ef730d4 [file] [log] [blame]
chnydad3ddac62017-03-22 09:49:16 +01001parameters:
2 jenkins:
3 client:
4 job_template:
5 test-opencontrail:
6 name: test-opencontrail-{{buildname}}-{{os}}-{{dist}}
7 jobs:
8 - buildname: oc31
9 os: ubuntu
10 dist: trusty
11 branch: R3.1
12 - buildname: oc31
13 os: ubuntu
14 dist: trusty
15 branch: R3.1
16 - buildname: oc311
17 os: ubuntu
18 dist: trusty
19 branch: R3.1.1.x
20 - buildname: oc311
21 os: ubuntu
22 dist: trusty
23 branch: R3.1.1.x
24 - buildname: oc32
25 os: ubuntu
26 dist: trusty
27 branch: R3.2
28 - buildname: oc32
29 os: ubuntu
30 dist: trusty
31 branch: R3.2
32 template:
33 discard:
34 build:
35 keep_num: 5
36 artifact:
37 keep_num: 5
38 type: workflow-scm
39 concurrent: false
40 quiet_period: 120
41 scm:
42 type: git
43 url: "https://github.com/chnyda/contrail-unittest"
44 trigger:
45 gerrit:
46 project:
47 contrail/contrail-pipeline:
48 branches:
49 - "{{branch}}"
50 contrail/contrail-build:
51 branches:
52 - "{{branch}}"
53 contrail/contrail-controller:
54 branches:
55 - "{{branch}}"
56 contrail/contrail-vrouter:
57 branches:
58 - "{{branch}}"
59 contrail/contrail-third-party:
60 branches:
61 - "{{branch}}"
62 contrail/contrail-generateDS:
63 branches:
64 - "{{branch}}"
65 contrail/contrail-sandesh:
66 branches:
67 - "{{branch}}"
68 contrail/contrail-packages:
69 branches:
70 - "{{branch}}"
71 contrail/contrail-nova-vif-driver:
72 branches:
73 - "{{branch}}"
74 contrail/contrail-neutron-plugin:
75 branches:
76 - "{{branch}}"
77 contrail/contrail-nova-extensions:
78 branches:
79 - "{{branch}}"
80 contrail/contrail-heat:
81 branches:
82 - "{{branch}}"
83 contrail/contrail-web-storage:
84 branches:
85 - "{{branch}}"
86 contrail/contrail-web-server-manager:
87 branches:
88 - "{{branch}}"
89 contrail/contrail-web-controller:
90 branches:
91 - "{{branch}}"
92 contrail/contrail-web-core:
93 branches:
94 - "{{branch}}"
95 contrail/contrail-webui-third-party:
96 branches:
97 - "{{branch}}"
98 message:
99 build_successful: "Build successful"
100 build_unstable: "Build unstable"
101 build_failure: "Build failed"
102 event:
103 ref:
104 - updated
105 param:
106 SOURCE_URL:
107 type: string
108 default: "${_param:jenkins_gerrit_url}/contrail"
109 SOURCE_BRANCH:
110 type: string
111 default: "{{branch}}"
112 SOURCE_CREDENTIALS:
113 type: string
114 default: "gerrit"
115 KEEP_REPOS:
116 type: boolean
117 default: 'false'
118 description: "Don't cleanup on failure"
119 OS:
120 type: string
121 default: "{{os}}"
122 DIST:
123 type: string
124 default: "{{dist}}"
125 ARCH:
126 type: string
127 default: "amd64"