Add more difference infrastructure
This commit is contained in:
parent
11fcc3279b
commit
2f1a51c758
1 changed files with 11 additions and 3 deletions
|
|
@ -405,8 +405,12 @@ def boolean report(meta, differencerecords, boolean iscomponent = true) {
|
|||
comments[dr.comment] = 1
|
||||
} else {
|
||||
echo "Adding to ticketed record for ${ticket}"
|
||||
comments = reverts[ticket]
|
||||
comments[dr.comment] += 1
|
||||
comments = ticketed[ticket]
|
||||
if (!comments.containsKey(dr.comment)) {
|
||||
comments[dr.comment] = 1
|
||||
} else {
|
||||
comments[dr.comment] += 1
|
||||
}
|
||||
}
|
||||
reverts[ticket] = comments
|
||||
if (!tickets.containsKey(ticket)) {
|
||||
|
|
@ -431,7 +435,11 @@ def boolean report(meta, differencerecords, boolean iscomponent = true) {
|
|||
} else {
|
||||
echo "Adding to ticketed record for ${ticket}"
|
||||
comments = ticketed[ticket]
|
||||
comments[dr.comment] += 1
|
||||
if (!comments.containsKey(dr.comment)) {
|
||||
comments[dr.comment] = 1
|
||||
} else {
|
||||
comments[dr.comment] += 1
|
||||
}
|
||||
}
|
||||
ticketed[ticket] = comments
|
||||
if (!tickets.containsKey(ticket)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue