-
Notifications
You must be signed in to change notification settings - Fork 138
Closed
dotnet/sdk
#46064Labels
area-buildImprovements in source-build's own build processImprovements in source-build's own build processops-monitorIssues created/handled by the source build monitor roleIssues created/handled by the source build monitor role
Description
Related to #4537 and dotnet/sdk@e5a8c45, it seems that @ViktorHofer added the condition succeededOrFailed() to the publish artifacts step and it does not support overwriting artifacts.
Failing build (internal Microsoft link):
##[error]Artifact CentOSStream9_Mono_Offline_CurrentSourceBuiltSdk_x64_Artifacts already exists for build 2620900.
Does below solution make sense to you @MichaelSimons @ellahathaway @ViktorHofer ?
- Add another Publish Artifacts step that only publish on success, and modify the current Publish Artifacts step to include
$(System.JobAttempt)that only publish on fail. This will not affect the other pipelines download these artifacts.
Metadata
Metadata
Assignees
Labels
area-buildImprovements in source-build's own build processImprovements in source-build's own build processops-monitorIssues created/handled by the source build monitor roleIssues created/handled by the source build monitor role
Type
Projects
Status
Done