Skip to content

How to construct the App'.

Sylvain M edited this page Nov 26, 2016 · 5 revisions

over Jenkins

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"

over Fastlane

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/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"

over Gradle

Gradle construct the app'

$> ./gradlew assembleRelease -Pkeystore=${KEYSTORE_PATH} -Ppassword=${KEYSTORE_PASSWORD}
Clone this wiki locally