Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions tools/releaseBuild/azureDevOps/templates/nuget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,8 @@ jobs:
displayName: 'Download PowerShell build artifacts'
inputs:
buildType: current
downloadType: specific
itemPattern: |
finalResults/PowerShell-*-win-*.zip
finalResults/powershell-*.tar.gz
results/powershell-*-osx-x64.tar.gz
downloadType: single
artifactName: finalResults

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is finalResults a folder or a single file? Is this change actually copies all items in the finalResults folder to $(System.ArtifactsDirectory)?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change, yes downloads all files from finalResults. I always hit some issue if I tried the filters, and this was faster than what we had before so I stopped here.

@TravisEz13 Travis Plunk (TravisEz13) Mar 8, 2019 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You questions indicates you understood the change well enough.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I saw finalResults appears in the build log as a folder :) A lucky guess

downloadPath: '$(System.ArtifactsDirectory)'

- powershell: 'Get-ChildItem $(System.ArtifactsDirectory) -recurse'
Expand Down