3

​Hi!

I have a problem when i try distribute an Android app using pipelines. I have a simple task for distribute but always return 405 error.

This is my task:

- 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)'

​ Also i try with Releases but i have same error.

Release Task: Release

Response: Response

All variables are define and the apk generated works fine. If i download artifact and upload manually on AppCenter all works fine. But the task doesn't work.

My appcenter url : https://appcenter.ms/users/mbarrera-plainconcepts/apps/FirstDays.Android

Variables: Variables

Any idea?

Thank you in advance!!!

1 Answers1

0
    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