Skip to content

Commit

Permalink
Pull Azure storage location from variable
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlock committed Aug 10, 2021
1 parent 339b61e commit 501c720
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .azure-pipelines/ultimate-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -936,7 +936,7 @@ stages:

- bash: |
az storage blob upload-batch \
--destination 'apm-dotnet-ci-artifiacts-master' \
--destination "$(AZURE_STORAGE_CONTAINER_NAME)" \
--destination-path "$(Build.SourceVersion)" \
--source "$(Build.ArtifactStagingDirectory)"
displayName: Upload blobs to Azure
Expand All @@ -952,8 +952,8 @@ stages:
displayName: Write commit hash to sha.txt

- bash: |
az storage blob upload --container-name 'apm-dotnet-ci-artifiacts-master' --file "index.txt" --name "index.txt"
az storage blob upload --container-name 'apm-dotnet-ci-artifiacts-master' --file "sha.txt" --name "sha.txt"
az storage blob upload --container-name "$(AZURE_STORAGE_CONTAINER_NAME)" --file "index.txt" --name "index.txt"
az storage blob upload --container-name "$(AZURE_STORAGE_CONTAINER_NAME)" --file "sha.txt" --name "sha.txt"
displayName: Upload indexes to Azure
condition: and(succeeded(), eq(variables.isMainBranch, true), ne(variables['isNgenTestBuild'], 'True'))
env:
Expand Down

0 comments on commit 501c720

Please sign in to comment.