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,14 +49,14 @@ pipeline {
script { script {
// println "PROJECT ${inputProject} BUILDS ${projects2artifacts[inputProject]} artifacts" // println "PROJECT ${inputProject} BUILDS ${projects2artifacts[inputProject]} artifacts"
// first, let's find out what components depend on the project's artifacts (i.e. downstream dependencies) // first, let's find out what components depend on the project's artifacts (i.e. downstream dependencies)
def downstreamdeps = [:]
report['downstream_modules'] = [:] report['downstream_modules'] = [:]
report['downstream_projects'] = [] report['downstream_projects'] = []
for ( level in 1..50 ) report['downstream_modules']["L${level}"] = [:] // can't initialize with withDefault closure in jenkins for ( level in 1..50 ) report['downstream_modules']["L${level}"] = [:] // can't initialize with withDefault closure in jenkins
projects2artifacts[inputProject].each { a -> projects2artifacts[inputProject].each { a ->
if (a.split(':').length > 1) { //skip the parent (only groupId) 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)
} }
}
} }
} }
} }