嗨!
我尝试使用管道分发Android应用程序时遇到问题。我有一个简单的分发任务,但总是返回405错误。
这是我的任务:
- task: AppCenterDistribute@3
inputs:
serverEndpoint: 'AppCenterConnection'
appSlug: '$(APPCENTER_ANDROID_DISTRIBUTION_SLUG)'
appFile: '**/*.apk'
symbolsOption: 'Android'
releaseNotesOption: 'input'
releaseNotesInput: 'Build $(Build.BuildNumber). Development version'
destinationType: 'groups'
distributionGroupId: '$(APPCENTER_ANDROID_DISTRIBUTION_GROUP)'
我也尝试发布,但我有同样的错误。
所有变量均已定义,生成的apk正常运行。如果我下载工件并在AppCenter上手动上传,则一切正常。但是该任务无效。
我的appcenter网址:https://appcenter.ms/users/mbarrera-plainconcepts/apps/FirstDays.Android
任何想法?
先谢谢您!!
This configuration worked for me.
My Version:
- task: AppCenterDistribute@3
inputs:
serverEndpoint: 'myAPPcenter'
appSlug: 'ORG/application'
appFile: '$(build.artifactstagingdirectory)/*.apk'
symbolsOption: 'Android'
releaseNotesOption: 'file'
releaseNotesFile: '$(Build.SourcesDirectory)/CHANGELOG.md'
destinationType: 'groups'
isSilent: false