fixed build number
This commit is contained in:
parent
a665980842
commit
f8311fd5d1
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ apply plugin: 'maven' // for uploading to a mnven repo
|
|||
// grab buildNumber
|
||||
ext.buildnumber = 0 // this will be referenced as simply project.buildnumber from now on.
|
||||
|
||||
if (System.env.hasProperty('BUILD_NUMBER'))
|
||||
if (System.getenv().BUILD_NUMBER)
|
||||
project.buildnumber = System.getenv().BUILD_NUMBER
|
||||
else
|
||||
logger.lifecycle "SETTING BUILDNUMBER TO 0"
|
||||
|
|
Loading…
Reference in a new issue