Upload apk to Hockeyapp From VSTS

Tarek Mowafy's Avatar

Tarek Mowafy

12 Sep, 2017 09:58 AM

Hello,

I am having a problem when using the Hockeyapp plugin as a task on VSTS Build process, I added a task to upload an apk , created the hockeyapp connection and added the appID that is shown on the app page.

So the hockeyapp publishing is being the last step after building the app using gradlew assembleDebug, But i get an error as following:
N.B. : the app doesnt contain any certificates (signed or unsigned).

2017-09-11T17:05:57.4469790Z ##[section]Starting: Deploing the app-debug.apk to HockeyApp
2017-09-11T17:05:57.4525240Z ==============================================================================
2017-09-11T17:05:57.4537450Z Task : HockeyApp
2017-09-11T17:05:57.4549650Z Description : Deploy your alpha and beta builds of mobile apps to HockeyApp
2017-09-11T17:05:57.4561850Z Version : 1.119.0
2017-09-11T17:05:57.4573850Z Author : Microsoft Corporation
2017-09-11T17:05:57.4585820Z Help :
2017-09-11T17:05:57.4597850Z ==============================================================================
2017-09-11T17:05:57.9696540Z 6169d57d-0776-4ace-a2ed-459e71e6b887 exists true
2017-09-11T17:05:58.3819160Z ##[error]Error: Failed to upload the package. Error: {"code":"SELF_SIGNED_CERT_IN_CHAIN"}
2017-09-11T17:05:58.4414330Z ##[section]Finishing: Deploing the app-debug.apk to HockeyApp

Thanks in advance.

  1. Support Staff 1 Posted by Shawn Dyas on 12 Sep, 2017 08:08 PM

    Shawn Dyas's Avatar

    Hi Tarek,

    Are you able to upload the same app package via our api or web user interface without seeing this error? Thanks in advance.

    Cheers,

    Shawn

  2. 2 Posted by Tarek Mowafy on 12 Sep, 2017 09:33 PM

    Tarek Mowafy's Avatar

    Yes I am able to upload the exact same apk manually without any errors

  3. Support Staff 3 Posted by Shawn Dyas on 13 Sep, 2017 10:42 PM

    Shawn Dyas's Avatar

    Hi Tarek,

    Sorry for the delay was looking for a relevant issue with the VSTS task. Please open a support request with the VSTS team they own this plugin.

    Thanks,

    Shawn

  4. 4 Posted by EDDaman Electri... on 16 Sep, 2017 01:08 PM

    EDDaman Electricity Department's Avatar

    How to add ask manually using Web US ??

  5. 5 Posted by EDDaman Electri... on 16 Sep, 2017 01:09 PM

    EDDaman Electricity Department's Avatar

    How to add apk manually???

  6. Support Staff 6 Posted by Shawn Dyas on 17 Sep, 2017 04:07 PM

    Shawn Dyas's Avatar

    Hi,

    You can use our api for this or drag and drop: https://support.hockeyapp.net/kb/api/api-versions

    Thanks,

    Shawn

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac