Update eng/pipelines/templates/jobs/sdk-comparison-tests.yml

Co-authored-by: Přemek Vysoký <premek.vysoky@microsoft.com>
This commit is contained in:
Milena Hristova 2023-03-03 11:46:46 +01:00 committed by GitHub
parent ebdc908f6b
commit 2af74c66c9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,8 @@ jobs:
- template: ../variables/pipelines.yml
steps:
- script: |
vmr_build=${{ replace(parameters.dotnetDotnetRunID, ' ', '') }}
vmr_build='${{ replace(parameters.dotnetDotnetRunID, ' ', '') }}'
if [[ -z "$vmr_build" ]]; then
vmr_build=$(az pipelines runs list --organization '$(AZDO_ORG)' --project '$(AZDO_PROJECT)' --pipeline-ids '$(DOTNET_DOTNET_CI_PIPELINE_ID)' --status completed --top 1 --query "[].id" --output tsv)