print build url

This commit is contained in:
MilenaHristova 2023-03-03 12:19:33 +01:00
parent 65f50bbad2
commit 1b3f81b17a

View file

@ -32,7 +32,7 @@ jobs:
exit 1
fi
echo "Vmr build id: '$vmr_build'"
echo "Vmr build: https://dev.azure.com/dnceng/internal/_build/results?buildId='$vmr_build'&view=results"
installer_sha=$(az pipelines build tag list --organization '$(AZDO_ORG)' --project '$(AZDO_PROJECT)' --build-id $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)
@ -41,7 +41,7 @@ jobs:
exit 1
fi
echo "Installer build id: '$installer_build'"
echo "Installer build: https://dev.azure.com/dnceng/internal/_build/results?buildId='$installer_build'&view=results"
echo "##vso[task.setvariable variable=InstallerBuildId]$installer_build"
echo "##vso[task.setvariable variable=VmrBuildId]$vmr_build"