From 7cd7072d33f9da905e9104bb3ab4b47362677c12 Mon Sep 17 00:00:00 2001 From: Ivan Borovkov Date: Mon, 1 Jan 2018 10:54:49 +0200 Subject: [PATCH] fixed jenkinsfile checkout process --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index fb52c07efb..acb14492bc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -22,8 +22,7 @@ node ('macos1') { sh 'rm -rf node_modules' sh 'cp .env.jenkins .env' - sh 'lein deps' - sh 'npm install' + sh 'lein deps && npm install' sh '[ -f node_modules/react-native/packager/src/JSTransformer/index.js ] && sed -i "" "s/301000/1201000/g" node_modules/react-native/packager/src/JSTransformer/index.js || echo "New packager"' // Fix silly RN upgrade weird env issue @@ -31,6 +30,7 @@ node ('macos1') { sh 'mvn -f modules/react-native-status/ios/RCTStatus dependency:unpack' sh 'cd ios && pod install && cd ..' + sh 'npm install' } stage('Tests') {