Skip to content

Fix ReleaseConfigs download path after pipeline artifacts migration#16645

Open
mmitche wants to merge 1 commit intodotnet:mainfrom
mmitche:dev/mmitche/fix-release-configs-download
Open

Fix ReleaseConfigs download path after pipeline artifacts migration#16645
mmitche wants to merge 1 commit intodotnet:mainfrom
mmitche:dev/mmitche/fix-release-configs-download

Conversation

@mmitche
Copy link
Copy Markdown
Member

@mmitche mmitche commented Mar 30, 2026

The migration from PublishBuildArtifacts to PublishPipelineArtifact (#16638) changed the download task from DownloadBuildArtifacts@0 to DownloadPipelineArtifact@0, but @0 downloads to $(Pipeline.Workspace) by default instead of $(Build.ArtifactStagingDirectory). The Set Release Configs Vars step then fails because it reads from $(Build.StagingDirectory)/ReleaseConfigs/ReleaseConfigs.txt.

Switches to DownloadPipelineArtifact@2 with an explicit targetPath to $(Build.StagingDirectory)/ReleaseConfigs, matching the path the script expects.

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

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 <223556219+Copilot@users.noreply.github.com>
@mmitche
Copy link
Copy Markdown
Member Author

mmitche commented Mar 30, 2026

Unblocks arcade official builds.

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.

1 participant