Add more difference infrastructure
This commit is contained in:
parent
a9ff43ff0a
commit
a457787eea
1 changed files with 3 additions and 3 deletions
|
|
@ -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]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue