From a4adba12b4c377dba786ebcbd2a70b1a80db972f Mon Sep 17 00:00:00 2001 From: Manuele Simi Date: Thu, 12 Mar 2020 12:07:24 -0400 Subject: [PATCH] Fix variable name. --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]