remove ./re-natal deps from jenkins pipelines

This commit is contained in:
Roman Volosovskyi 2017-12-28 14:05:17 +02:00
parent 635b6ad649
commit 63bdd269e9
No known key found for this signature in database
GPG Key ID: 37135489EAE4B2D7
3 changed files with 6 additions and 3 deletions

5
Jenkinsfile vendored
View File

@ -16,10 +16,13 @@ node ('macos1') {
slackSend color: 'good', message: BRANCH_NAME + ' build started. ' + env.BUILD_URL slackSend color: 'good', message: BRANCH_NAME + ' build started. ' + env.BUILD_URL
checkout scm checkout scm
sh 'git checkout -- .'
sh 'git checkout develop'
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 && ./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"' 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

View File

@ -23,7 +23,7 @@ node ('macos1'){
sh 'git checkout develop' sh 'git checkout develop'
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 && ./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"' 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

View File

@ -39,7 +39,7 @@ node ('macos1') {
sh 'cat .env' sh 'cat .env'
sh 'echo "**********************************************************************"' sh 'echo "**********************************************************************"'
sh 'lein deps && npm install && ./re-natal deps' sh 'lein deps && npm install'
// Uncomment with RN merge // 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 '[ -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' // sh 'sed -i "" "s/301000/1201000/g" node_modules/react-native/packager/src/JSTransformer/index.js'