Add more difference infrastructure

This commit is contained in:
Dan Hawkins 2019-07-04 11:18:32 +01:00
commit a457787eea

View file

@ -117,10 +117,10 @@ def getgitlogdifferences(String gitrootfolder, String earlyrevision, String late
def extractsha(String line) {
def pattern = ~"^(.*)\\s(.*)"
def sha = line.replaceFirst(pattern) { _, sha, therest -> "${sha.trim()}" }
def therest = line.replaceFirst(pattern) { _, sha, therest -> "${therest.trim()}" }
def sha = line.replaceFirst(pattern) { _, shabit, therest -> "${shabit.trim()}" }
def restofline = line.replaceFirst(pattern) { _, shabit, therest -> "${therest.trim()}" }
echo "Sha filtering: line: ${line} sha: ${sha} therest: ${therest}"
echo "Sha filtering: line: ${line} sha: ${sha} therest: ${restofline}"
return [sha, therest]
}