mirror of
https://github.com/status-im/status-react.git
synced 2025-02-01 21:57:16 +00:00
use Android keystore from Jenkins credentials
This way we don't have to store it on individual CI hosts. Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
988a7f6b0c
commit
cb78293db7
@ -244,7 +244,6 @@ android {
|
||||
release {
|
||||
// Caution! In production, you need to generate your own keystore file.
|
||||
// see https://facebook.github.io/react-native/docs/signed-apk-android.
|
||||
signingConfig signingConfigs.debug
|
||||
minifyEnabled enableProguardInReleaseBuilds
|
||||
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
|
||||
signingConfig signingConfigs.release
|
||||
|
@ -29,8 +29,6 @@ pipeline {
|
||||
BUILD_ENV = 'prod'
|
||||
NIX_CONF_DIR = "${env.WORKSPACE}/nix"
|
||||
FASTLANE_DISABLE_COLORS = 1
|
||||
/* since we are mounting it we need to specify location */
|
||||
STATUS_RELEASE_STORE_FILE = '/home/jenkins/status-im.keystore'
|
||||
/* We use EXECUTOR_NUMBER to avoid multiple instances clashing */
|
||||
LEIN_HOME = "/var/tmp/lein-${EXECUTOR_NUMBER}"
|
||||
/* coverage report identification */
|
||||
|
@ -25,6 +25,10 @@ def bundle() {
|
||||
|
||||
/* credentials necessary to open the keystore and sign the APK */
|
||||
withCredentials([
|
||||
file(
|
||||
credentialsId: 'status-im.keystore',
|
||||
variable: 'STATUS_RELEASE_STORE_FILE'
|
||||
),
|
||||
string(
|
||||
credentialsId: 'android-keystore-pass',
|
||||
variable: 'STATUS_RELEASE_STORE_PASSWORD'
|
||||
|
Loading…
x
Reference in New Issue
Block a user