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 'rm -rf node_modules'
|
||||||
sh 'cp .env.jenkins .env'
|
sh 'cp .env.jenkins .env'
|
||||||
sh 'lein deps'
|
sh 'lein deps && npm install'
|
||||||
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"'
|
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
|
// 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 'mvn -f modules/react-native-status/ios/RCTStatus dependency:unpack'
|
||||||
sh 'cd ios && pod install && cd ..'
|
sh 'cd ios && pod install && cd ..'
|
||||||
|
sh 'npm install'
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Tests') {
|
stage('Tests') {
|
||||||
|
|
Loading…
Reference in New Issue