Skip to content

Commit

Permalink
fix the version GString
Browse files Browse the repository at this point in the history
  • Loading branch information
rsandell committed May 19, 2017
1 parent bbcaea7 commit bd4d138
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pipeline {
environment {
REL_VERSION = "${env.BRANCH_NAME.contains('release-') ? "${env.BRANCH_NAME.drop(env.BRANCH_NAME.lastIndexOf('-')+1)}.${env.BUILD_NUMBER}" : ""}"
REL_VERSION = "${BRANCH_NAME.contains('release-') ? BRANCH_NAME.drop(BRANCH_NAME.lastIndexOf('-')+1) + '.' + BUILD_NUMBER : ""}"
}
agent none
stages {
Expand Down

0 comments on commit bd4d138

Please sign in to comment.