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
|
// grab buildNumber
|
||||||
ext.buildnumber = 0 // this will be referenced as simply project.buildnumber from now on.
|
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
|
project.buildnumber = System.getenv().BUILD_NUMBER
|
||||||
else
|
else
|
||||||
logger.lifecycle "SETTING BUILDNUMBER TO 0"
|
logger.lifecycle "SETTING BUILDNUMBER TO 0"
|
||||||
|
|
Loading…
Reference in a new issue