fixed jenkinsfile checkout process
This commit is contained in:
parent
977db7ab9c
commit
20effb7cd1
|
@ -18,7 +18,7 @@ node ('macos1') {
|
|||
checkout scm
|
||||
sh 'git checkout -- .'
|
||||
sh 'git checkout develop'
|
||||
sh 'git checkout ' + BRANCH_NAME
|
||||
sh 'git checkout remotes/origin/' + BRANCH_NAME
|
||||
|
||||
sh 'rm -rf node_modules'
|
||||
sh 'cp .env.jenkins .env'
|
||||
|
|
Loading…
Reference in New Issue