Skip to content

Migrate from PublishBuildArtifacts to PublishPipelineArtifact#16638

Merged
mmitche merged 3 commits intodotnet:mainfrom
mmitche:dev/mmitche/publish-pipeline-artifacts
Mar 30, 2026
Merged

Migrate from PublishBuildArtifacts to PublishPipelineArtifact#16638
mmitche merged 3 commits intodotnet:mainfrom
mmitche:dev/mmitche/publish-pipeline-artifacts

Conversation

@mmitche
Copy link
Copy Markdown
Member

@mmitche mmitche commented Mar 27, 2026

  • Switch publish-build-artifacts to publish-pipeline-artifacts in publish-logs.yml, publish-build-assets.yml, job.yml (both templates and templates-official), and xcopy-msbuild pipeline
  • Split artifacts publish into succeeded() (clean name) and not(succeeded()) (with _Attempt suffix) for retry disambiguation
  • Append _Attempt suffix after coalesce so it applies to both user-provided and default artifact names

To double check:

- Switch publish-build-artifacts to publish-pipeline-artifacts in
  publish-logs.yml, publish-build-assets.yml, job.yml (both templates
  and templates-official), and xcopy-msbuild pipeline
- Split artifacts publish into succeeded() (clean name) and
  not(succeeded()) (with _Attempt suffix) for retry disambiguation
- Append _Attempt suffix after coalesce so it applies to both
  user-provided and default artifact names

Co-authored-by: Copilot <[email protected]>
@mmitche mmitche requested a review from akoeplinger March 27, 2026 17:48
@mmitche
Copy link
Copy Markdown
Member Author

mmitche commented Mar 27, 2026

akoeplinger
akoeplinger previously approved these changes Mar 27, 2026
@mmitche
Copy link
Copy Markdown
Member Author

mmitche commented Mar 27, 2026

Needs fix for NuGet validation

@mmitche mmitche merged commit b51669b into dotnet:main Mar 30, 2026
9 checks passed
mmitche added a commit to mmitche/arcade that referenced this pull request Mar 30, 2026
The migration from PublishBuildArtifacts to PublishPipelineArtifact (dotnet#16638)
changed the download task from DownloadBuildArtifacts@0 to
DownloadPipelineArtifact@0, but @0 downloads to
by default instead of . The Set Release
Configs Vars step then fails because it reads from
/ReleaseConfigs/ReleaseConfigs.txt.

Switch to DownloadPipelineArtifact@2 with an explicit targetPath to
/ReleaseConfigs, matching the path the script
expects.

Fixes: https://dev.azure.com/dnceng/internal/_build/results?buildId=2939506

Co-authored-by: Copilot <[email protected]>
Copilot AI pushed a commit that referenced this pull request Apr 7, 2026
mmitche added a commit to mmitche/arcade that referenced this pull request Apr 8, 2026
…#16638)

Co-authored-by: Copilot <[email protected]>
(cherry picked from commit b51669b)

# Conflicts:
#	eng/common/core-templates/steps/publish-logs.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants