From 440290abdfa0e5d221da2cd4db1a7f4326cc1ae6 Mon Sep 17 00:00:00 2001 From: Peter Collins Date: Mon, 12 Aug 2024 14:57:00 -0400 Subject: [PATCH] [ci] Simplify shipping drop metadata names (#9181) Using the $(System.JobAttempt) variable in the drop metadata artifact name is problematic. In some cases the drop artifacts created by the nuget-msi-convert job will be used by a different job, and the job attempt number will not necessarily match if any jobs are re-ran. --- build-tools/automation/azure-pipelines.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-tools/automation/azure-pipelines.yaml b/build-tools/automation/azure-pipelines.yaml index 22bd4546be4..a85638a2d24 100644 --- a/build-tools/automation/azure-pipelines.yaml +++ b/build-tools/automation/azure-pipelines.yaml @@ -557,7 +557,7 @@ extends: - output: artifactsDrop dropServiceURI: https://devdiv.artifacts.visualstudio.com/DefaultCollection buildNumber: $(ReleaseDropPrefix)/symbols - dropMetadataContainerName: DropMetadata-$(Build.BuildId)-symbols-$(System.JobAttempt) + dropMetadataContainerName: DropMetadata-shipping-symbols sourcePath: $(Build.StagingDirectory)\symbols retentionDays: 120 toLowerCase: false @@ -574,7 +574,7 @@ extends: - task: DownloadPipelineArtifact@2 inputs: - artifactName: DropMetadata-$(Build.BuildId)-nugets-$(System.JobAttempt) + artifactName: DropMetadata-shipping-nugets downloadPath: $(Build.StagingDirectory)\metadata displayName: Download nugets drop metadata