Remove unused variable.

This commit is contained in:
Manuele Simi 2020-03-12 16:25:06 -04:00
parent b72237a5f3
commit fa2ed1418f
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -49,13 +49,13 @@ 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)
}
}
}
}