fix build number not being expanded to proper value (#254)
convert String to GString so that the value is interpolated properlydev/0.11
parent
9d142efb01
commit
032ee6f9f1
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue