Skip to content

Commit

Permalink
Add logging for partner publish pipeline (#41212)
Browse files Browse the repository at this point in the history
  • Loading branch information
weshaggard authored Jul 19, 2024
1 parent 6466862 commit 590e15c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions eng/pipelines/partner-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,14 @@ extends:
azurePowerShellVersion: LatestVersion
pwsh: true
Inline: |
echo "azcopy copy 'https://azuresdkpartnerdrops.blob.core.windows.net/drops/${{ parameters.BlobPath }}/*' '$(Artifacts)' --recursive=true"
azcopy copy 'https://azuresdkpartnerdrops.blob.core.windows.net/drops/${{ parameters.BlobPath }}/*' '$(Artifacts)' --recursive=true
echo "Copied files:"
dir '$(Artifacts)' -r | % { $_.FullName }
$copiedFiles = (dir '$(Artifacts)' -r | % { $_.FullName })
echo "Copied files: $copiedFiles"
if (!$copiedFiles) {
echo "Failed to copy any files from 'https://azuresdkpartnerdrops.blob.core.windows.net/drops/${{ parameters.BlobPath }}/*' please double check they exist"
exit 1
}
env:
AZCOPY_AUTO_LOGIN_TYPE: 'PSCRED'

Expand Down

0 comments on commit 590e15c

Please sign in to comment.