Page MenuHomePhabricator

Jenkins should build release Android APKs
Closed, InvalidPublic

Description

Let's build release APKs instead of debug APKs so we can see if there is a problem with release builds before we actually build final releases. The main concern is that ProGuard obfuscation/optimizations could remove code (or move code to a different package/class/method) that is actually required to stay put.

The main issue to solve here is how do we distribute the signing keystore to the build machines. This should be a different keystore from the one we use to sign our final apks since the build environment is still too openly accessible.

The configuration in our build file should be easy to do. See also http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Signing-Configurations.

The final step would be to change all Android Jenkins configs to replace the build type "Debug" with "Release" in the task names, and "debug" with "release" in any output paths if there are any.

  • Create a new keystore for signing Alpha APKs.
  • Come up with a way/place to store the keystore and it's passwords in a semi-private way.
  • Change Jenkins tasks to use "Release" wherever we use "Debug"

Event Timeline

bearND raised the priority of this task from to Needs Triage.
bearND updated the task description. (Show Details)
bearND subscribed.
Dbrant triaged this task as Medium priority.Jul 1 2015, 2:24 PM
Dbrant subscribed.
bearND renamed this task from Jenkins should build release Android APKs to Jenkins and should build release Android APKs.Jul 24 2015, 5:59 PM
bearND updated the task description. (Show Details)
bearND set Security to None.
bearND renamed this task from Jenkins and should build release Android APKs to Jenkins should build release Android APKs.Jul 24 2015, 8:31 PM
Niedzielski raised the priority of this task from Medium to High.Nov 9 2016, 8:54 PM
Mholloway lowered the priority of this task from High to Medium.Aug 5 2017, 4:10 AM