Android & Continuous Integration & HockeyApp

Published by Igor Khrupin on


Here is the case. We need build Android application, test it using Continuous Integration. After that we need upload APK to HockeyApp.

The first part is well known.

So, how to upload APK to HockeyApp using command line?

I’ll refer you to HockeyApp API.

To make any interaction with HockeyApp we should have Token.

Here is link for obtaining HockeyApp token:

After that we able create script for sending APK like this:

curl \
-F "status=2" \
-F "notify=1" \
-F "notes=NOTES HERE" \
-F "notes_type=0" \
-F "ipa=@build.apk" \
-H "X-HockeyAppToken:TOKEN_HERE" \



Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.