Skip to content

Commit

Permalink
[BUILD] Fix checkout.
Browse files Browse the repository at this point in the history
  • Loading branch information
michal-raska committed Aug 21, 2018
1 parent ad22285 commit 7be3de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/Jenkinsfile.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def makeOpts = 'CI=1'
node ('master') {
stage('Checkout') {
cleanWs()
def scmEnv = git branch: 'mr/build/pipeline', credentialsId: 'd57016f6-d172-43ea-bea1-1d6c7c1747a0', url: 'https://github.com/h2oai/xgboost-predictor'
def scmEnv = checkout scm
env.BRANCH_NAME = scmEnv.GIT_BRANCH.replaceAll('origin/', '')
final def version = sh(script: 'cat gradle.properties | grep version | sed "s/version=//"', returnStdout: true).trim()

Expand Down

0 comments on commit 7be3de5

Please sign in to comment.