fix for jenkinsfile to use correct scm checkout procedure
This commit is contained in:
parent
153cd02b86
commit
112e6dc4d3
|
@ -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