This commit is contained in:
MilenaHristova 2023-03-01 18:47:25 +01:00
parent 78224338ac
commit 2ac84026ee
2 changed files with 6 additions and 4 deletions

View file

@ -19,10 +19,11 @@ jobs:
fail "Could not find a completed vmr build"
exit 1
fi
echo "Vmr build id: '$last_vmr_build'"
last_vmr_build=2108850
echo "Vmr build id: '$last_vmr_build'"
installer_sha=$(az pipelines build tag list --organization '$(AZDO_ORG)' --project '$(AZDO_PROJECT)' --build-id $last_vmr_build --output tsv | sed "s,installer-,,g")
installer_build=$(az pipelines runs list --organization '$(AZDO_ORG)' --project '$(AZDO_PROJECT)' --pipeline-ids '$(INSTALLER_OFFICIAL_CI_PIPELINE_ID)' --query "[?sourceVersion == '$installer_sha'].id" --output tsv)
if [[ -z "$installer_build" ]]; then
@ -35,6 +36,7 @@ jobs:
echo "##vso[task.setvariable variable=InstallerBuildId;isoutput=true]$installer_build"
echo "##vso[task.setvariable variable=VmrBuildId;isoutput=true]$last_vmr_build"
displayName: Get Build IDs
name: Get_Build_Ids
env:
AZURE_DEVOPS_EXT_PAT: $(System.AccessToken)

View file

@ -22,9 +22,9 @@ jobs:
- template: /eng/common/templates/variables/pool-providers.yml
- template: /eng/common/templates/variables/pipelines.yml
- name: InstallerBuildId
value: $[ dependencies.Get_Build_Information.outputs['ids.InstallerBuildId'] ]
value: $[ dependencies.Get_Build_Information.outputs['Get_Build_Ids.InstallerBuildId'] ]
- name: VmrBuildId
value: $[ dependencies.Get_Build_Information.outputs['ids.VmrBuildId'] ]
value: $[ dependencies.Get_Build_Information.outputs['Get_Build_Ids.VmrBuildId'] ]
- name: TestResultsFileName
value: ${{ parameters.buildName }}_${{ parameters.architecture }}_SDKComparisonTests.trx