Skip to content

Conversation

@adityapatwardhan
Copy link
Member

@adityapatwardhan adityapatwardhan commented Oct 24, 2018

PR Summary

Added logging for New-TestPackage to make debugging easier.
Filter the artifact uploads with the package name instead of *.zip to avoid Help Zip files from being uploaded.

PR Checklist

@adityapatwardhan
Copy link
Member Author

I have verified the changes on a private CI run, which is a clone of the official Azure DevOps pipeline.

Copy link

@anmenaga anmenaga left a comment

Choose a reason for hiding this comment

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

1 update needed; otherwise looks good.

.vsts-ci/mac.yml Outdated
# Uploads any packages as an artifact
- powershell: |
Get-ChildItem -Path *.pkg, *.tar.gz, *.zip -Recurse | Select-Object -ExpandProperty FullName | ForEach-Object {
Write-Host "PWD == $pwd"

Choose a reason for hiding this comment

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

As far as I remember $pwd variable should Not be used in scripts. Change to Get-Location.

Copy link
Collaborator

Choose a reason for hiding this comment

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

it's likely in this context it's ok, but something that we should be aware of.

Copy link
Collaborator

@JamesWTruher JamesWTruher left a comment

Choose a reason for hiding this comment

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

my comment isn't blocking

.vsts-ci/mac.yml Outdated
# Uploads any packages as an artifact
- powershell: |
Get-ChildItem -Path *.pkg, *.tar.gz, *.zip -Recurse | Select-Object -ExpandProperty FullName | ForEach-Object {
Write-Host "PWD == $pwd"
Copy link
Collaborator

Choose a reason for hiding this comment

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

it's likely in this context it's ok, but something that we should be aware of.

@adityapatwardhan
Copy link
Member Author

adityapatwardhan commented Oct 29, 2018

@JamesWTruher @anmenaga Removed the usage of $pwd it was a debug statement which can now be removed.

@adityapatwardhan
Copy link
Member Author

I will merge when CI passes.

@adityapatwardhan adityapatwardhan merged commit d7c7fa5 into PowerShell:master Oct 29, 2018
@adityapatwardhan adityapatwardhan deleted the FixMacOSTestPackage branch October 29, 2018 21:13
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.

3 participants