Remove unused variable.
This commit is contained in:
parent
b72237a5f3
commit
fa2ed1418f
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue