some other fixes

This commit is contained in:
2016-07-21 18:28:35 +02:00
parent 3251370335
commit 9a69e0c15a

View File

@@ -43,7 +43,10 @@ task buildInfo {
def proc = cmd.execute()
proc.waitFor()
if (proc.exitValue() == 0) {
logger.info("Found tag for current version: ${proc.text.trim()}")
project.ext.tag = proc.text.trim()
} else {
logger.info("Could not find tag infos, assume snapshot build")
}
if (System.getenv().BUILD_NUMBER != null) {