【问题标题】:Not able to push packages on Octopus无法在八达通上推送包裹
【发布时间】:2020-01-17 17:51:10
【问题描述】:

在任务“将包推送到 Octopus”时构建管道失败

##[section]开始:将包推送到 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\6.13.1\x64*Octo.dll 在 PATH 环境变量前添加目录:E:\vsts\a_tool\Octo\6.13.1\x64 [命令]C:\Windows\system32\cmd.exe /D /S /C "E:\vsts\a_tool\Octo\6.13.1\x64\Octo.cmd 版本"

E:\vsts\a\5833\s>dotnet "E:\vsts\a_tool\Octo\6.13.1\x64/Octo.dll" 版本 6.13.1 [命令]C:\Windows\system32\cmd.exe /D /S /C "E:\vsts\a_tool\Octo\6.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\a\5833\s>dotnet "E:\vsts\a_tool\Octo\6.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 部署命令行工具,版本 6.13.1

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

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

[错误]推送包失败。进程“E:\vsts\a_tool\Octo\6.13.1\x64\Octo.cmd”失败,退出代码为 4294967291

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

【问题讨论】:

    标签: octopus-deploy


    【解决方案1】:

    您无权执行此操作。请联络您的八达通管理员。缺少权限:BuiltInFeedPush 退出代码:-5

    您好像缺少推送包的权限?

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-02-23
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-03-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多