如何让URL下载Azure DevOps中的最新构建的工件包
我曾经有一个像这样的简单URL(下图),它自动指向了最新的构建工件。
https://{organization}.visualstudio.com/{project}/_packaging?_a=packagefeed={feedid}&package={packageid}&preferRelease=true?api-version=6.0-preview.1
但是由于Azure进行了一些更新,因此不再起作用。
有人知道一种解决这个问题的方法吗?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果要下载由 发布构建工件任务 或 发布管道伪像 从构建管道中,您可以使用resi api“ < a href =“ https://learn.microsoft.com/en-us/rest/rest/api/azure/devops/build/build/build/artifacts/get-artifact?view= azure-devops-rest-6.0” > 伪像 - 获取伪像 “获取指定的构建伪像的下载URL。
如果您想获取发布给Azure工件供稿的软件包的下载URL,则可以尝试使用以下resi api下载该软件包:
If you want to download the artifact published by the Publish Build Artifacts task or Publish Pipeline Artifacts task from the build pipeline, you can use the RESI API "Artifacts - Get Artifact" to get the download URL the specified build artifact.
If you want to get the download URL of a package published to the feed of Azure Artifacts, you can try using the following RESI API to download the package: