Add more difference infrastructure; Check with Jira
This commit is contained in:
parent
a91eeeb890
commit
91019a162f
1 changed files with 6 additions and 1 deletions
|
|
@ -209,6 +209,11 @@ def extractjiraticketinfo(String line) {
|
|||
|
||||
while (true) {
|
||||
line = line.trim()
|
||||
def commapattern = '^\\s*,(.*)' // Consume separating commas at the beginning of the line
|
||||
def commamatch = (line =~ commapattern)
|
||||
if (commamatch.find()) {
|
||||
line = commamatch.group(1).trim()
|
||||
}
|
||||
def pattern1 = '^(\\w+-\\d+)(.*)' //GIS-1234 hmbxr5601-1234
|
||||
def match1 = (line =~ pattern1)
|
||||
if (match1.find()) {
|
||||
|
|
@ -450,7 +455,7 @@ def ticketedreport(String reportsubfolder, LinkedHashMap<String, TicketedReportR
|
|||
def String ticketedlist = "Ticketed list:\n"
|
||||
def ticketedsorted = ticketed.sort()
|
||||
for (aticketed in ticketedsorted) {
|
||||
def TicketedReportRecord r = aticket.value
|
||||
def TicketedReportRecord r = aticketed.value
|
||||
ticketedlist += "${r.jiraticket} (${r.ticketURI}):\n"
|
||||
def commentscollection = r.commentscollection
|
||||
def sortedcommentscollection = commentscollection.sort()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue