changeset 211:908950abd490

add changeset to branchinfo
author smith@nwoca.org
date Sun, 27 Dec 2015 16:07:23 +0000
parents 068d09f5b627
children 349fca275129
files init20.gradle
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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