Add more difference infrastructure
This commit is contained in:
parent
e7bf289130
commit
29b0981c8a
1 changed files with 7 additions and 5 deletions
|
|
@ -359,10 +359,7 @@ def unticketedreport(String reportsubfolder, unticketed, boolean iscomponent = t
|
|||
unticketedsorted = unticketed.sort()
|
||||
echo "unticketed map sorted:\n${unticketedsorted}"
|
||||
for (anunticketed in unticketedsorted) {
|
||||
unticketedlist += "${anunticketed.key}\n"
|
||||
for (unticketedlistcomment in anunticketed.value) {
|
||||
unticketedlist += "${unticketedlistcomment.key} (${unticketedlistcomment.value})\n"
|
||||
}
|
||||
unticketedlist += "${anunticketed.key}\n${anunticketed.value()}"
|
||||
}
|
||||
writeFile(file: "unticketedlist.txt", text: unticketedlist)
|
||||
}
|
||||
|
|
@ -447,7 +444,12 @@ def boolean report(meta, differencerecords, boolean iscomponent = true) {
|
|||
}
|
||||
}
|
||||
if (dr.type == "Unticketed") {
|
||||
unticketed[dr.comment] = dr
|
||||
if (!unticketed.containsKey(dr.comment)) {
|
||||
unticketed[dr.comment] = 1
|
||||
} else {
|
||||
unticketed[dr.comment] += 1
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
String reportsubfolder = ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue