run bundle install, specify bundle home for jenkins

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2018-08-31 22:36:51 -04:00
parent bdb8688af8
commit 3d6c2855be
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
3 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,7 @@ pipeline {
LC_ALL = 'en_US.UTF-8'
FASTLANE_DISABLE_COLORS = 1
REALM_DISABLE_ANALYTICS = 1
BUNDLE_PATH = "${HOME}/.bundle"
ANDROID_HOME = '/usr/local/share/android-sdk'
ANDROID_SDK_ROOT = '/usr/local/share/android-sdk'
ANDROID_NDK = '/Users/jenkins/android-ndk-r10e'

View File

@ -15,6 +15,7 @@ pipeline {
LC_ALL = 'en_US.UTF-8'
FASTLANE_DISABLE_COLORS=1
REALM_DISABLE_ANALYTICS=1
BUNDLE_PATH = "${HOME}/.bundle"
}
stages {

View File

@ -48,6 +48,8 @@ def prep(type = 'nightly') {
sh 'cp .env.jenkins .env'; break
}
common.installJSDeps('mobile')
/* install ruby dependencies */
sh 'bundle install --quiet'
/* install Maven dependencies */
sh 'mvn -f modules/react-native-status/ios/RCTStatus dependency:unpack'
/* generate ios/StatusIm.xcworkspace */