Skip to content

Commit

Permalink
[ci] Simplify shipping drop metadata names (#9181)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pjcollins authored and jonathanpeppers committed Aug 13, 2024
1 parent 5ff92d6 commit 440290a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build-tools/automation/azure-pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 440290a

Please sign in to comment.