【发布时间】:2022-02-15 22:36:20
【问题描述】:
当我尝试使用其名称将 nuget 包推送到本地 Artifact 提要时,推送失败:
error: Unable to load the service index for source
https://pkgs.dev.azure.com/companyname/_packaging/MyFeed/nuget/v3/index.json.
error: Response status code does not indicate success: 404 (Not Found - The feed with ID 'MyFeed' doesn't exist.
我的配置是:
- task: DotNetCoreCLI@2
displayName: 'Publish nuget'
inputs:
command: 'push'
nuGetFeedType: 'internal'
packagesToPush: '$(Build.ArtifactStagingDirectory)/*.nupkg'
publishVstsFeed: 'MyFeed'
现在,如果我在编辑 azure-pipelines.yaml 时使用右侧提供的可视化工具添加这个块,它会放置一些看起来像“GUID/GUID”的标识符,并且使用这个确实有效。所以我想知道 Pipeline 或 Feed 是否缺少一些配置?
我检查了项目和项目集合构建服务都对提要具有贡献者权限。
【问题讨论】:
标签: azure-devops azure-pipelines azure-artifacts