send to slack branch that we are building now, if we build PR
This commit is contained in:
parent
6c3c85b9cc
commit
a3f6169088
|
@ -24,13 +24,13 @@ node ('macos1') {
|
|||
try {
|
||||
|
||||
stage('Git & Dependencies') {
|
||||
slackSend color: 'good', message: BRANCH_NAME + ' build started. ' + env.BUILD_URL
|
||||
slackSend color: 'good', message: BRANCH_NAME + '(' + env.CHANGE_BRANCH + ') build started. ' + env.BUILD_URL
|
||||
|
||||
checkout scm
|
||||
sh 'git checkout -- .'
|
||||
sh 'git checkout develop'
|
||||
sh 'git checkout remotes/origin/' + BRANCH_NAME
|
||||
|
||||
|
||||
sh 'rm -rf node_modules'
|
||||
sh 'cp .env.jenkins .env'
|
||||
sh 'lein deps'
|
||||
|
|
Loading…
Reference in New Issue