blob: 1509eca2f1f142dd8cd1050d3230e63b139b75d7 [file] [log] [blame]
---
# ONOS System Test Pipeline jobs
- var-init-boiler-plate: &var-init-boiler-plate
name: var-init-boiler-plate
FUNC: "FUNCgroup\nFUNCflow\nFUNCintent\nFUNCintentRest\nFUNCipv6Intent\nFUNCnetCfg\nFUNCnetconf\nFUNCoptical\nFUNCovsdbtest\nFUNCformCluster"
HA: "HAclusterRestart\nHAfullNetPartition\nHAkillNodes\nHAsanity\nHAscaling\nHAsingleInstanceRestart\nHAstopNodes\nHAswapNodes\nHAupgrade\nHAupgradeRollback"
SCPF: "SCPFcbench\nSCPFflowTp1g\nSCPFhostLat\nSCPFintentEventTp\nSCPFintentInstallWithdrawLat\nSCPFintentRerouteLat\nSCPFmastershipFailoverLat\nSCPFbatchFlowResp\nSCPFportLat\nSCPFscaleTopo\nSCPFscalingMaxIntents\nSCPFswitchLat\nSCPFflowTp1gWithFlowObj\nSCPFintentEventTpWithFlowObj\nSCPFintentRerouteLatWithFlowObj\nSCPFscalingMaxIntentsWithFlowObj\nSCPFintentInstallWithdrawLatWithFlowObj"
USECASE: "FUNCbgpls\nFUNCvirNetNB\nPLATdockertest\nVPLSBasic\nVPLSfailsafe\nUSECASE_SdnipFunction\nUSECASE_SdnipFunctionCluster\nSRClusterRestart\nSRDynamic\nSRHighAvailability\nSRLinkFailure\nSROnosFailure\nSRSanity\nSRSwitchFailure"
- job-boiler-plate: &job-boiler-plate
name: job-boiler-plate
project-type: pipeline
sandbox: true
properties:
- build-discarder:
num-to-keep: 20
- job-template:
name: all-pipeline-trigger
<<: *var-init-boiler-plate
<<: *job-boiler-plate
jvmPre: "${{"
jvmHeap: JAVA_OPTS:--Xms8G -Xmx8G
jvmEnd: "}}"
parameters:
- lf-infra-parameters:
project: '{project}'
branch: '{stream}'
stream: '{stream}'
lftools-version: '{lftools-version}'
- bool:
name: manual_run
default: false
description: |
Check this option if you are manually running this job (you most likely are).
You must specify which tests to run in the text field below.
- bool:
name: PostResult
default: false
description: |
Check this option if you want to update the results on the wiki.
When manually run, this will update the wiki pages corresponding to the tests that were run.
This option will always be selected during nightly builds.
- bool:
name: isOldFlow
default: false
description: |
Check this option if you prefer to run the old flow rule over the new one.
* This only applies to SCPF tests.
- choice:
name: ONOSVersion
choices:
- 'master'
- '1.12'
- '1.11'
description: "ONOS and TestON versions to run on."
- string:
name: ONOSJVMHeap
default: "${{JAVA_OPTS:--Xms8G -Xmx8G}}"
description: 'ONOS cell JVM heap size setting.'
- text:
name: Tests
default: '{FUNC}\n{HA}\n{SCPF}\n{USECASE}'
description: 'Specify the tests you want to run, if manual_run is selected.'
concurrent: false
triggers:
- timed: |
30 19 * * 1,2,3,4,5
30 11 * * 6,7
pipeline-scm:
script-path: TestON/JenkinsFile/JenkinsfileTrigger
scm:
- git:
url: '$GIT_URL/$GERRIT_PROJECT'
credentials-id: '{jenkins-ssh-credential}'
branches:
- 'master'
- project:
name: all-pipeline-trigger
project-name: all-pipeline-trigger
project: OnosSystemTest
stream: 'master'
# can we use this node or master ?
build-node: 'ubuntu16.04-basebuild-8c-15g'
jobs:
- 'all-pipeline-trigger'