-
Notifications
You must be signed in to change notification settings - Fork 64
How to construct the App'.
Sylvain M edited this page Jan 9, 2017
·
5 revisions
Jenkins construct deploy and store sensitive files
$> docker build . -t sylvek/jenkins
$> docker run --rm --privileged --name jenkins -p 8080:8080 -u 0 -v /Users/sylvek/Documents/docker-folder/jenkins:/var/jenkins_home sylvek/jenkins
$> echo "create a job that points to https://github.com/sylvek/itracing2.git and use the Jenkinsfile"
Fastlane construct and deploy the app'
$> fastlane android deploy keystore:${KEYSTORE_PATH} password:${KEYSTORE_PASSWORD}
$> echo "you have to deliver a keystore file and a json key file"
without fastlane on your computer (but with rbenv)
$> # https://github.com/rbenv/rbenv#homebrew-on-mac-os-x
$> brew install rbenv
$> rbenv install -s
$> rbenv rehash
$> ~/.rbenv/shims/gem install bundler
$> bundler install --path .gem
$> bundle update
$> bundle exec fastlane android deploy keystore:${KEYSTORE_PATH} password:${KEYSTORE_PASSWORD}
$> echo "you have to deliver a keystore file and a json key file"
Gradle construct the app'
$> ./gradlew assembleRelease -PkeyStore=${KEYSTORE_PATH} -Ppassword=${KEYSTORE_PASSWORD}