无法在八达通上推送包裹

Not able to push packages on Octopus

构建管道在任务 'push packages to Octopus'

中失败

##[部分]开始:将包推送到八达通

任务:将包推送到八达通 描述:将您的 NuGet 或 Zip 包推送到您的 Octopus 部署服务器 版本:4.0.387 作者:章鱼部署

帮助:版本:4.0.387。 More Information

65978706-f70e-4ac0-8dc7-7f61db0ce4d8 存在 true 正在尝试联系 https://g.octopushq.com 以查找最新的 Octo 命令行工具版本 检查本地工具缓存 在缓存中找到工具:Octo 6.13.1 x64 寻找 E:\vsts\a_tool\Octo.13.1\x64*Octo.dll 在 PATH 环境变量前加上目录:E:\vsts\a_tool\Octo.13.1\x64 [命令]C:\Windows\system32\cmd.exe /D /S /C "E:\vsts\a_tool\Octo.13.1\x64\Octo.cmd version"

E:\vsts\a33\s>dotnet "E:\vsts\a_tool\Octo.13.1\x64/Octo.dll" 版本 6.13.1 [命令]C:\Windows\system32\cmd.exe /D /S /C "E:\vsts\a_tool\Octo.13.1\x64\Octo.cmd push "--server=https://octopus.bentley.com/" "--apiKey=***" "--space =Spaces-1" "--package=E:/vsts/a/5833/a/PGDQApp.2019.9.16.2.nupkg" "--overwrite-mode=OverwriteExisting""

E:\vsts\a33\s>dotnet "E:\vsts\a_tool\Octo.13.1\x64/Octo.dll" push "--server=https://octopus.bentley.com/" "--apiKey=***" "--space=Spaces-1" "--package=E:/vsts/a/5833/a/PGDQApp.2019.9.16.2.nupkg" "--overwrite-mode=OverwriteExisting" Octopus Deploy 命令行工具,版本 6.13.1

检测到的自动化环境:"AzureDevOps" 找到 space:默认值 (Spaces-1) Space 名称已指定,进程现在是 运行 在 space 的上下文中:默认 与八达通服务器握手:https://octopus.bentley.com/ 握手成功。八爪鱼版本:2019.7.13; API版本:3.0.0 鉴定为:Neha Lahoti 推包:E:\vsts\a33\a\PGDQApp.2019.9.16.2.nupkg... 从服务器请求增量压缩签名以上传 ID 为 'PGDQApp' 且版本为“2019.9.16.2”的包 服务器上不存在具有相同 ID 的包 回退到将完整的包推送到服务器 您无权执行此操作。请联络你的八达通管理员。缺少权限:BuiltInFeedPush 退出代码:-5

[错误]错误:进程 'E:\vsts\a_tool\Octo.13.1\x64\Octo.cmd' 失败,退出代码为 4294967291

[error]推送包失败。进程 'E:\vsts\a_tool\Octo.13.1\x64\Octo.cmd' 失败,退出代码为 4294967291

[section]完成:将包推送到 Octopus

You do not have permission to perform this action. Please contact your Octopus administrator. Missing permission: BuiltInFeedPush Exit code: -5

您似乎缺少推送包的权限?

请记住,在 Octopus 中,您需要拥有所有使用该包的项目的权限才能推送它的新版本(因为推送包可能触发特定项目的新部署)