From b72237a5f39b02cfd6ab8cbe1a18c3f38324ca88 Mon Sep 17 00:00:00 2001 From: Manuele Simi Date: Thu, 12 Mar 2020 15:56:01 -0400 Subject: [PATCH] Tweak report. --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 51c9cc3..da8ca69 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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}"