Add more difference infrastructure
This commit is contained in:
parent
1c5fae0ab0
commit
a2a582cd39
1 changed files with 2 additions and 2 deletions
|
|
@ -166,7 +166,7 @@ def extractjiraticketinfo(String line) {
|
|||
def extractreverts(String line) {
|
||||
boolean result = true
|
||||
|
||||
def pattern1 = '^(.*)(Revert \"(.*)\"'
|
||||
def pattern1 = '^(.*)Revert \"(.*)\"'
|
||||
def match1 = (line =~ pattern1)
|
||||
if (match1.find()) {
|
||||
def line2 = match1.group(2)
|
||||
|
|
@ -174,7 +174,7 @@ def extractreverts(String line) {
|
|||
return [true, originaljiraticketinfo, originalcomment]
|
||||
}
|
||||
|
||||
def pattern2 = '^(.*)(Partial Revert \"(.*)\"'
|
||||
def pattern2 = '^(.*)Partial Revert \"(.*)\"'
|
||||
def match2 = (line =~ pattern2)
|
||||
if (match2.find()) {
|
||||
def line2 = match2.group(2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue