Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build id variable name when selecting container #17279

Merged
merged 1 commit into from May 6, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 3 additions & 1 deletion .vsts-ci/linux.yml
Expand Up @@ -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

Expand Down