From 1edc39e46fc308238b4480a0e440b8a9df3cecea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakub=20Soko=C5=82owski?= Date: Thu, 21 Mar 2019 09:33:26 +0100 Subject: [PATCH] re-add cache folders in /var/tmp, re-create bundle cache every time MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakub SokoĊ‚owski --- ci/Jenkinsfile.android | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ci/Jenkinsfile.android b/ci/Jenkinsfile.android index b3c4d16c99..bff729c1be 100644 --- a/ci/Jenkinsfile.android +++ b/ci/Jenkinsfile.android @@ -44,6 +44,12 @@ pipeline { ANDROID_SDK_ROOT = '/usr/lib/android-sdk' ANDROID_NDK = '/usr/lib/android-ndk' ANDROID_NDK_HOME = '/usr/lib/android-ndk' + /* bundle cache is sensitive to being used by differnt ruby versions */ + BUNDLE_PATH = "/tmp/bundle" + /* We use EXECUTOR_NUMBER to avoid multiple instances clashing */ + LEIN_HOME = "/var/tmp/lein-${EXECUTOR_NUMBER}" + YARN_CACHE_FOLDER = "/var/tmp/yarn-${EXECUTOR_NUMBER}" + GRADLE_USER_HOME = "/var/tmp/gradle-${EXECUTOR_NUMBER}" } stages {