diff --git a/Jenkinsfile b/Jenkinsfile index 9414e6b..9c36bae 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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 if (report['downstream_modules'][level][artifact]['dependencies']) { 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]['projects'] << artifacts2projects[d] report['downstream_projects'] << artifacts2projects[d]