Add more difference infrastructure
This commit is contained in:
parent
c564a70e8d
commit
1f6b1f8aae
1 changed files with 3 additions and 3 deletions
|
|
@ -173,7 +173,7 @@ def extractjiraticketinfo(String line) {
|
|||
boolean amatch = false
|
||||
while (!amatch) {
|
||||
line = line.trim()
|
||||
def pattern1 = '^(\w+-\d+)(.*)' //GIS-1234 hmbxr5601-1234
|
||||
def pattern1 = '^(\\w+-\\d+)(.*)' //GIS-1234 hmbxr5601-1234
|
||||
def match1 = (line =~ pattern1)
|
||||
if (match1.find()) {
|
||||
jiraticket = match1.group(1)
|
||||
|
|
@ -181,7 +181,7 @@ def extractjiraticketinfo(String line) {
|
|||
line = match1.group(2)
|
||||
amatch = true
|
||||
} else {
|
||||
def pattern2 = '^(\w+\d+)(.*)' //GIS1234 smb1234
|
||||
def pattern2 = '^(\\w+\\d+)(.*)' //GIS1234 smb1234
|
||||
def match2 = (line =~ pattern2)
|
||||
if (match2.find()) {
|
||||
jiraticket = match2.group(1)
|
||||
|
|
@ -189,7 +189,7 @@ def extractjiraticketinfo(String line) {
|
|||
line = match2.group(2)
|
||||
amatch = true
|
||||
} else {
|
||||
def pattern3 = '^(\w+ \d+)(.*)' //GIS 1234 smb 1234
|
||||
def pattern3 = '^(\\w+ \\d+)(.*)' //GIS 1234 smb 1234
|
||||
def match3 = (line =~ pattern3)
|
||||
if (match3.find()) {
|
||||
jiraticket = match3.group(1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue