blob: 4f44f68454659c7a0433c7f0c7e3a0338c5f072f [file] [log] [blame]
Devin Lim38d14062018-01-11 17:08:00 -08001---
2# ONOS System Test Pipeline jobs
3
Devin Lim7a877872018-01-16 14:50:57 -08004# TODO: for some reason, lf-* types of macro cannot access to the variable. I think it is typical problem to pipeline job type.
5
Devin Lim38d14062018-01-11 17:08:00 -08006- var-init-boiler-plate: &var-init-boiler-plate
7 name: var-init-boiler-plate
8 FUNC: "FUNCgroup\nFUNCflow\nFUNCintent\nFUNCintentRest\nFUNCipv6Intent\nFUNCnetCfg\nFUNCnetconf\nFUNCoptical\nFUNCovsdbtest\nFUNCformCluster"
9 HA: "HAclusterRestart\nHAfullNetPartition\nHAkillNodes\nHAsanity\nHAscaling\nHAsingleInstanceRestart\nHAstopNodes\nHAswapNodes\nHAupgrade\nHAupgradeRollback"
10 SCPF: "SCPFcbench\nSCPFflowTp1g\nSCPFhostLat\nSCPFintentEventTp\nSCPFintentInstallWithdrawLat\nSCPFintentRerouteLat\nSCPFmastershipFailoverLat\nSCPFbatchFlowResp\nSCPFportLat\nSCPFscaleTopo\nSCPFscalingMaxIntents\nSCPFswitchLat\nSCPFflowTp1gWithFlowObj\nSCPFintentEventTpWithFlowObj\nSCPFintentRerouteLatWithFlowObj\nSCPFscalingMaxIntentsWithFlowObj\nSCPFintentInstallWithdrawLatWithFlowObj"
Devin Lim80546912018-03-23 17:49:39 -070011 USECASE: "FUNCbgpls\nFUNCvirNetNB\nPLATdockertest\nVPLSBasic\nVPLSfailsafe\nUSECASE_SdnipFunction\nUSECASE_SdnipFunctionCluster"
12 SR: "SRRouting\nSRBridging\nSRDhcprelay\nSRDynamicConf\nSRMulticast\nSRClusterRestart\nSRDynamic\nSRHighAvailability\nSRLinkFailure\nSROnosFailure\nSRSanity\nSRSwitchFailure"
Jon Hall9017d2e2018-06-11 12:04:52 -070013 SRHA: "SRHAclusterRestart\nSRHAfullNetPartition\nSRHAkillNodes\nSRHAsanity\nSRHAscaling\nSRHAsingleInstanceRestart\nSRHAstopNodes\nSRHAswapNodes\nSRHAupgrade\nSRHAupgradeRollback"
14
Devin Lim38d14062018-01-11 17:08:00 -080015
Devin Lim49200ec2018-01-19 16:17:41 -080016- test-pipe-job-boiler-plate: &test-pipe-job-boiler-plate
17 name: test-pipe-job-boiler-plate
Devin Lim38d14062018-01-11 17:08:00 -080018
19 project-type: pipeline
20
21 sandbox: true
22
Devin Lim38d14062018-01-11 17:08:00 -080023 properties:
24
25 - build-discarder:
26 num-to-keep: 20
Devin Limca864a12018-02-09 11:25:30 -080027 gitURL: https://gerrit.onosproject.org/OnosSystemTest
Devin Lim38d14062018-01-11 17:08:00 -080028
Devin Lim49200ec2018-01-19 16:17:41 -080029- test-pipe-init-procedure-plate: &test-pipe-init-procedure-plate
30 name: test-pipe-init-procedure-plate
Devin Lim7a877872018-01-16 14:50:57 -080031 project: OnosSystemTest
32 stream: 'master'
33 jenkins-path: 'TestON/JenkinsFile'
34
35- job-version-plate: &job-version-plate
36 name: job-version-plate
37 version:
You Wang5efd7592018-08-02 21:49:51 +000038 - '1.12'
39 - '1.13'
You Wang7ab523d2018-08-20 15:03:43 -070040 - '1.14'
You Wangbefeecf2018-11-09 15:06:57 -080041 - '1.15'
You Wang30ff7442018-12-21 14:11:27 -080042 - '2.0'
You Wang6eae0a42019-04-22 16:25:24 -070043 - '2.1'
Devin Lim7a877872018-01-16 14:50:57 -080044 - 'master'
45 - 'manually'
46
47- job-type-plate: &job-type-plate
48 name: job-type-plate
49 type:
50 - 'FUNC'
51 - 'HA'
52 - 'SCPF'
53 - 'USECASE'
Devin Lim323c9872018-01-30 19:57:58 -080054 - 'SR'
Jon Hall9017d2e2018-06-11 12:04:52 -070055 - 'SRHA'
Devin Lim7a877872018-01-16 14:50:57 -080056
Devin Lim74cf6cb2018-01-12 15:03:34 -080057- job-template:
Devin Lim38d14062018-01-11 17:08:00 -080058 name: all-pipeline-trigger
Jeremy Ronquillo34e993b2018-02-07 10:43:15 -080059 description: |
60 <!-- Managed by Jenkins Job Builder -->
Devin Lim1c4753e2018-03-23 15:31:38 -070061 all-pipeline-trigger can trigger any TestON test on any branch of ONOS and TestON, by running the test category pipeline that contains the test. <br />
Jeremy Ronquillo34e993b2018-02-07 10:43:15 -080062 This pipeline is triggered by timer for the nightly builds. <br />
Jeremy Ronquillo34e993b2018-02-07 10:43:15 -080063 Created by Devin Lim - devin@opennetworking.org<br />
64 Copyright (c) 2017 Open Networking Foundation (ONF)
Devin Lim38d14062018-01-11 17:08:00 -080065
Devin Lim49200ec2018-01-19 16:17:41 -080066 <<: *test-pipe-job-boiler-plate
Devin Lim38d14062018-01-11 17:08:00 -080067
Devin Lim7a877872018-01-16 14:50:57 -080068 parameters:
Devin Lim74cf6cb2018-01-12 15:03:34 -080069
Devin Limd0700312018-05-10 14:49:38 -070070 - bool:
71 name: manual_run
72 default: false
73 description: |
74 Check this option if you are manually running this job (you most likely are). <br />
75
Devin Lim74cf6cb2018-01-12 15:03:34 -080076 - text:
Devin Lim3e15df62018-05-09 17:45:51 -070077 name: machines
Devin Lim7a877872018-01-16 14:50:57 -080078 default: |
Devin Lim3e15df62018-05-09 17:45:51 -070079 vm
80 bm
81 fabric
82 description: 'Specify the machine-trigger you want to run.'
Devin Lim38d14062018-01-11 17:08:00 -080083
Devin Lim7a877872018-01-16 14:50:57 -080084 - lf-infra-parameters:
85 project: 'OnosSystemTest'
86 branch: 'master'
87 stream: 'master'
88 lftools-version: '<1.0.0'
89
Devin Lim3e15df62018-05-09 17:45:51 -070090 concurrent: true
Devin Lim38d14062018-01-11 17:08:00 -080091
Devin Lim2b5ef2e2018-02-27 14:05:08 -080092 triggers:
93 - timed: |
Devin Lime625f9a2018-03-26 12:04:47 -070094 TZ=America/Los_Angeles
95 30 19 * * 1,2,3,4,5
96 30 11 * * 6,7
Devin Lim38d14062018-01-11 17:08:00 -080097
98 pipeline-scm:
Devin Lim7a877872018-01-16 14:50:57 -080099 script-path: '{jenkins-path}/JenkinsfileTrigger'
100 scm:
101 - git:
Devin Limca864a12018-02-09 11:25:30 -0800102 url: '{gitURL}'
Devin Lim7a877872018-01-16 14:50:57 -0800103 branches:
104 - 'master'
105
106- job-template:
Devin Lim3e15df62018-05-09 17:45:51 -0700107 name: '{machine}-pipeline-trigger'
108 id: pipeline-trigger
Devin Lim1c4753e2018-03-23 15:31:38 -0700109 description: |
110 <!-- Managed by Jenkins Job Builder -->
Devin Lim3e15df62018-05-09 17:45:51 -0700111 {machine}-pipeline-trigger can trigger Segment Routing TestON test on any branch of ONOS and TestON, by running the test category pipeline that contains the test. <br />
Devin Lim1c4753e2018-03-23 15:31:38 -0700112 This pipeline is triggered by timer for the nightly builds. <br />
113 You may manually trigger this pipeline as well - provide the tests to run and the branch of ONOS and TestON. <br /> <br />
114 Note: <i>The console output for this job does <b>not</b> contain any test result logs.</i><br />
Devin Lim3e15df62018-05-09 17:45:51 -0700115 Visit the test category pipelines (such as <a href="https://jenkins.onosproject.org/view/QA/job/FUNC-pipeline-master/">FUNC-pipeline-master</a>) to view the test logs. <br /> <br />
Devin Lim1c4753e2018-03-23 15:31:38 -0700116 Created by Devin Lim - devin@opennetworking.org<br />
117 Copyright (c) 2017 Open Networking Foundation (ONF)
118
Devin Lim1c4753e2018-03-23 15:31:38 -0700119 <<: *test-pipe-job-boiler-plate
120
121 parameters:
122
123 - bool:
124 name: manual_run
125 default: false
126 description: |
127 Check this option if you are manually running this job (you most likely are). <br />
128 You must specify which tests to run in the text field below.
129
130 - bool:
131 name: PostResult
132 default: false
133 description: |
134 Check this option if you want to update the results on the wiki. <br />
135 When manually run, this will update the wiki pages corresponding to the tests that were run. <br />
136 This option will always be selected during nightly builds.
137
138 - bool:
139 name: isOldFlow
140 default: true
141 description: |
142 Check this option if you prefer to run the old flow rule over the new one. <br />
143 * This only applies to SCPF tests.
144
145 - choice:
146 name: ONOSVersion
147 choices:
148 - 'master'
You Wang6eae0a42019-04-22 16:25:24 -0700149 - '2.1'
You Wang30ff7442018-12-21 14:11:27 -0800150 - '2.0'
You Wangbefeecf2018-11-09 15:06:57 -0800151 - '1.15'
You Wang7ab523d2018-08-20 15:03:43 -0700152 - '1.14'
Devin Lim7550e022018-04-13 18:31:02 -0700153 - '1.13'
Devin Lim1c4753e2018-03-23 15:31:38 -0700154 - '1.12'
Devin Lim1c4753e2018-03-23 15:31:38 -0700155 description: "ONOS and TestON versions to run on."
156
157 - string:
You Wang8a605bc2019-01-03 10:48:45 -0800158 name: ONOSJAVAOPTS
You Wangfd7e8742019-01-22 12:53:41 -0800159 default: "\"${{JAVA_OPTS:--Xms8G -Xmx8G -Dkaraf.log.console=INFO -Dds.lock.timeout.milliseconds=60000}}\""
You Wang8a605bc2019-01-03 10:48:45 -0800160 description: 'ONOS cell JAVA_OPTS setting.'
Devin Lim1c4753e2018-03-23 15:31:38 -0700161
162 - string:
163 name: ONOSTag
164 default: ''
165 desciption: 'specific branch trying to checkout'
166
167 - text:
168 name: Tests
169 default: |
Devin Lim3e15df62018-05-09 17:45:51 -0700170 {testList}
Devin Lim1c4753e2018-03-23 15:31:38 -0700171
172 description: 'Specify the tests you want to run, if manual_run is selected.'
173
174 - lf-infra-parameters:
175 project: 'OnosSystemTest'
176 branch: 'master'
177 stream: 'master'
178 lftools-version: '<1.0.0'
179
180 concurrent: false
181
Devin Lim1c4753e2018-03-23 15:31:38 -0700182 pipeline-scm:
Devin Lim3e15df62018-05-09 17:45:51 -0700183 script-path: '{jenkins-path}/{fileName}JenkinsfileTrigger'
Devin Lim1c4753e2018-03-23 15:31:38 -0700184 scm:
185 - git:
186 url: '{gitURL}'
187 branches:
188 - 'master'
189
190- job-template:
Devin Lim7a877872018-01-16 14:50:57 -0800191 name: '{type}-pipeline-{version}'
Jeremy Ronquilloae3c7692018-03-05 08:47:05 -0800192 description: '<!-- Managed by Jenkins Job Builder -->
193 This pipeline contains the test results and logs of {type} on ONOS {version}. <br /><br />
Jeremy Ronquillo34e993b2018-02-07 10:43:15 -0800194 Visit <a href="https://jenkins.onosproject.org/view/QA/job/all-pipeline-trigger/">all-pipeline-trigger</a> to trigger a build in this pipeline.<br />
195 <font color="red">Unless debugging, DO NOT MANUALLY BUILD THIS PIPELINE.</font><br /><br />
196 Created by Devin Lim - devin@opennetworking.org<br />
Jeremy Ronquilloae3c7692018-03-05 08:47:05 -0800197 Copyright (c) 2017 Open Networking Foundation (ONF)'
Devin Lim7a877872018-01-16 14:50:57 -0800198
Devin Lim49200ec2018-01-19 16:17:41 -0800199 <<: *test-pipe-job-boiler-plate
Devin Lim7a877872018-01-16 14:50:57 -0800200
201 parameters:
202
203 - string:
204 name: TRIGGER_ONLY_WHEN_PREVIOUS_JOB_WAS_BUILT_HERE
205 default: 'DO_NOT_MANUALLY_TRIGGER_A_BUILD_HERE'
206 description: |
Jeremy Ronquillo34e993b2018-02-07 10:43:15 -0800207 <a href="https://jenkins.onosproject.org/view/QA/job/all-pipeline-trigger/">all-pipeline-trigger</a> triggers this pipeline automatically.
Devin Lim7a877872018-01-16 14:50:57 -0800208
209 - lf-infra-parameters:
210 project: 'OnosSystemTest'
211 branch: 'master'
212 stream: 'master'
213 lftools-version: '<1.0.0'
214
215 concurrent: false
216
217 pipeline-scm:
218 script-path: '{jenkins-path}/{type}JenkinsFile'
219 scm:
220 - git:
Devin Limca864a12018-02-09 11:25:30 -0800221 url: '{gitURL}'
Devin Lim7a877872018-01-16 14:50:57 -0800222 branches:
223 - 'master'
224
225- job-template:
226 name: 'manual-graph-generator-SCPF'
Jeremy Ronquillo34e993b2018-02-07 10:43:15 -0800227 description: |
228 <!-- Managed by Jenkins Job Builder -->
229 Refresh the wiki graphs here. Useful when there is a change in the graph scripts.<br />
230 <br />
231 You may also generate a graph trend that displays any number of builds here.<br />
232 However, keep in mind that only the 50 build graphs will be displayed on the wiki, unless they are manually changed on the wiki.<br >
233 <br >
234 Graphs are stored in the <a href="https://jenkins.onosproject.org/view/QA/job/postjob-BM/">postjob-BM<a> workspace.
Devin Lim7a877872018-01-16 14:50:57 -0800235
236 <<: *var-init-boiler-plate
Devin Lim49200ec2018-01-19 16:17:41 -0800237 <<: *test-pipe-job-boiler-plate
Devin Lim7a877872018-01-16 14:50:57 -0800238
239 parameters:
240
Devin Lim7a877872018-01-16 14:50:57 -0800241 - choice:
242 name: ONOSbranch
243 choices:
244 - 'master'
You Wang6eae0a42019-04-22 16:25:24 -0700245 - 'onos-2.1'
You Wang30ff7442018-12-21 14:11:27 -0800246 - 'onos-2.0'
You Wangbefeecf2018-11-09 15:06:57 -0800247 - 'onos-1.15'
You Wang7ab523d2018-08-20 15:03:43 -0700248 - 'onos-1.14'
Devin Lim7550e022018-04-13 18:31:02 -0700249 - 'onos-1.13'
Devin Lim7a877872018-01-16 14:50:57 -0800250 - 'onos-1.12'
Devin Lim7a877872018-01-16 14:50:57 -0800251 description: "Possible branches (may vary depending on test)"
252
253 - bool:
Devin Lim397fa7c2018-04-13 16:25:01 -0700254 name: isOldFlow
Devin Lim7a877872018-01-16 14:50:57 -0800255 default: false
256 description: 'Check if it is using the old flow rules'
257
258 - text:
259 name: Test
260 default: '{SCPF}'
261 description: 'List of the tests to generate.'
262
263 - lf-infra-parameters:
264 project: 'OnosSystemTest'
265 branch: 'master'
266 stream: 'master'
267 lftools-version: '<1.0.0'
268
269 pipeline-scm:
270 script-path: '{jenkins-path}/SCPF_Graph_Generator'
271 scm:
272 - git:
Devin Limca864a12018-02-09 11:25:30 -0800273 url: '{gitURL}'
Devin Lim7a877872018-01-16 14:50:57 -0800274 branches:
275 - 'master'
276
277- job-template:
278 name: 'manual-graph-generator-trend'
Jeremy Ronquillo34e993b2018-02-07 10:43:15 -0800279 description: |
280 <!-- Managed by Jenkins Job Builder -->
281 Refresh the trend graphs here. Useful when there is a change in the graph scripts. <br />
282 Graphs are stored in their respective Postjob pipeline.
283
Devin Lim7a877872018-01-16 14:50:57 -0800284
285 <<: *var-init-boiler-plate
Devin Lim49200ec2018-01-19 16:17:41 -0800286 <<: *test-pipe-job-boiler-plate
Devin Lim7a877872018-01-16 14:50:57 -0800287
288 parameters:
289
290 - choice:
291 name: ONOSbranch
292 choices:
293 - 'master'
You Wang6eae0a42019-04-22 16:25:24 -0700294 - 'onos-2.1'
You Wang30ff7442018-12-21 14:11:27 -0800295 - 'onos-2.0'
You Wangbefeecf2018-11-09 15:06:57 -0800296 - 'onos-1.15'
You Wang7ab523d2018-08-20 15:03:43 -0700297 - 'onos-1.14'
Devin Lim7550e022018-04-13 18:31:02 -0700298 - 'onos-1.13'
Devin Lim7a877872018-01-16 14:50:57 -0800299 - 'onos-1.12'
Devin Lim7a877872018-01-16 14:50:57 -0800300 description: "Possible branches (may vary depending on test)"
301
302 - choice:
303 name: NodeCluster
304 choices:
305 - VM
306 - BM
Devin Lim80546912018-03-23 17:49:39 -0700307 - Fabric
Devin Lim7a877872018-01-16 14:50:57 -0800308 description: |
Jeremy Ronquillo34e993b2018-02-07 10:43:15 -0800309 Node cluster where the test graphs in the list are located. <br />
Devin Lim7a877872018-01-16 14:50:57 -0800310 List of the tests will be refreshed depends on the node cluster.
311
312 - text:
313 name: Test
314 default: |
315 VM:
316 {FUNC}
317 {HA}
318 BM:
319 {USECASE}
Devin Lim80546912018-03-23 17:49:39 -0700320 Fabric:
321 {SR}
Jon Hall9017d2e2018-06-11 12:04:52 -0700322 {SRHA}
Devin Lim7a877872018-01-16 14:50:57 -0800323 description: 'List of the tests to generate.'
324
325 - string:
326 name: Builds
Devin Lim72caaba2018-03-02 15:15:46 -0800327 default: '20'
Devin Lim7a877872018-01-16 14:50:57 -0800328 description: 'Builds to show in the graph.'
329
330 - lf-infra-parameters:
331 project: 'OnosSystemTest'
332 branch: 'master'
333 stream: 'master'
334 lftools-version: '<1.0.0'
335
336 pipeline-scm:
337 script-path: '{jenkins-path}/Trend_Graph_Generator'
Devin Lim38d14062018-01-11 17:08:00 -0800338 scm:
339 - git:
Devin Limca864a12018-02-09 11:25:30 -0800340 url: '{gitURL}'
Devin Lim38d14062018-01-11 17:08:00 -0800341 branches:
Devin Lim74cf6cb2018-01-12 15:03:34 -0800342 - 'master'
Devin Lim38d14062018-01-11 17:08:00 -0800343
Jeremy Ronquillo3dbd8e82018-03-05 10:23:25 -0800344- job-template:
345 name: 'manual-graph-generator-overall'
346 description: |
347 <!-- Managed by Jenkins Job Builder -->
348 Refresh the overall graphs here. Useful when there is a change in the graph scripts. <br />
349 Graphs are stored in pipeline-postjob-vm.
350
351 <<: *test-pipe-job-boiler-plate
352
353 parameters:
354 - choice:
355 name: ONOSbranch
356 choices:
357 - 'master'
You Wang6eae0a42019-04-22 16:25:24 -0700358 - 'onos-2.1'
You Wang30ff7442018-12-21 14:11:27 -0800359 - 'onos-2.0'
You Wangbefeecf2018-11-09 15:06:57 -0800360 - 'onos-1.15'
You Wang7ab523d2018-08-20 15:03:43 -0700361 - 'onos-1.14'
Devin Lim7550e022018-04-13 18:31:02 -0700362 - 'onos-1.13'
Jeremy Ronquillo3dbd8e82018-03-05 10:23:25 -0800363 - 'onos-1.12'
Jeremy Ronquillo3dbd8e82018-03-05 10:23:25 -0800364 description: "Possible branches (may vary depending on test)"
365
366 - lf-infra-parameters:
367 project: 'OnosSystemTest'
368 branch: 'master'
369 stream: 'master'
370 lftools-version: '<1.0.0'
371
372 pipeline-scm:
373 script-path: '{jenkins-path}/Overall_Graph_Generator'
374 scm:
375 - git:
376 url: '{gitURL}'
377 branches:
378 - 'master'
379
Devin Lim02197b22018-05-10 17:09:38 -0700380- job-template:
381 name: 'graph-generator-CHO'
382 description: |
383 <!-- Managed by Jenkins Job Builder -->
384 Generates the CHO graphs. <br />
385 Graphs are stored in pipeline-postjob-cho.
386
387 <<: *test-pipe-job-boiler-plate
388
389 parameters:
390 - text:
391 name: ONOSbranch
392 default: |
You Wang273f3b02019-02-06 16:41:51 -0800393 onos-1.15
Devin Lim02197b22018-05-10 17:09:38 -0700394 description: "Branch of the onos"
395
Devin Lime48c6dd2018-05-14 13:58:21 -0700396 - choice:
397 name: hours
398 choices:
399 - '168'
400 - '72'
401 description: "Hours of data to display."
402
Devin Lim02197b22018-05-10 17:09:38 -0700403 - lf-infra-parameters:
404 project: 'OnosSystemTest'
405 branch: 'master'
406 stream: 'master'
407 lftools-version: '<1.0.0'
Devin Lime91edd42018-05-11 15:50:09 -0700408 triggers:
409 - timed: 'H/60 * * * *'
Devin Lim02197b22018-05-10 17:09:38 -0700410 pipeline-scm:
411 script-path: '{jenkins-path}/CHO_Graph_Generator'
412 scm:
413 - git:
414 url: '{gitURL}'
415 branches:
416 - 'master'
417
Jeremy Ronquilloc665e572019-05-09 17:18:47 -0700418- job-template:
419 name: 'generate_wiki_pages'
420 description: |
421 <!-- Managed by Jenkins Job Builder -->
422 <p>When there is a new version of ONOS about to release, run this job multiple times in the
423 following order to create all necessary test result wiki pages.</p>
424 <p>How to run this job:</p><ol>
425 <li>First, run the job with the following parameters to generate only the <b>top-level
426 result page</b> for that version:<ul>
427 <li>top_level_page_id: -1</li>
428 <li>SCPF_page_id: -1</li>
429 <li>USECASE_page_id: -1</li>
430 </ul>
431 <li>Second, get the pageID of the top-level result page just generated, and run
432 this job again with "top_level_page_id" as the known pageID to generate the <b>test
433 category front pages</b>.<ul>
434 <li>top_level_page_id: <i>page ID of top-level result page</i> </li>
435 <li>SCPF_page_id: -1</li>
436 <li>USECASE_page_id: -1</li>
437 </ul>
438 <li>Next, get the pageID of the SCPF result page just generated, and run
439 this job again with "SCPF_page_id" as the known pageID to generate <b>SCPF individual
440 result pages</b>.<ul>
441 <li>top_level_page_id: -1</li>
442 <li>SCPF_page_id: <i>page ID of SCPF result page</i></li>
443 <li>USECASE_page_id: -1</li>
444 </ul>
445 <li>Finally, get the pageID of the USECASE result page, and run
446 this job again with "USECASE_page_id" as the known pageID to generate the <b>SR results
447 page</b>.<ul>
448 <li>top_level_page_id: -1</li>
449 <li>SCPF_page_id: -1</li>
450 <li>USECASE_page_id: <i>page ID of USECASE result page</i></li>
451 </ul>
452 </ol>
453
Jeremy Ronquilloaf610ce2019-05-17 13:39:49 -0700454 <<: *test-pipe-job-boiler-plate
Jeremy Ronquilloc665e572019-05-09 17:18:47 -0700455
Jeremy Ronquilloaf610ce2019-05-17 13:39:49 -0700456 parameters:
Jeremy Ronquilloc665e572019-05-09 17:18:47 -0700457 - string:
458 name: version
459 default: ''
460 description: |
461 <p>The version of ONOS to create wiki pages.</p>
462 <p>Must be in the format: #.## <br /> Example: "1.15"</p>
463 <p><b>DO NOT PREFIX WITH "ONOS-" OR "onos-".</b></p>
464
465 - string:
466 name: bird
467 default: ''
468 description: |
469 <p>The name of the bird representing the ONOS release.
470 This is used for the title of the version top-level result page.<br />
471 Example: "Peacock"</p>
472
473 - string:
474 name: top_level_page_id
475 default: '-1'
476 description: |
477 <p>If you know the page ID for the version top-level result page, add that here.
478 This will publish the test category pages (FUNC, HA, etc.) as child pages.<br />
479 Example: "31556529" is the pageID for <a href="https://wiki.onosproject.org/pages/viewpage.action?pageId=31556529">ONOS-1.15 (Peacock)</a><br />
480 Example: "-1" means the page does not exist yet or is not needed for this run.
481 </p>
482
483 - string:
484 name: SCPF_page_id
485 default: '-1'
486 description: |
487 <p>If you know the page ID for the SCPF results front page, add that here.
488 This will publish the SCPF individual test child pages.<br />
489 Example: "31556549" is the pageID for <a href="https://wiki.onosproject.org/pages/viewpage.action?pageId=31556549">1.15-Performance and Scale-out</a><br />
490 Example: "-1" means the page does not exist yet or is not needed for this run.
491 </p>
492
493 - string:
494 name: USECASE_page_id
495 default: '-1'
496 description: |
497 <p>If you know the page ID for the USECASE results front page, add that here.
498 This will publish the SR front page as a child page.<br />
499 Example: "31556579" is the pageID for <a href="https://wiki.onosproject.org/pages/viewpage.action?pageId=31556579">1.15-USECASE</a><br />
500 Example: "-1" means the page does not exist yet or is not needed for this run.
501 </p>
502
503
504 - lf-infra-parameters:
505 project: 'OnosSystemTest'
506 branch: 'master'
507 stream: 'master'
508 lftools-version: '<1.0.0'
509
510 pipeline-scm:
511 script-path: '{jenkins-path}/generateReleaseTestONWiki.groovy'
512 scm:
513 - git:
514 url: '{gitURL}'
515 branches:
516 - 'master'
517
Devin Lim38d14062018-01-11 17:08:00 -0800518- project:
Devin Lim1c4753e2018-03-23 15:31:38 -0700519 name: pipeline-trigger
520 project-name: pipeline-trigger
Devin Lim7a877872018-01-16 14:50:57 -0800521
Devin Lim49200ec2018-01-19 16:17:41 -0800522 <<: *test-pipe-init-procedure-plate
Devin Lim3e15df62018-05-09 17:45:51 -0700523 <<: *var-init-boiler-plate
Devin Lim7a877872018-01-16 14:50:57 -0800524
Devin Lim38d14062018-01-11 17:08:00 -0800525 jobs:
526 - 'all-pipeline-trigger'
Devin Lim3e15df62018-05-09 17:45:51 -0700527 - 'pipeline-trigger':
528 machine: 'vm'
Devin Lim781a7552018-05-10 14:24:55 -0700529 testList: |
530 {FUNC}
531 {HA}
Devin Lim3e15df62018-05-09 17:45:51 -0700532 fileName: 'VM_BM'
533
534 - 'pipeline-trigger':
535 machine: 'bm'
Devin Lim781a7552018-05-10 14:24:55 -0700536 testList: |
537 {SCPF}
538 {USECASE}
Devin Lim3e15df62018-05-09 17:45:51 -0700539 fileName: 'VM_BM'
540
541 - 'pipeline-trigger':
542 machine: 'fabric'
Jon Hall9017d2e2018-06-11 12:04:52 -0700543 testList: |
544 {SR}
545 {SRHA}
Devin Lim3e15df62018-05-09 17:45:51 -0700546 fileName: 'Fabric'
Devin Lim7a877872018-01-16 14:50:57 -0800547
548- project:
549 name: build-pipeline
550
551 <<: *job-type-plate
552
553 project-name: '{type}-pipeline'
554
Devin Lim49200ec2018-01-19 16:17:41 -0800555 <<: *test-pipe-init-procedure-plate
Devin Lim7a877872018-01-16 14:50:57 -0800556 <<: *job-version-plate
557
558 jobs:
559 - '{type}-pipeline-{version}'
560
561- project:
562 name: graph-generator
563
564 project-name: 'graph-generator'
565
Devin Lim49200ec2018-01-19 16:17:41 -0800566 <<: *test-pipe-init-procedure-plate
Devin Lim7a877872018-01-16 14:50:57 -0800567
568 jobs:
569 - 'manual-graph-generator-SCPF'
570 - 'manual-graph-generator-trend'
Jeremy Ronquillo3dbd8e82018-03-05 10:23:25 -0800571 - 'manual-graph-generator-overall'
Devin Lim02197b22018-05-10 17:09:38 -0700572 - 'graph-generator-CHO'
Jeremy Ronquilloaf610ce2019-05-17 13:39:49 -0700573
574- project:
575 name: generate-wiki-pages
576
577 project-name: 'generate-wiki-pages'
578
579 <<: *test-pipe-init-procedure-plate
580
581 jobs:
582 - 'generate_wiki_pages'