remove ./re-natal deps from jenkins pipelines
This commit is contained in:
parent
635b6ad649
commit
63bdd269e9
|
@ -16,10 +16,13 @@ node ('macos1') {
|
|||
slackSend color: 'good', message: BRANCH_NAME + ' build started. ' + env.BUILD_URL
|
||||
|
||||
checkout scm
|
||||
sh 'git checkout -- .'
|
||||
sh 'git checkout develop'
|
||||
sh 'git checkout ' + BRANCH_NAME
|
||||
|
||||
sh 'rm -rf node_modules'
|
||||
sh 'cp .env.jenkins .env'
|
||||
sh 'lein deps && npm install && ./node_modules/re-natal/index.js deps'
|
||||
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
|
||||
|
|
|
@ -23,7 +23,7 @@ node ('macos1'){
|
|||
sh 'git checkout develop'
|
||||
sh 'rm -rf node_modules'
|
||||
sh 'cp .env.jenkins .env'
|
||||
sh 'lein deps && npm install && ./node_modules/re-natal/index.js deps'
|
||||
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
|
||||
|
|
|
@ -39,7 +39,7 @@ node ('macos1') {
|
|||
sh 'cat .env'
|
||||
sh 'echo "**********************************************************************"'
|
||||
|
||||
sh 'lein deps && npm install && ./re-natal deps'
|
||||
sh 'lein deps && npm install'
|
||||
// Uncomment with RN merge
|
||||
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 'sed -i "" "s/301000/1201000/g" node_modules/react-native/packager/src/JSTransformer/index.js'
|
||||
|
|
Loading…
Reference in New Issue