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: https://rink.hockeyapp.net/manage/auth_tokens
After that we able create script for sending APK like this:
-F "status=2" \
-F "notify=1" \
-F "notes=NOTES HERE" \
-F "notes_type=0" \
-F "firstname.lastname@example.org" \
-H "X-HockeyAppToken:TOKEN_HERE" \