Index: Jenkinsfile
===================================================================
--- Jenkinsfile	(revision fce01e7581215ee3d0d6c5bd640ec7723cde2f04)
+++ Jenkinsfile	(revision 249091f058d69266de4f317f1933d4de8fd459eb)
@@ -230,20 +230,20 @@
 	def newRef = Settings.GitNewRef
 
-	def revisions = sh(returnStdout: true, script: "git rev-list ${Settings.GitOldRef}..${Settings.GitNewRef}")
+	def revisions = sh(returnStdout: true, script: "git rev-list ${oldRef}..${newRef}").trim()
 	def gitUpdate = ""
 
 	revisions.eachLine {
 		def rev = it
-		def type = sh(returnStdout: true, script: "git cat-file -t ${rev}")
+		def type = sh(returnStdout: true, script: "git cat-file -t ${rev}").trim()
 		gitUpdate = gitUpdate + "       via  ${rev} (${type})"
 	}
 
 	def rev = oldRef
-	def type = sh(returnStdout: true, script: "git cat-file -t ${rev}")
-	gitUpdate = gitUpdate + "       via  ${rev} (${type})"
-
-	def gitLog    = sh(returnStdout: true, script: "git rev-list --format=short ${oldRef}...${newRef}")
-
-	def gitDiff   = sh(returnStdout: true, script: "git diff --stat --color ${newRef} ${oldRef}")
+	def type = sh(returnStdout: true, script: "git cat-file -t ${rev}").trim()
+	gitUpdate = gitUpdate + "      from  ${rev} (${type})"
+
+	def gitLog    = sh(returnStdout: true, script: "git rev-list --format=short ${oldRef}...${newRef}").trim()
+
+	def gitDiff   = sh(returnStdout: true, script: "git diff --stat --color ${newRef} ${oldRef}").trim()
 	gitDiff = gitDiff.replace('[32m', '<span style="color: #00AA00;">')
 	gitDiff = gitDiff.replace('[31m', '<span style="color: #AA0000;">')
