fixed jenkinsfile checkout process

This commit is contained in:
Ivan Borovkov 2018-01-01 10:54:49 +02:00
parent 2ce5e2a715
commit 7cd7072d33
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

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