[Build]: Support to set jobFilters (#10280)

[Build]: Support to set jobFilters
This commit is contained in:
xumia 2022-03-21 10:27:24 +08:00 committed by GitHub
parent 4659f8b8e8
commit 49ac9f9005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,20 @@ schedules:
pool: sonicbld
parameters:
- name: 'jobFilters'
type: object
default:
- vs
- barefoot
- broadcom
- centec
- centec-arm64
- generic
- innovium
- marvell-armhf
- mellanox
stages:
- stage: Build
variables:
@ -28,6 +42,7 @@ stages:
jobs:
- template: azure-pipelines-build.yml
parameters:
jobFilters: ${{ parameters.jobFilters }}
buildOptions: '${{ variables.VERSION_CONTROL_OPTIONS }} SONIC_BUILD_JOBS=$(nproc) ENABLE_IMAGE_SIGNATURE=y'
preSteps:
- script: |