Add more difference infrastructure; Check with Jira

This commit is contained in:
Dan Hawkins 2019-07-06 16:56:19 +01:00
commit 9062919a7f

View file

@ -377,9 +377,9 @@ def ticketedreport(String reportsubfolder, ticketed, boolean iscomponent = true)
String ticketedlist = "Ticketed list:\n"
echo "ticketed: ${ticketed}"
for (ticket in ticketed) {
echo "|${ticket.key['jiraticket']}|\n|${ticket.key['uri']}|\n"
echo "|${ticket.key['jiraticket']}(${ticket.key['jiraticket'].getClass()})|\n|${ticket.key['uri']}(${ticket.key['uri'].getClass()})|\n"
for (comment in ticket.value) {
echo "|${comment.key}|${comment.value}|\n"
echo "|${comment.key}(${comment.key.getClass()})|${comment.value}(${comment.value.getClass()})|\n"
}
}
ticketedsorted = ticketed.toSorted { a, b -> a.key['jiraticket'] <=> b.key['jiraticket'] }