Fix Jenkinsfile syntax
This commit is contained in:
parent
8349379509
commit
660eebb8f7
|
@ -26,7 +26,7 @@ node ('macos1') {
|
||||||
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
|
||||||
cp 'findSymlinkedModules.js.patch' 'node_modules/react-native/local-cli/util/findSymlinkedModules.js'
|
sh 'cp findSymlinkedModules.js.patch node_modules/react-native/local-cli/util/findSymlinkedModules.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 ..'
|
||||||
|
|
|
@ -27,7 +27,7 @@ node ('macos1'){
|
||||||
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
|
||||||
cp 'findSymlinkedModules.js.patch' 'node_modules/react-native/local-cli/util/findSymlinkedModules.js'
|
sh 'cp findSymlinkedModules.js.patch node_modules/react-native/local-cli/util/findSymlinkedModules.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 ..'
|
||||||
|
|
|
@ -45,7 +45,7 @@ node ('macos1') {
|
||||||
// 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'
|
||||||
|
|
||||||
// Fix silly RN upgrade weird env issue
|
// Fix silly RN upgrade weird env issue
|
||||||
cp 'findSymlinkedModules.js.patch' 'node_modules/react-native/local-cli/util/findSymlinkedModules.js'
|
sh 'cp findSymlinkedModules.js.patch node_modules/react-native/local-cli/util/findSymlinkedModules.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 ..'
|
||||||
|
|
Loading…
Reference in New Issue