Remove usage of GStrings.
This commit is contained in:
parent
de2fba08b8
commit
eb12e956f4
|
@ -78,7 +78,7 @@ def findDownstreamDependencies(modules2deps, artifact) {
|
||||||
|
|
||||||
//build the report of the given dependency, go recursive on its dependencies
|
//build the report of the given dependency, go recursive on its dependencies
|
||||||
def analyzeDependency(modules2deps, artifacts2projects, report, artifact, depth) {
|
def analyzeDependency(modules2deps, artifacts2projects, report, artifact, depth) {
|
||||||
GString level = "L${depth}"
|
def level = "L${depth}"
|
||||||
report['downstream_modules'][level][artifact] = ['dependencies': [], 'projects': []]
|
report['downstream_modules'][level][artifact] = ['dependencies': [], 'projects': []]
|
||||||
|
|
||||||
// get all downstream dependencies
|
// get all downstream dependencies
|
||||||
|
@ -105,8 +105,8 @@ def analyzeDependency(modules2deps, artifacts2projects, report, artifact, depth)
|
||||||
|
|
||||||
// print the final report
|
// print the final report
|
||||||
def printReport(report) {
|
def printReport(report) {
|
||||||
GString text = ''
|
def text = ''
|
||||||
String indent = '\t'
|
def indent = '\t'
|
||||||
text += "Dependency Report for ${report['project']} (jenkins project)"
|
text += "Dependency Report for ${report['project']} (jenkins project)"
|
||||||
text += "\n\n"
|
text += "\n\n"
|
||||||
text += "|--Project Maven Modules\n"
|
text += "|--Project Maven Modules\n"
|
||||||
|
|
Loading…
Reference in New Issue