[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 xumia
parent 01fdf5954b
commit 37aaed44bd

View File

@ -16,6 +16,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:
@ -24,6 +38,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: |