Export the azure pipeline build id for SONiC version (#7406)

Improve the SONiC version, fix the "azure pipeline build id" part

<target branch name>-<pullrequest id>.<azure pipelines build id>-<merge commit id>
Example: master-7381.11668-43df5c87
This commit is contained in:
xumia 2021-04-23 17:58:46 +08:00 committed by Shilong Liu
parent 7ece5de700
commit 0f27cdd388

View File

@ -26,6 +26,7 @@ jobs:
jobVariables: jobVariables:
PLATFORM_AZP: $(GROUP_NAME) PLATFORM_AZP: $(GROUP_NAME)
PLATFORM_ARCH: amd64 PLATFORM_ARCH: amd64
BUILD_NUMBER: $(Build.BuildId)
BUILD_OPTIONS: ${{ parameters.buildOptions }} BUILD_OPTIONS: ${{ parameters.buildOptions }}
DOCKER_DATA_ROOT_FOR_MULTIARCH: /data/march/docker DOCKER_DATA_ROOT_FOR_MULTIARCH: /data/march/docker
dbg_image: no dbg_image: no