From 112e6dc4d33faf677c6042eee2e0f1210f6b98c4 Mon Sep 17 00:00:00 2001 From: Ivan Borovkov Date: Thu, 28 Dec 2017 13:06:08 +0200 Subject: [PATCH] fix for jenkinsfile to use correct scm checkout procedure --- Jenkinsfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index cc686ea56a..32c948458c 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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]) - - sh 'git checkout -- .' - sh 'git checkout develop' - sh 'git checkout ' + BRANCH_NAME + checkout scm + sh 'rm -rf node_modules' sh 'cp .env.jenkins .env' sh 'lein deps && npm install && ./node_modules/re-natal/index.js deps'