fixed jenkinsfile checkout process

This commit is contained in:
Ivan Borovkov 2018-01-01 10:46:42 +02:00
parent 20effb7cd1
commit 2ce5e2a715
1 changed files with 2 additions and 1 deletions

3
Jenkinsfile vendored
View File

@ -22,7 +22,8 @@ node ('macos1') {
sh 'rm -rf node_modules'
sh 'cp .env.jenkins .env'
sh 'lein deps && npm install'
sh 'lein deps'
sh '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