From fa2ed1418f47c29e7d0c033281df52660804d141 Mon Sep 17 00:00:00 2001 From: Manuele Simi Date: Thu, 12 Mar 2020 16:25:06 -0400 Subject: [PATCH] Remove unused variable. --- Jenkinsfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index da8ca69..3a6485f 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -49,14 +49,14 @@ pipeline { script { // println "PROJECT ${inputProject} BUILDS ${projects2artifacts[inputProject]} artifacts" // first, let's find out what components depend on the project's artifacts (i.e. downstream dependencies) - def downstreamdeps = [:] report['downstream_modules'] = [:] report['downstream_projects'] = [] for ( level in 1..50 ) report['downstream_modules']["L${level}"] = [:] // can't initialize with withDefault closure in jenkins projects2artifacts[inputProject].each { a -> if (a.split(':').length > 1) { //skip the parent (only groupId) - report = analyzeDependency(modules2deps, alreadyInTheTree, artifacts2projects, report, a, 1) } + report = analyzeDependency(modules2deps, alreadyInTheTree, artifacts2projects, report, a, 1) } + } } } }