# HG changeset patch # User smith@nwoca.org # Date 1451232443 0 # Node ID 908950abd49010f9f9ca3f94acce02dffe8e1d3f # Parent 068d09f5b627350888499639671606cd45d43e2d add changeset to branchinfo diff -r 068d09f5b627 -r 908950abd490 init20.gradle --- a/init20.gradle Tue Dec 22 16:45:33 2015 +0000 +++ b/init20.gradle Sun Dec 27 16:07:23 2015 +0000 @@ -579,6 +579,7 @@ def name def stream = "none" def buildNumber = "" + def changeset = "" BranchInfo(name) { this.name = name @@ -588,7 +589,9 @@ this.name = this.name.replace('@', '-') determineStream() buildNumber = System.getenv('bamboo_buildNumber') ?: "" - } + changeset = System.getenv('bamboo_planRepository_revision') ?: "" + + } def getShortName() { def result = name.contains('/') ? name.split('/')[1] : name