Add more difference infrastructure
This commit is contained in:
parent
d202e0bb3e
commit
28d24268fb
2 changed files with 3 additions and 5 deletions
|
|
@ -16,8 +16,6 @@ def differences(meta, String sourcerevision, String previoussourcerevision, Stri
|
|||
}
|
||||
|
||||
class DifferenceRecord {
|
||||
def script
|
||||
|
||||
String productname
|
||||
String subcomponentname
|
||||
String jirakey
|
||||
|
|
@ -31,8 +29,8 @@ class DifferenceRecord {
|
|||
this.script = script
|
||||
}
|
||||
|
||||
def dump() {
|
||||
script.echo("Difference Record:\nproductname: ${productname}\nsubcomponentname: ${subcomponentname}\njirakey: ${jirakey}\nrawdifferencetext: ${rawdifferencetext}\nsha: ${sha}\ntype: ${type}\njiraticketinfo: ${jiraticketinfo}"
|
||||
def String dump() {
|
||||
return "Difference Record:\nproductname: ${productname}\nsubcomponentname: ${subcomponentname}\njirakey: ${jirakey}\nrawdifferencetext: ${rawdifferencetext}\nsha: ${sha}\ntype: ${type}\njiraticketinfo: ${jiraticketinfo}"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -122,7 +122,7 @@ def comparehierarchy(meta, String earlymetafolder, String latermetafolder, Strin
|
|||
}
|
||||
}
|
||||
for (record in differencerecords) {
|
||||
record.dump()
|
||||
echo "${record.dump()}"
|
||||
}
|
||||
return [summarystring, markunstable, unstablereason]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue