Add more difference infrastructure; Check with Jira

This commit is contained in:
Dan Hawkins 2019-07-06 22:03:12 +01:00
commit 91019a162f

View file

@ -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()