-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get-VSTeamBuildArtifact fails #148
Comments
I think this has to do with upgrading the version of the API we use by default. I have noticed some properties have moved around. I will look into it now. |
Please run the following command and report the results. Get-VSTeamAPIVersion |
|
@DarqueWarrior any updates on this case? looks like if I ErrorAction Continue I get a valid download Url |
Are you connected to a TFS2017 server? |
i try to download artifact from a Azure DevOps Hosted Agent pipeline, checking the pipeline setup it looks like it throws if the pipeline uses the Publish PipeLine Artifacts task instead when I used the Publish build artifact task I was able to get a valid DownloadUrl. For me this solution is fine, thanks for the support. |
The reason I asked is because the version of the API you were using was for TFS2017. Call SetVSTeamAPIVersion and set to AzD and try again. |
I've raised a PR that should fix this issue: It occurs because the API is returning an extra result after all the artifact that is a different type (its called GitRef) and doesn't have a sub property named "properties": My PR adds an extra condition to the |
Hi
I am executing the next script
however there is an exception in the output
and is still not clear how do I download the artifacts.
The text was updated successfully, but these errors were encountered: