fix build number not being expanded to proper value (#254)

convert String to GString so that the value is interpolated properly
This commit is contained in:
Joshua Schirra 2020-08-10 09:13:23 +02:00 committed by GitHub
parent 9d142efb01
commit 032ee6f9f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -18,7 +18,7 @@ def baseVersion = '0.5'
def build = 'local'
def ENV = System.getenv()
if (ENV.BUILD_NUMBER) {
build = 'jenkins #${ENV.BUILD_NUMBER}'
build = "jenkins #${ENV.BUILD_NUMBER}"
version = baseVersion + '.' + ENV.BUILD_NUMBER
} else {
version = baseVersion + '.local'