Devin Lim | 38d1406 | 2018-01-11 17:08:00 -0800 | [diff] [blame^] | 1 | --- |
| 2 | # ONOS System Test Pipeline jobs |
| 3 | |
| 4 | - var-init-boiler-plate: &var-init-boiler-plate |
| 5 | name: var-init-boiler-plate |
| 6 | FUNC: "FUNCgroup\nFUNCflow\nFUNCintent\nFUNCintentRest\nFUNCipv6Intent\nFUNCnetCfg\nFUNCnetconf\nFUNCoptical\nFUNCovsdbtest\nFUNCformCluster" |
| 7 | HA: "HAclusterRestart\nHAfullNetPartition\nHAkillNodes\nHAsanity\nHAscaling\nHAsingleInstanceRestart\nHAstopNodes\nHAswapNodes\nHAupgrade\nHAupgradeRollback" |
| 8 | SCPF: "SCPFcbench\nSCPFflowTp1g\nSCPFhostLat\nSCPFintentEventTp\nSCPFintentInstallWithdrawLat\nSCPFintentRerouteLat\nSCPFmastershipFailoverLat\nSCPFbatchFlowResp\nSCPFportLat\nSCPFscaleTopo\nSCPFscalingMaxIntents\nSCPFswitchLat\nSCPFflowTp1gWithFlowObj\nSCPFintentEventTpWithFlowObj\nSCPFintentRerouteLatWithFlowObj\nSCPFscalingMaxIntentsWithFlowObj\nSCPFintentInstallWithdrawLatWithFlowObj" |
| 9 | USECASE: "FUNCbgpls\nFUNCvirNetNB\nPLATdockertest\nVPLSBasic\nVPLSfailsafe\nUSECASE_SdnipFunction\nUSECASE_SdnipFunctionCluster\nSRClusterRestart\nSRDynamic\nSRHighAvailability\nSRLinkFailure\nSROnosFailure\nSRSanity\nSRSwitchFailure" |
| 10 | |
| 11 | - job-boiler-plate: &job-boiler-plate |
| 12 | name: job-boiler-plate |
| 13 | |
| 14 | project-type: pipeline |
| 15 | |
| 16 | sandbox: true |
| 17 | |
| 18 | parameters: |
| 19 | - lf-infra-parameters: |
| 20 | project: '{project}' |
| 21 | branch: '{stream}' |
| 22 | stream: '{stream}' |
| 23 | lftools-version: '{lftools-version}' |
| 24 | |
| 25 | properties: |
| 26 | |
| 27 | - build-discarder: |
| 28 | num-to-keep: 20 |
| 29 | |
| 30 | - job: |
| 31 | name: all-pipeline-trigger |
| 32 | |
| 33 | <<: *var-init-boiler-plate |
| 34 | <<: *job-boiler-plate |
| 35 | |
| 36 | parameters: |
| 37 | |
| 38 | - bool: |
| 39 | name: manual_run |
| 40 | default: false |
| 41 | description: | |
| 42 | Check this option if you are manually running this job (you most likely are). |
| 43 | You must specify which tests to run in the text field below. |
| 44 | |
| 45 | - bool: |
| 46 | name: PostResult |
| 47 | default: false |
| 48 | description: | |
| 49 | Check this option if you want to update the results on the wiki. |
| 50 | When manually run, this will update the wiki pages corresponding to the tests that were run. |
| 51 | This option will always be selected during nightly builds. |
| 52 | |
| 53 | - bool: |
| 54 | name: isOldFlow |
| 55 | default: false |
| 56 | description: | |
| 57 | Check this option if you prefer to run the old flow rule over the new one. |
| 58 | * This only applies to SCPF tests. |
| 59 | |
| 60 | - choice: |
| 61 | name: ONOSVersion |
| 62 | choices: |
| 63 | - 'master' |
| 64 | - '1.12' |
| 65 | - '1.11' |
| 66 | description: "ONOS and TestON versions to run on." |
| 67 | |
| 68 | - string: |
| 69 | name: ONOSJVMHeap |
| 70 | default: "${JAVA_OPTS:--Xms8G -Xmx8G}" |
| 71 | description: 'ONOS cell JVM heap size setting.' |
| 72 | |
| 73 | - string: |
| 74 | name: Tests |
| 75 | default: '{FUNC}\n{HA}\n{SCPF}\n{USECASE}' |
| 76 | description: 'Specify the tests you want to run, if manual_run is selected.' |
| 77 | |
| 78 | concurrent: false |
| 79 | |
| 80 | triggers: |
| 81 | - timed: | |
| 82 | 30 19 * * 1,2,3,4,5 |
| 83 | 30 11 * * 6,7 |
| 84 | |
| 85 | pipeline-scm: |
| 86 | script-path: TestON/JenkinsFile/JenkinsfileTrigger |
| 87 | scm: |
| 88 | - git: |
| 89 | url: '$GIT_URL/$GERRIT_PROJECT' |
| 90 | credentials-id: '{jenkins-ssh-credential}' |
| 91 | branches: |
| 92 | - '{stream}' |
| 93 | |
| 94 | - project: |
| 95 | name: all-pipeline-trigger |
| 96 | project-name: all-pipeline-trigger |
| 97 | project: OnosSystemTest |
| 98 | stream: 'master' |
| 99 | # can we use this node or master ? |
| 100 | build-node: 'ubuntu16.04-basebuild-8c-15g' |
| 101 | jobs: |
| 102 | - 'all-pipeline-trigger' |