I am looking for a method that I can use to automatically publish an application to both the alpha and beta testing streams on the Google Play store, from my CI server.
My CI setup is as follows:
- The Android app is written using Android Studio (using Eclipse really isn't an option for us).
- The build scripts are written in Rake, and run the Gradle tasks, as well as Calabash-Android tests.
- The build server is Teamcity 8+, that is currently hosted locally (though we could be moving across to Jenkins in the cloud).
Having scanned through stackoverflow for an answer to this question, the only one found is API to automatically upload apk to Google Play? the answer to this is however over a year old, and as we all know a year is a lifetime in software development, so I hope things may have improved some what.
I also have a sub-question, after publishing to these two streams, how long should it take for testers to see them in the store? I'm hearing 24 to 48 hours, which considering apps published to production only take a couple of hours seems a little odd.