blob: d1486fba05c88116d36fb5d331070e5aaff557ac [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 Lim38d14062018-01-11 17:08:00 -080092 pipeline-scm:
Devin Lim7a877872018-01-16 14:50:57 -080093 script-path: '{jenkins-path}/JenkinsfileTrigger'
94 scm:
95 - git:
Devin Limca864a12018-02-09 11:25:30 -080096 url: '{gitURL}'
Devin Lim7a877872018-01-16 14:50:57 -080097 branches:
98 - 'master'
99
100- job-template:
Devin Lim3e15df62018-05-09 17:45:51 -0700101 name: '{machine}-pipeline-trigger'
102 id: pipeline-trigger
Devin Lim1c4753e2018-03-23 15:31:38 -0700103 description: |
104 <!-- Managed by Jenkins Job Builder -->
Devin Lim3e15df62018-05-09 17:45:51 -0700105 {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 -0700106 This pipeline is triggered by timer for the nightly builds. <br />
107 You may manually trigger this pipeline as well - provide the tests to run and the branch of ONOS and TestON. <br /> <br />
108 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 -0700109 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 -0700110 Created by Devin Lim - devin@opennetworking.org<br />
111 Copyright (c) 2017 Open Networking Foundation (ONF)
112
Devin Lim1c4753e2018-03-23 15:31:38 -0700113 <<: *test-pipe-job-boiler-plate
114
115 parameters:
116
117 - bool:
118 name: manual_run
119 default: false
120 description: |
121 Check this option if you are manually running this job (you most likely are). <br />
122 You must specify which tests to run in the text field below.
123
124 - bool:
125 name: PostResult
126 default: false
127 description: |
128 Check this option if you want to update the results on the wiki. <br />
129 When manually run, this will update the wiki pages corresponding to the tests that were run. <br />
130 This option will always be selected during nightly builds.
131
132 - bool:
133 name: isOldFlow
134 default: true
135 description: |
136 Check this option if you prefer to run the old flow rule over the new one. <br />
137 * This only applies to SCPF tests.
138
Jeremy Ronquilloacef4582019-05-31 13:22:55 -0700139 - text:
140 name: branches
141 default: |
142 master
143 2.1
144 2.0
145 1.15
146 1.14
147 1.13
148 1.12
149 description: "ONOS and TestON versions to run on. Multiple branches supported."
Devin Lim1c4753e2018-03-23 15:31:38 -0700150
151 - string:
Jeremy Ronquillo9580f992019-06-10 17:01:19 -0700152 name: simulate_day
153 default: ""
154 description: 'Enter a day prefix (first 3 letters of a day, lowercase) to simulate running a nightly test on that day. Leave this field empty to default to today. Example: type "sun" for Sunday'
155
156 - string:
You Wang8a605bc2019-01-03 10:48:45 -0800157 name: ONOSJAVAOPTS
You Wang2e8ef572019-05-20 16:05:17 -0700158 default: "\"${{JAVA_OPTS:--Xms8G -Xmx8G -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -Dkaraf.log.console=INFO -Dds.lock.timeout.milliseconds=60000}}\""
You Wang8a605bc2019-01-03 10:48:45 -0800159 description: 'ONOS cell JAVA_OPTS setting.'
Devin Lim1c4753e2018-03-23 15:31:38 -0700160
161 - string:
162 name: ONOSTag
163 default: ''
164 desciption: 'specific branch trying to checkout'
165
166 - text:
167 name: Tests
168 default: |
Devin Lim3e15df62018-05-09 17:45:51 -0700169 {testList}
Devin Lim1c4753e2018-03-23 15:31:38 -0700170
171 description: 'Specify the tests you want to run, if manual_run is selected.'
172
173 - lf-infra-parameters:
174 project: 'OnosSystemTest'
175 branch: 'master'
176 stream: 'master'
177 lftools-version: '<1.0.0'
178
179 concurrent: false
180
Jeremy Ronquilloacef4582019-05-31 13:22:55 -0700181 triggers:
182 - timed: |
183 TZ=America/Los_Angeles
184 30 19 * * 1,2,3,4,5
185 30 11 * * 6,7
186
Devin Lim1c4753e2018-03-23 15:31:38 -0700187 pipeline-scm:
Devin Lim3e15df62018-05-09 17:45:51 -0700188 script-path: '{jenkins-path}/{fileName}JenkinsfileTrigger'
Devin Lim1c4753e2018-03-23 15:31:38 -0700189 scm:
190 - git:
191 url: '{gitURL}'
192 branches:
193 - 'master'
194
195- job-template:
Devin Lim7a877872018-01-16 14:50:57 -0800196 name: '{type}-pipeline-{version}'
Jeremy Ronquilloae3c7692018-03-05 08:47:05 -0800197 description: '<!-- Managed by Jenkins Job Builder -->
198 This pipeline contains the test results and logs of {type} on ONOS {version}. <br /><br />
Jeremy Ronquillo34e993b2018-02-07 10:43:15 -0800199 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 />
200 <font color="red">Unless debugging, DO NOT MANUALLY BUILD THIS PIPELINE.</font><br /><br />
201 Created by Devin Lim - devin@opennetworking.org<br />
Jeremy Ronquilloae3c7692018-03-05 08:47:05 -0800202 Copyright (c) 2017 Open Networking Foundation (ONF)'
Devin Lim7a877872018-01-16 14:50:57 -0800203
Devin Lim49200ec2018-01-19 16:17:41 -0800204 <<: *test-pipe-job-boiler-plate
Devin Lim7a877872018-01-16 14:50:57 -0800205
206 parameters:
207
208 - string:
209 name: TRIGGER_ONLY_WHEN_PREVIOUS_JOB_WAS_BUILT_HERE
210 default: 'DO_NOT_MANUALLY_TRIGGER_A_BUILD_HERE'
211 description: |
Jeremy Ronquillo34e993b2018-02-07 10:43:15 -0800212 <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 -0800213
214 - lf-infra-parameters:
215 project: 'OnosSystemTest'
216 branch: 'master'
217 stream: 'master'
218 lftools-version: '<1.0.0'
219
220 concurrent: false
221
222 pipeline-scm:
223 script-path: '{jenkins-path}/{type}JenkinsFile'
224 scm:
225 - git:
Devin Limca864a12018-02-09 11:25:30 -0800226 url: '{gitURL}'
Devin Lim7a877872018-01-16 14:50:57 -0800227 branches:
228 - 'master'
229
230- job-template:
231 name: 'manual-graph-generator-SCPF'
Jeremy Ronquillo34e993b2018-02-07 10:43:15 -0800232 description: |
233 <!-- Managed by Jenkins Job Builder -->
234 Refresh the wiki graphs here. Useful when there is a change in the graph scripts.<br />
235 <br />
236 You may also generate a graph trend that displays any number of builds here.<br />
237 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 >
238 <br >
239 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 -0800240
241 <<: *var-init-boiler-plate
Devin Lim49200ec2018-01-19 16:17:41 -0800242 <<: *test-pipe-job-boiler-plate
Devin Lim7a877872018-01-16 14:50:57 -0800243
244 parameters:
245
Devin Lim7a877872018-01-16 14:50:57 -0800246 - choice:
247 name: ONOSbranch
248 choices:
249 - 'master'
You Wang6eae0a42019-04-22 16:25:24 -0700250 - 'onos-2.1'
You Wang30ff7442018-12-21 14:11:27 -0800251 - 'onos-2.0'
You Wangbefeecf2018-11-09 15:06:57 -0800252 - 'onos-1.15'
You Wang7ab523d2018-08-20 15:03:43 -0700253 - 'onos-1.14'
Devin Lim7550e022018-04-13 18:31:02 -0700254 - 'onos-1.13'
Devin Lim7a877872018-01-16 14:50:57 -0800255 - 'onos-1.12'
Devin Lim7a877872018-01-16 14:50:57 -0800256 description: "Possible branches (may vary depending on test)"
257
258 - bool:
Devin Lim397fa7c2018-04-13 16:25:01 -0700259 name: isOldFlow
Devin Lim7a877872018-01-16 14:50:57 -0800260 default: false
261 description: 'Check if it is using the old flow rules'
262
263 - text:
264 name: Test
265 default: '{SCPF}'
266 description: 'List of the tests to generate.'
267
268 - lf-infra-parameters:
269 project: 'OnosSystemTest'
270 branch: 'master'
271 stream: 'master'
272 lftools-version: '<1.0.0'
273
274 pipeline-scm:
275 script-path: '{jenkins-path}/SCPF_Graph_Generator'
276 scm:
277 - git:
Devin Limca864a12018-02-09 11:25:30 -0800278 url: '{gitURL}'
Devin Lim7a877872018-01-16 14:50:57 -0800279 branches:
280 - 'master'
281
282- job-template:
283 name: 'manual-graph-generator-trend'
Jeremy Ronquillo34e993b2018-02-07 10:43:15 -0800284 description: |
285 <!-- Managed by Jenkins Job Builder -->
286 Refresh the trend graphs here. Useful when there is a change in the graph scripts. <br />
287 Graphs are stored in their respective Postjob pipeline.
288
Devin Lim7a877872018-01-16 14:50:57 -0800289
290 <<: *var-init-boiler-plate
Devin Lim49200ec2018-01-19 16:17:41 -0800291 <<: *test-pipe-job-boiler-plate
Devin Lim7a877872018-01-16 14:50:57 -0800292
293 parameters:
294
295 - choice:
296 name: ONOSbranch
297 choices:
298 - 'master'
You Wang6eae0a42019-04-22 16:25:24 -0700299 - 'onos-2.1'
You Wang30ff7442018-12-21 14:11:27 -0800300 - 'onos-2.0'
You Wangbefeecf2018-11-09 15:06:57 -0800301 - 'onos-1.15'
You Wang7ab523d2018-08-20 15:03:43 -0700302 - 'onos-1.14'
Devin Lim7550e022018-04-13 18:31:02 -0700303 - 'onos-1.13'
Devin Lim7a877872018-01-16 14:50:57 -0800304 - 'onos-1.12'
Devin Lim7a877872018-01-16 14:50:57 -0800305 description: "Possible branches (may vary depending on test)"
306
307 - choice:
308 name: NodeCluster
309 choices:
310 - VM
311 - BM
Devin Lim80546912018-03-23 17:49:39 -0700312 - Fabric
Devin Lim7a877872018-01-16 14:50:57 -0800313 description: |
Jeremy Ronquillo34e993b2018-02-07 10:43:15 -0800314 Node cluster where the test graphs in the list are located. <br />
Devin Lim7a877872018-01-16 14:50:57 -0800315 List of the tests will be refreshed depends on the node cluster.
316
317 - text:
318 name: Test
319 default: |
320 VM:
321 {FUNC}
322 {HA}
323 BM:
324 {USECASE}
Devin Lim80546912018-03-23 17:49:39 -0700325 Fabric:
326 {SR}
Jon Hall9017d2e2018-06-11 12:04:52 -0700327 {SRHA}
Devin Lim7a877872018-01-16 14:50:57 -0800328 description: 'List of the tests to generate.'
329
330 - string:
331 name: Builds
Devin Lim72caaba2018-03-02 15:15:46 -0800332 default: '20'
Devin Lim7a877872018-01-16 14:50:57 -0800333 description: 'Builds to show in the graph.'
334
335 - lf-infra-parameters:
336 project: 'OnosSystemTest'
337 branch: 'master'
338 stream: 'master'
339 lftools-version: '<1.0.0'
340
341 pipeline-scm:
342 script-path: '{jenkins-path}/Trend_Graph_Generator'
Devin Lim38d14062018-01-11 17:08:00 -0800343 scm:
344 - git:
Devin Limca864a12018-02-09 11:25:30 -0800345 url: '{gitURL}'
Devin Lim38d14062018-01-11 17:08:00 -0800346 branches:
Devin Lim74cf6cb2018-01-12 15:03:34 -0800347 - 'master'
Devin Lim38d14062018-01-11 17:08:00 -0800348
Jeremy Ronquillo3dbd8e82018-03-05 10:23:25 -0800349- job-template:
350 name: 'manual-graph-generator-overall'
351 description: |
352 <!-- Managed by Jenkins Job Builder -->
353 Refresh the overall graphs here. Useful when there is a change in the graph scripts. <br />
354 Graphs are stored in pipeline-postjob-vm.
355
356 <<: *test-pipe-job-boiler-plate
357
358 parameters:
359 - choice:
360 name: ONOSbranch
361 choices:
362 - 'master'
You Wang6eae0a42019-04-22 16:25:24 -0700363 - 'onos-2.1'
You Wang30ff7442018-12-21 14:11:27 -0800364 - 'onos-2.0'
You Wangbefeecf2018-11-09 15:06:57 -0800365 - 'onos-1.15'
You Wang7ab523d2018-08-20 15:03:43 -0700366 - 'onos-1.14'
Devin Lim7550e022018-04-13 18:31:02 -0700367 - 'onos-1.13'
Jeremy Ronquillo3dbd8e82018-03-05 10:23:25 -0800368 - 'onos-1.12'
Jeremy Ronquillo3dbd8e82018-03-05 10:23:25 -0800369 description: "Possible branches (may vary depending on test)"
370
371 - lf-infra-parameters:
372 project: 'OnosSystemTest'
373 branch: 'master'
374 stream: 'master'
375 lftools-version: '<1.0.0'
376
377 pipeline-scm:
378 script-path: '{jenkins-path}/Overall_Graph_Generator'
379 scm:
380 - git:
381 url: '{gitURL}'
382 branches:
383 - 'master'
384
Devin Lim02197b22018-05-10 17:09:38 -0700385- job-template:
386 name: 'graph-generator-CHO'
387 description: |
388 <!-- Managed by Jenkins Job Builder -->
389 Generates the CHO graphs. <br />
390 Graphs are stored in pipeline-postjob-cho.
391
392 <<: *test-pipe-job-boiler-plate
393
394 parameters:
395 - text:
396 name: ONOSbranch
397 default: |
You Wang273f3b02019-02-06 16:41:51 -0800398 onos-1.15
Devin Lim02197b22018-05-10 17:09:38 -0700399 description: "Branch of the onos"
400
Devin Lime48c6dd2018-05-14 13:58:21 -0700401 - choice:
402 name: hours
403 choices:
404 - '168'
405 - '72'
406 description: "Hours of data to display."
407
Devin Lim02197b22018-05-10 17:09:38 -0700408 - lf-infra-parameters:
409 project: 'OnosSystemTest'
410 branch: 'master'
411 stream: 'master'
412 lftools-version: '<1.0.0'
Devin Lime91edd42018-05-11 15:50:09 -0700413 triggers:
414 - timed: 'H/60 * * * *'
Devin Lim02197b22018-05-10 17:09:38 -0700415 pipeline-scm:
416 script-path: '{jenkins-path}/CHO_Graph_Generator'
417 scm:
418 - git:
419 url: '{gitURL}'
420 branches:
421 - 'master'
422
Jeremy Ronquilloc665e572019-05-09 17:18:47 -0700423- job-template:
424 name: 'generate_wiki_pages'
425 description: |
426 <!-- Managed by Jenkins Job Builder -->
427 <p>When there is a new version of ONOS about to release, run this job multiple times in the
428 following order to create all necessary test result wiki pages.</p>
429 <p>How to run this job:</p><ol>
430 <li>First, run the job with the following parameters to generate only the <b>top-level
431 result page</b> for that version:<ul>
432 <li>top_level_page_id: -1</li>
433 <li>SCPF_page_id: -1</li>
434 <li>USECASE_page_id: -1</li>
435 </ul>
436 <li>Second, get the pageID of the top-level result page just generated, and run
437 this job again with "top_level_page_id" as the known pageID to generate the <b>test
438 category front pages</b>.<ul>
439 <li>top_level_page_id: <i>page ID of top-level result page</i> </li>
440 <li>SCPF_page_id: -1</li>
441 <li>USECASE_page_id: -1</li>
442 </ul>
443 <li>Next, get the pageID of the SCPF result page just generated, and run
444 this job again with "SCPF_page_id" as the known pageID to generate <b>SCPF individual
445 result pages</b>.<ul>
446 <li>top_level_page_id: -1</li>
447 <li>SCPF_page_id: <i>page ID of SCPF result page</i></li>
448 <li>USECASE_page_id: -1</li>
449 </ul>
450 <li>Finally, get the pageID of the USECASE result page, and run
451 this job again with "USECASE_page_id" as the known pageID to generate the <b>SR results
452 page</b>.<ul>
453 <li>top_level_page_id: -1</li>
454 <li>SCPF_page_id: -1</li>
455 <li>USECASE_page_id: <i>page ID of USECASE result page</i></li>
456 </ul>
457 </ol>
458
Jeremy Ronquilloaf610ce2019-05-17 13:39:49 -0700459 <<: *test-pipe-job-boiler-plate
Jeremy Ronquilloc665e572019-05-09 17:18:47 -0700460
Jeremy Ronquilloaf610ce2019-05-17 13:39:49 -0700461 parameters:
Jeremy Ronquilloc665e572019-05-09 17:18:47 -0700462 - string:
463 name: version
464 default: ''
465 description: |
466 <p>The version of ONOS to create wiki pages.</p>
467 <p>Must be in the format: #.## <br /> Example: "1.15"</p>
468 <p><b>DO NOT PREFIX WITH "ONOS-" OR "onos-".</b></p>
469
470 - string:
471 name: bird
472 default: ''
473 description: |
474 <p>The name of the bird representing the ONOS release.
475 This is used for the title of the version top-level result page.<br />
476 Example: "Peacock"</p>
477
478 - string:
479 name: top_level_page_id
480 default: '-1'
481 description: |
482 <p>If you know the page ID for the version top-level result page, add that here.
483 This will publish the test category pages (FUNC, HA, etc.) as child pages.<br />
484 Example: "31556529" is the pageID for <a href="https://wiki.onosproject.org/pages/viewpage.action?pageId=31556529">ONOS-1.15 (Peacock)</a><br />
485 Example: "-1" means the page does not exist yet or is not needed for this run.
486 </p>
487
488 - string:
489 name: SCPF_page_id
490 default: '-1'
491 description: |
492 <p>If you know the page ID for the SCPF results front page, add that here.
493 This will publish the SCPF individual test child pages.<br />
494 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 />
495 Example: "-1" means the page does not exist yet or is not needed for this run.
496 </p>
497
498 - string:
499 name: USECASE_page_id
500 default: '-1'
501 description: |
502 <p>If you know the page ID for the USECASE results front page, add that here.
503 This will publish the SR front page as a child page.<br />
504 Example: "31556579" is the pageID for <a href="https://wiki.onosproject.org/pages/viewpage.action?pageId=31556579">1.15-USECASE</a><br />
505 Example: "-1" means the page does not exist yet or is not needed for this run.
506 </p>
507
508
509 - lf-infra-parameters:
510 project: 'OnosSystemTest'
511 branch: 'master'
512 stream: 'master'
513 lftools-version: '<1.0.0'
514
515 pipeline-scm:
516 script-path: '{jenkins-path}/generateReleaseTestONWiki.groovy'
517 scm:
518 - git:
519 url: '{gitURL}'
520 branches:
521 - 'master'
522
Jeremy Ronquillo64026c32019-06-17 12:54:16 -0700523- job-template:
524 name: 'generate_automated_schedule_wiki'
525 description: |
526 <!-- Managed by Jenkins Job Builder -->
527 <p>Build this job to refresh the <a href="https://wiki.onosproject.org/display/ONOS/Automated+Test+Schedule">Automated Test Schedule</a> on the ONOS Wiki.</p>
528
529 <<: *test-pipe-job-boiler-plate
530
531 pipeline-scm:
532 script-path: '{jenkins-path}/generateWikiTestList.groovy'
533 scm:
534 - git:
535 url: '{gitURL}'
536 branches:
537 - 'master'
538
Devin Lim38d14062018-01-11 17:08:00 -0800539- project:
Devin Lim1c4753e2018-03-23 15:31:38 -0700540 name: pipeline-trigger
541 project-name: pipeline-trigger
Devin Lim7a877872018-01-16 14:50:57 -0800542
Devin Lim49200ec2018-01-19 16:17:41 -0800543 <<: *test-pipe-init-procedure-plate
Devin Lim3e15df62018-05-09 17:45:51 -0700544 <<: *var-init-boiler-plate
Devin Lim7a877872018-01-16 14:50:57 -0800545
Devin Lim38d14062018-01-11 17:08:00 -0800546 jobs:
547 - 'all-pipeline-trigger'
Devin Lim3e15df62018-05-09 17:45:51 -0700548 - 'pipeline-trigger':
549 machine: 'vm'
Devin Lim781a7552018-05-10 14:24:55 -0700550 testList: |
551 {FUNC}
552 {HA}
Devin Lim3e15df62018-05-09 17:45:51 -0700553 fileName: 'VM_BM'
554
555 - 'pipeline-trigger':
556 machine: 'bm'
Devin Lim781a7552018-05-10 14:24:55 -0700557 testList: |
558 {SCPF}
559 {USECASE}
Devin Lim3e15df62018-05-09 17:45:51 -0700560 fileName: 'VM_BM'
561
562 - 'pipeline-trigger':
563 machine: 'fabric'
Jon Hall9017d2e2018-06-11 12:04:52 -0700564 testList: |
565 {SR}
566 {SRHA}
Devin Lim3e15df62018-05-09 17:45:51 -0700567 fileName: 'Fabric'
Devin Lim7a877872018-01-16 14:50:57 -0800568
569- project:
570 name: build-pipeline
571
572 <<: *job-type-plate
573
574 project-name: '{type}-pipeline'
575
Devin Lim49200ec2018-01-19 16:17:41 -0800576 <<: *test-pipe-init-procedure-plate
Devin Lim7a877872018-01-16 14:50:57 -0800577 <<: *job-version-plate
578
579 jobs:
580 - '{type}-pipeline-{version}'
581
582- project:
583 name: graph-generator
584
585 project-name: 'graph-generator'
586
Devin Lim49200ec2018-01-19 16:17:41 -0800587 <<: *test-pipe-init-procedure-plate
Devin Lim7a877872018-01-16 14:50:57 -0800588
589 jobs:
590 - 'manual-graph-generator-SCPF'
591 - 'manual-graph-generator-trend'
Jeremy Ronquillo3dbd8e82018-03-05 10:23:25 -0800592 - 'manual-graph-generator-overall'
Devin Lim02197b22018-05-10 17:09:38 -0700593 - 'graph-generator-CHO'
Jeremy Ronquilloaf610ce2019-05-17 13:39:49 -0700594
595- project:
596 name: generate-wiki-pages
597
598 project-name: 'generate-wiki-pages'
599
600 <<: *test-pipe-init-procedure-plate
601
602 jobs:
603 - 'generate_wiki_pages'
Jeremy Ronquilloa2b380c2019-06-20 13:58:49 -0700604 - 'generate_automated_schedule_wiki'