Closed lbussell closed 19 hours ago
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.
I couldn't figure out the best area label to add to this PR. If you have write-permissions please help me learn by adding exactly one area label.
This PR fixes an issue that was encountered when publishing Server 2025 images: https://dev.azure.com/dnceng/internal/_build/results?buildId=2589255&view=logs&j=11434e3e-4fd8-538e-73a7-1fa357b5715e&t=ac305b46-e5f7-5446-77d9-86c252a1ec29&l=49 [internal MSFT link]
For some reason, Windows PowerShell was interpreting the path (
C:\a\_work\_temp\token
) as a path to an executable. Wrapping it in single quotes avoids this. I am not sure what the reason for the behavior change is.Here's a pipeline run where I tested out this fix: https://dev.azure.com/dnceng/internal/_build/results?buildId=2589326&view=logs&j=11434e3e-4fd8-538e-73a7-1fa357b5715e&t=ac305b46-e5f7-5446-77d9-86c252a1ec29 [internal MSFT link]