Skip to content

Conversation

@TravisEz13
Copy link
Member

@TravisEz13 TravisEz13 commented Aug 15, 2018

PR Summary

Make sure we do not upload artifacts during a pull request

PR Checklist

@iSazonov
Copy link
Collaborator

So how can we get artifacts from a PR?

@vexx32 vexx32 mentioned this pull request Aug 16, 2018
8 tasks
@TravisEz13
Copy link
Member Author

I've opened an issue on VSTS

build.psm1 Outdated
$resolvedPath = (Resolve-Path -Path $Path).ProviderPath
Write-Host "##vso[results.publish type=$Type;mergeResults=true;runTitle=$Title;publishRunAttachments=true;resultFiles=$resolvedPath;]"
Write-Host "##vso[artifact.upload containerfolder=testResults;artifactname=testResults]$resolvedPath"
Build.Reason'], 'PullRequest
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not understanding what this line is doing. It appears to be writing to the output stream but it's not clear what it is accomplishing.

@TravisEz13 TravisEz13 merged commit 0a1a47e into PowerShell:master Aug 16, 2018
@TravisEz13 TravisEz13 deleted the fix_artifact_upload branch August 16, 2018 20:18
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