Index: Jenkins/FullBuild
===================================================================
--- Jenkins/FullBuild	(revision 20340c212c8e964968b6c5de373371528e491e2d)
+++ Jenkins/FullBuild	(revision 920725d31e93ad3dfef516e5ef80e5fe0561f888)
@@ -32,4 +32,6 @@
 		checkout scm
 
+		collect_git_info()
+
 		//parse git logs to find what changed
 		sh "git remote > ${out_dir}/GIT_REMOTE"
@@ -42,4 +44,21 @@
 
 		sh "git push DoLang ${gitRefNewValue}:master"
+}
+
+//Helper routine to collect information about the git history
+def collect_git_info() {
+
+	//create the temporary output directory in case it doesn't already exist
+	def out_dir = pwd tmp: true
+	sh "mkdir -p ${out_dir}"
+
+	//parse git logs to find what changed
+	gitRefName = env.BRANCH_NAME
+	dir("../${gitRefName}@script") {
+		sh "git reflog > ${out_dir}/GIT_COMMIT"
+	}
+	git_reflog = readFile("${out_dir}/GIT_COMMIT")
+	gitRefOldValue = (git_reflog =~ /moving from (.+) to (.+)/)[0][1]
+	gitRefNewValue = (git_reflog =~ /moving from (.+) to (.+)/)[0][2]
 }
 
