Tweak report.
This commit is contained in:
parent
594c268249
commit
b72237a5f3
|
@ -116,13 +116,13 @@ def analyzeDependency(modules2deps, alreadyInTheTree, artifacts2projects, report
|
|||
def printReport(report) {
|
||||
def text = ''
|
||||
def indent = '\t'
|
||||
text += "Dependency Report for ${report['project']} (jenkins project)"
|
||||
text += "Dependency Report for ${report['project']}"
|
||||
text += "\n\n"
|
||||
text += "|--Project Maven Modules\n"
|
||||
report['downstream_modules'].each { depth, artifacts ->
|
||||
artifacts.each { name, data ->
|
||||
text += "${indent}|--Module: ${name}\n"
|
||||
text += "${indent * 2}|--Dependency Level: ${depth}\n"
|
||||
text += "${indent * 2}|--Deepest Dependency Level: ${depth}\n"
|
||||
text += "${indent * 2}|--Used by (Maven Modules)\n"
|
||||
data['dependencies'].each { d ->
|
||||
text += "${indent * 3}|--${d}"
|
||||
|
|
Loading…
Reference in New Issue