re-add cache folders in /var/tmp, re-create bundle cache every time

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2019-03-21 09:33:26 +01:00
parent 6a3468c800
commit 1edc39e46f
No known key found for this signature in database
GPG Key ID: 4EF064D0E6D63020
1 changed files with 6 additions and 0 deletions

View File

@ -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 {