Index: Jenkins/tools.groovy
===================================================================
--- Jenkins/tools.groovy	(revision a12cd59421616b42465e9fda9a08cafce3177ba6)
+++ Jenkins/tools.groovy	(revision 9c4ad6765135d1f60bbe16f509310ae13a291780)
@@ -68,6 +68,6 @@
 PrevGitNewRef = ''
 def GitLogMessage(String oldRef = '', String newRef = '') {
-	if (!oldRef) { if(!PrevGitOldRef) { return "\nERROR retrieveing current git information!\n"  } else { oldRef = PreGitOldRef } }
-	if (!newRef) { if(!PrevGitNewRef) { return "\nERROR retrieveing previous git information!\n" } else { newRef = PreGitNewRef } }
+	if (!oldRef) { if(!PrevGitOldRef) { return "\nERROR retrieveing current git information!\n"  } else { oldRef = PrevGitOldRef } }
+	if (!newRef) { if(!PrevGitNewRef) { return "\nERROR retrieveing previous git information!\n" } else { newRef = PrevGitNewRef } }
 
 	def revText = sh(returnStdout: true, script: "git rev-list ${oldRef}..${newRef}").trim()
