azure-pipelines - 是否可以通过azure管道将zip文件推送到应用程序中心?

标签 azure-pipelines visual-studio-app-center

我尝试遵循

- task: AppCenterDistribute@3
  inputs:
    serverEndpoint: 'AppCenter-Connection'
    appSlug: 'Organisation/TestHarness'
    appFile: '$(Build.ArtifactStagingDirectory)/$(Build.BuildNumber).zip'
    releaseNotesOption: 'input'
    releaseNotesInput: 'Build $(Build.BuildNumber)'
    destinationType: 'groups'

但我收到错误

##[错误]"{\"错误\":\"错误:主体中缺少必需的参数:build_version,服务 ID:f734ab18-06ca-4882-a3fb-14cc2a7897897\"}"

最佳答案

它能够推送 zip 文件。如果您使用 WPF 或 WinForms 平台。请明确添加构建版本:

buildVersion

(Optional) The build version of the uploading binary which needs to be specified for .zip and .msi. This value will be ignored unless the platform is WPF or WinForms.

否则,请在此处查看类似的问题:Missing required params from body 。看来问题与签名有关。

请检查上述链接中的解决方案(例如修复代码签名/创建 plist 文件)是否也适合您。

关于azure-pipelines - 是否可以通过azure管道将zip文件推送到应用程序中心?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61994896/

相关文章:

azure-devops - ARM错误: Could not find any file matching the template file pattern的VSTS流水线部署

c# - 如何在 Xamarin 中使用 Firebase 实现推送通知和使用 C# 后端实现 Apple 推送通知

azure - 应用程序中心未跟踪的事件

continuous-integration - 如何将 VSTS 生成的构建版本关联到 VS App Center 中的发布?

android - 修复 VS Mobile Center 上的 "Error: Publish build artifacts failed with error: Not found PathtoPublish"

azure-devops - 有没有办法在Azure Pipelines条件中使用自定义变量

azure - 如何安全地将凭据放入自定义 Azure DevOps 任务中?

azure-devops - master 的 Azure DevOps CI 管道由分支中的更改触发,反之亦然

azure-devops - Azure 管道 : Bulk approve of deployments to environments

xamarin - Visual Studio App Center Analytics 不适用于 Xamarin Forms Android 项目