Add more difference infrastructure; Check with Jira

This commit is contained in:
Dan Hawkins 2019-07-06 16:25:52 +01:00
commit 15ae9f815f

View file

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