blob: 0e53f9b37022881e18789b37351817c1c0f7c7f3 [file] [log] [blame]
Kailash Khalasi417d13f2018-04-17 12:38:48 -07001---
2# POD Nightly Build Pipeline Jobs
3
4- test-pipe-job-boiler-plate: &test-pipe-job-boiler-plate
5 name: test-pipe-job-boiler-plate
6
7 project-type: pipeline
8
9 sandbox: true
10
11 properties:
12 - cord-infra-properties:
13 build-days-to-keep: '{build-days-to-keep}'
14 artifact-num-to-keep: '{artifact-num-to-keep}'
15
16- job-template:
17 name: 'build_{profile}_{pod}_{branch}'
18 id: build_pod_first
19 description: |
20 <!-- Managed by Jenkins Job Builder -->
21 Nightly Physical POD Builds at {pod} using {pod_config} <br /><br />
22 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
23 Created by Kailash Khalasi - kailash@opennetworking.org <br />
24 Copyright (c) 2017 Open Networking Foundation (ONF)
25
26 <<: *test-pipe-job-boiler-plate
27
28 parameters:
29 - string:
30 name: devNodeName
31 default: '{pod}'
32 description: 'Jenkins node name of Dev Node'
33
34 - string:
35 name: configRepoUrl
36 default: 'https://gerrit.opencord.org/pod-configs'
37 description: 'The URL of the POD configs repository'
38
39 - string:
40 name: configRepoBaseDir
41 default: 'pod-configs/'
42 description: 'The directory inside the POD configs repository'
43
44 - string:
45 name: configRepoFile
46 default: 'deployment-configs/{pod_config}'
47 description: 'The deployment config file'
48
49 - string:
50 name: branch
51 default: '{branch}'
52
53 - string:
54 name: notificationEmail
55 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
56 description: ''
57
58 concurrent: true
59
60 pipeline-scm:
61 script-path: '{Jenkinsfile}'
62 scm:
63 - git:
64 url: '{gerrit-server-url}/cord'
65 branches:
66 - '{branch}'
67
68 triggers:
69 - timed: |
70 TZ=America/Los_Angeles
71 H {time} * * *
72
73
74- job-template:
75 name: 'build_{profile}_{pod}_{branch}'
76 id: build_pod
77 description: |
78 <!-- Managed by Jenkins Job Builder -->
79 Nightly Physical POD Builds at {pod} using {pod_config} <br /><br />
80 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
81 Created by Kailash Khalasi - kailash@opennetworking.org <br />
82 Copyright (c) 2017 Open Networking Foundation (ONF)
83
84 <<: *test-pipe-job-boiler-plate
85
86 parameters:
87 - string:
88 name: devNodeName
89 default: '{pod}'
90 description: 'Jenkins node name of Dev Node'
91
92 - string:
93 name: configRepoUrl
94 default: 'https://gerrit.opencord.org/pod-configs'
95 description: 'The URL of the POD configs repository'
96
97 - string:
98 name: configRepoBaseDir
99 default: 'pod-configs/'
100 description: 'The directory inside the POD configs repository'
101
102 - string:
103 name: configRepoFile
104 default: 'deployment-configs/{pod_config}'
105 description: 'The deployment config file'
106
107 - string:
108 name: branch
109 default: '{branch}'
110
111 - string:
112 name: notificationEmail
113 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
114 description: ''
115
116 concurrent: true
117
118 pipeline-scm:
119 script-path: '{Jenkinsfile}'
120 scm:
121 - git:
122 url: '{gerrit-server-url}/cord'
123 branches:
124 - '{branch}'
125
126 triggers:
127 - reverse:
128 jobs: 'build_{profile}_{pod}_{fromBranch}_test'
129 result: 'failure'
130
131
132- job-template:
133 name: 'build_{profile}_{pod}_{branch}_test'
134 id: build_pod_test
135 description: |
136 <!-- Managed by Jenkins Job Builder -->
137 Post Tests on {pod} triggered by build_{pod}_{branch} <br /><br />
138 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
139 Created by Kailash Khalasi - kailash@opennetworking.org <br />
140 Copyright (c) 2017 Open Networking Foundation (ONF)
141
142 branches: '{branch}'
143
144 <<: *test-pipe-job-boiler-plate
145
146 parameters:
147 - string:
148 name: devNodeName
149 default: '{pod}'
150 description: 'Jenkins node name of Dev Node'
151
152 - string:
153 name: configRepoUrl
154 default: 'https://gerrit.opencord.org/pod-configs'
155 description: 'The URL of the POD configs repository'
156
157 - string:
158 name: configRepoBaseDir
159 default: 'pod-configs/'
160 description: 'The directory inside the POD configs repository'
161
162 - string:
163 name: configRepoFile
164 default: 'deployment-configs/{pod_config}'
165 description: 'The deployment config file'
166
167 - string:
168 name: branch
169 default: '{branch}'
170
171 - string:
172 name: notificationEmail
173 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
174 description: ''
175
176 concurrent: true
177
178 pipeline-scm:
179 script-path: '{Jenkinsfile}'
180 scm:
181 - git:
182 url: '{gerrit-server-url}/cord-tester'
183 branches:
184 - '{branch}'
185
186 triggers:
187 - reverse:
188 jobs: 'build_{profile}_{pod}_{branch}'
189 result: 'failure'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700190
191- job-template:
Suchitra Vemuri85babd62018-05-09 11:58:29 -0700192 name: 'build_{profile}_{pod}_{branch}'
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700193 id: build_pod_manual
194 description: |
195 <!-- Managed by Jenkins Job Builder -->
Suchitra Vemuri85babd62018-05-09 11:58:29 -0700196 Manual Build on POD {pod} using {pod_config} <br /><br />
Suchitra Vemuri2c8ec0b2018-05-07 13:35:54 -0700197 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
198 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org ) <br />
199 Copyright (c) 2018 Open Networking Foundation (ONF)
200
201 <<: *test-pipe-job-boiler-plate
202
203 parameters:
204 - string:
205 name: devNodeName
206 default: '{pod}'
207 description: 'Jenkins node name of Dev Node'
208
209 - string:
210 name: configRepoUrl
211 default: 'https://gerrit.opencord.org/pod-configs'
212 description: 'The URL of the POD configs repository'
213
214 - string:
215 name: configRepoBaseDir
216 default: 'pod-configs/'
217 description: 'The directory inside the POD configs repository'
218
219 - string:
220 name: configRepoFile
221 default: 'deployment-configs/{pod_config}'
222 description: 'The deployment config file'
223
224 - string:
225 name: branch
226 default: '{branch}'
227
228 - string:
229 name: notificationEmail
230 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
231 description: ''
232
233 concurrent: true
234
235 pipeline-scm:
236 script-path: '{Jenkinsfile}'
237 scm:
238 - git:
239 url: '{gerrit-server-url}/cord'
240 branches:
241 - '{branch}'
242
243- job-template:
244 name: 'build_{profile}_{pod}_{branch}_test'
245 id: build_pod_manual_test
246 description: |
247 <!-- Managed by Jenkins Job Builder -->
248 Post Tests on {pod} triggered by build_{pod}_{branch} <br /><br />
249 Created from job-template {id} from ci-management/jjb/cord-test/cord-test-pipeline.yaml <br />
250 Created by QA (Suchitra Vemuri - suchitra@opennetworking.org) <br />
251 Copyright (c) 2017 Open Networking Foundation (ONF)
252
253 branches: '{branch}'
254
255 <<: *test-pipe-job-boiler-plate
256
257 parameters:
258 - string:
259 name: devNodeName
260 default: '{pod}'
261 description: 'Jenkins node name of Dev Node'
262
263 - string:
264 name: configRepoUrl
265 default: 'https://gerrit.opencord.org/pod-configs'
266 description: 'The URL of the POD configs repository'
267
268 - string:
269 name: configRepoBaseDir
270 default: 'pod-configs/'
271 description: 'The directory inside the POD configs repository'
272
273 - string:
274 name: configRepoFile
275 default: 'deployment-configs/{pod_config}'
276 description: 'The deployment config file'
277
278 - string:
279 name: branch
280 default: '{branch}'
281
282 - string:
283 name: notificationEmail
284 default: 'kailash@opennetworking.org, you@opennetworking.org, suchitra@opennetworking.org'
285 description: ''
286
287 concurrent: true
288
289 pipeline-scm:
290 script-path: '{Jenkinsfile}'
291 scm:
292 - git:
293 url: '{gerrit-server-url}/cord-tester'
294 branches:
295 - '{branch}'
296
297 triggers:
298 - reverse:
299 jobs: 'build_{profile}_{pod}_manual_{branch}'
300 result: 'failure'