From 3bff8c0e69e910300d888bd6020394d29feb4c20 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Fri, 6 May 2022 11:47:42 -0700 Subject: [PATCH] Fix build id variable name when selecting CI container (#17279) --- .vsts-ci/linux.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.vsts-ci/linux.yml b/.vsts-ci/linux.yml index e553689652c8..14907611f71e 100644 --- a/.vsts-ci/linux.yml +++ b/.vsts-ci/linux.yml @@ -116,11 +116,13 @@ stages: clean: true - pwsh: | + $buildId = $env:BUILD_BUILDID + Write-Verbose "Fall back seed: $buildId" -Verbose # For PRs set the seed to the PR number so that the image is always the same $seed = $env:SYSTEM_PULLREQUEST_PULLREQUESTID if(!$seed) { # for non-PRs use the integer identifier of the build as the seed. - $seed = $env:SYSTEM_BUILD_BUILDID + $seed = $buildId } Write-Verbose "Seed: $seed" -Verbose