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 created this task.Jun 29 2015, 4:17 PM
bearND raised the priority of this task from to Needs Triage.
bearND updated the task description. (Show Details)
bearND added a subscriber: bearND.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 29 2015, 4:17 PM
Dbrant triaged this task as Normal priority.Jul 1 2015, 2:24 PM
Dbrant added a subscriber: Dbrant.
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
hashar added a subscriber: hashar.Jul 26 2016, 12:20 PM

Is that essentially the same as T136662 ?

Niedzielski raised the priority of this task from Normal to High.Nov 9 2016, 8:54 PM
Mholloway lowered the priority of this task from High to Normal.Aug 5 2017, 4:10 AM
Charlotte closed this task as Invalid.Apr 9 2019, 5:27 PM