Merge pull request #2839 from status-im/bugfix/fix-jenkinsfile-to-use-scm-module
fix for jenkinsfile to use correct scm checkout procedure
This commit is contained in:
commit
635b6ad649
|
@ -15,11 +15,8 @@ node ('macos1') {
|
|||
stage('Git & Dependencies') {
|
||||
slackSend color: 'good', message: BRANCH_NAME + ' build started. ' + env.BUILD_URL
|
||||
|
||||
git([url: 'https://github.com/status-im/status-react.git', branch: BRANCH_NAME])
|
||||
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'
|
||||
|
|
Loading…
Reference in New Issue