Fix Ubuntu 20.04 artifact name in SDK diffing pipeline (#15942)
This commit is contained in:
parent
cb35390c1b
commit
67401ae290
2 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ jobs:
|
||||||
- template: templates/jobs/sdk-diff-tests.yml
|
- template: templates/jobs/sdk-diff-tests.yml
|
||||||
parameters:
|
parameters:
|
||||||
buildName: Ubuntu2004_Offline_MsftSdk
|
buildName: Ubuntu2004_Offline_MsftSdk
|
||||||
targetRid: ubuntu.2004-x64
|
targetRid: ubuntu.20.04-x64
|
||||||
architecture: x64
|
architecture: x64
|
||||||
dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }}
|
dotnetDotnetRunId: ${{ parameters.dotnetDotnetRunId }}
|
||||||
|
|
||||||
|
|
|
@ -85,14 +85,14 @@ jobs:
|
||||||
msft_sdk_tarball_name=$(find "$(Pipeline.Workspace)/Artifacts" -name "dotnet-sdk-*-linux-${{ parameters.architecture }}.tar.gz" -exec basename {} \;)
|
msft_sdk_tarball_name=$(find "$(Pipeline.Workspace)/Artifacts" -name "dotnet-sdk-*-linux-${{ parameters.architecture }}.tar.gz" -exec basename {} \;)
|
||||||
|
|
||||||
if [[ -z "$msft_sdk_tarball_name" ]]; then
|
if [[ -z "$msft_sdk_tarball_name" ]]; then
|
||||||
echo "Microsoft SDK tarball does not exist in '$(Pipeline.Workspace)/Artifacts'. The associated build 'https://dev.azure.com/dnceng/internal/_build/results?buildId=$(InstallerBuildId)&view=results' might have failed."
|
echo "Microsoft SDK tarball does not exist in '$(Pipeline.Workspace)/Artifacts'. The associated build https://dev.azure.com/dnceng/internal/_build/results?buildId=$(InstallerBuildId) might have failed."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sdk_tarball_name=$(find "$(Pipeline.Workspace)/Artifacts" -name "dotnet-sdk-*-${{ parameters.targetRid }}.tar.gz" -exec basename {} \;)
|
sdk_tarball_name=$(find "$(Pipeline.Workspace)/Artifacts" -name "dotnet-sdk-*-${{ parameters.targetRid }}.tar.gz" -exec basename {} \;)
|
||||||
|
|
||||||
if [[ -z "$sdk_tarball_name" ]]; then
|
if [[ -z "$sdk_tarball_name" ]]; then
|
||||||
echo "Source-build SDK tarball does not exist in '$(Pipeline.Workspace)/Artifacts'. The associated build 'https://dev.azure.com/dnceng/internal/_build/results?buildId=$(DotnetDotnetBuildId)&view=results' might have failed"
|
echo "Source-build SDK tarball does not exist in '$(Pipeline.Workspace)/Artifacts'. The associated build https://dev.azure.com/dnceng/internal/_build/results?buildId=$(DotnetDotnetBuildId) might have failed"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue