Fix variable name.

This commit is contained in:
Manuele Simi 2020-03-12 12:07:24 -04:00
parent 174d7a904a
commit a4adba12b4
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -94,7 +94,7 @@ def analyzeDependency(modules2deps, artifacts2projects, report, artifact, depth)
// then we look for the projects that build the downstream dependencies and finally we go recursive // then we look for the projects that build the downstream dependencies and finally we go recursive
if (report['downstream_modules'][level][artifact]['dependencies']) { if (report['downstream_modules'][level][artifact]['dependencies']) {
def nextDepth = ++depth def nextDepth = ++depth
report['downstream_modules']["L${nextDeep}"] = [:] report['downstream_modules']["L${nextDepth}"] = [:]
report['downstream_modules'][level][artifact]['dependencies'].each { d -> report['downstream_modules'][level][artifact]['dependencies'].each { d ->
report['downstream_modules'][level][artifact]['projects'] << artifacts2projects[d] report['downstream_modules'][level][artifact]['projects'] << artifacts2projects[d]
report['downstream_projects'] << artifacts2projects[d] report['downstream_projects'] << artifacts2projects[d]