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