fix re-natal in Jenkinsfile

This commit is contained in:
Roman Volosovskyi 2017-12-09 21:12:42 +02:00
parent cf565fb65d
commit ee2904efcc
No known key found for this signature in database
GPG Key ID: 37135489EAE4B2D7
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -20,7 +20,7 @@ node ('macos1') {
sh 'git checkout ' + BRANCH_NAME sh 'git checkout ' + BRANCH_NAME
sh 'rm -rf node_modules' sh 'rm -rf node_modules'
sh 'cp .env.jenkins .env' sh 'cp .env.jenkins .env'
sh 'lein deps && npm install && ./re-natal deps' sh 'lein deps && npm install && ./node_modules/re-natal/index.js deps'
sh 'sed -i "" "s/301000/1201000/g" node_modules/react-native/packager/src/JSTransformer/index.js' sh 'sed -i "" "s/301000/1201000/g" node_modules/react-native/packager/src/JSTransformer/index.js'
sh 'mvn -f modules/react-native-status/ios/RCTStatus dependency:unpack' sh 'mvn -f modules/react-native-status/ios/RCTStatus dependency:unpack'
sh 'cd ios && pod install && cd ..' sh 'cd ios && pod install && cd ..'