fixed jenkinsfile checkout process
This commit is contained in:
parent
2ce5e2a715
commit
7cd7072d33
|
@ -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') {
|
||||
|
|
Loading…
Reference in New Issue