From b6313ec0d5fd02d9ad19e89941343c5cce4dd234 Mon Sep 17 00:00:00 2001 From: Davis Goodin Date: Mon, 10 Jun 2024 14:12:07 -0700 Subject: [PATCH] Fix blobContainer to log correct expected links (#1248) --- eng/pipeline/stages/publish-stage.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/eng/pipeline/stages/publish-stage.yml b/eng/pipeline/stages/publish-stage.yml index 3b6471b0622..303dde1f080 100644 --- a/eng/pipeline/stages/publish-stage.yml +++ b/eng/pipeline/stages/publish-stage.yml @@ -42,11 +42,13 @@ stages: pool: ${{ parameters.pool }} variables: + - name: blobBackupAccount + value: golangartifactsbackup - name: blobContainer ${{ if parameters.public }}: value: 'https://dotnetbuildoutput.blob.core.windows.net/golang/microsoft' ${{ else }}: - value: 'https://golangartifacts.blob.core.windows.net/microsoft' + value: 'https://$(blobBackupAccount).blob.core.windows.net/microsoft' - name: blobPrefix value: '$(PublishBranchAlias)/$(Build.BuildNumber)' @@ -152,7 +154,7 @@ stages: inputs: Destination: AzureBlob azureSubscription: golang-pme-storage - storage: golangartifactsbackup + storage: $(blobBackupAccount) ContainerName: microsoft SourcePath: '$(Pipeline.Workspace)/Binaries Signed/*' BlobPrefix: $(blobPrefix)