diff --git a/build/integrity.groovy b/build/integrity.groovy index 739abce..fa7594f 100644 --- a/build/integrity.groovy +++ b/build/integrity.groovy @@ -1,4 +1,5 @@ - +import static groovy.json.JsonOutput.* + def check(buildmeta) { def results = [ 'good': true, @@ -23,7 +24,7 @@ def check(buildmeta) { productcomponents[key][buildstampnumber] += 1 } } - echo productcomponents.toString() + echo prettyPrint(toJson(productcomponents)) for (pc in productcomponents.keySet()) { bsns = productcomponents[pc] if (bsns.size() > 1) {