From 3d6c2855be55cc0881c4bd28d4c0738a672a89d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Fri, 31 Aug 2018 22:36:51 -0400 Subject: [PATCH] run bundle install, specify bundle home for jenkins MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- ci/Jenkinsfile.android | 1 + ci/Jenkinsfile.ios | 1 + ci/mobile.groovy | 2 ++ 3 files changed, 4 insertions(+) diff --git a/ci/Jenkinsfile.android b/ci/Jenkinsfile.android index 2a76799c95..88312ad6dc 100644 --- a/ci/Jenkinsfile.android +++ b/ci/Jenkinsfile.android @@ -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' diff --git a/ci/Jenkinsfile.ios b/ci/Jenkinsfile.ios index afc570604c..5c8c6e2543 100644 --- a/ci/Jenkinsfile.ios +++ b/ci/Jenkinsfile.ios @@ -15,6 +15,7 @@ pipeline { LC_ALL = 'en_US.UTF-8' FASTLANE_DISABLE_COLORS=1 REALM_DISABLE_ANALYTICS=1 + BUNDLE_PATH = "${HOME}/.bundle" } stages { diff --git a/ci/mobile.groovy b/ci/mobile.groovy index 23f7d01809..d11336f5c3 100644 --- a/ci/mobile.groovy +++ b/ci/mobile.groovy @@ -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 */