send to slack branch that we are building now, if we build PR

This commit is contained in:
Ivan Borovkov 2018-01-08 18:18:35 +02:00 committed by Roman Volosovskyi
parent 6c3c85b9cc
commit a3f6169088
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -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'