fixed some envs

This commit is contained in:
2016-07-21 19:15:03 +02:00
parent 181fdc196e
commit 6a932e6e56

View File

@@ -37,8 +37,8 @@ group = "com.sosnitzka" // http://maven.apache.org/guides/mini/guide-naming-conv
archivesBaseName = "taiga" archivesBaseName = "taiga"
task buildInfo { task buildInfo {
if (System.getenv().TAG != null) { if (System.getenv().TAIGA_TAG != null) {
ext.revision = System.getenv().TAG ext.revision = System.getenv().TAIGA_TAG
} else { } else {
ext.revision = "snapshot" ext.revision = "snapshot"
} }
@@ -47,8 +47,8 @@ task buildInfo {
ext.buildNum = System.getenv().BUILD_NUMBER ext.buildNum = System.getenv().BUILD_NUMBER
} }
if (System.getenv().CHANGES != null) { if (System.getenv().TAIGA_CHANGES != null) {
ext.changes = System.getenv().CHANGES ext.changes = System.getenv().TAIGA_CHANGES
} else { } else {
ext.changes = "" ext.changes = ""
} }