Fix skiptree condition.

This commit is contained in:
Manuele Simi 2020-03-12 13:57:17 -04:00
parent f2c0881f7d
commit 9f140b0147
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -83,7 +83,7 @@ def findDownstreamDependencies(modules2deps, artifact) {
def analyzeDependency(modules2deps, alreadyInTheTree, artifacts2projects, report, artifact, depth) { def analyzeDependency(modules2deps, alreadyInTheTree, artifacts2projects, report, artifact, depth) {
def level = "L${depth}" def level = "L${depth}"
def downdeps = findDownstreamDependencies(modules2deps, artifact) def downdeps = findDownstreamDependencies(modules2deps, artifact)
def skipTree = !alreadyInTheTree.contains(artifact) def skipTree = alreadyInTheTree.contains(artifact)
if (!skipTree) { if (!skipTree) {
report['downstream_modules'][level][artifact] = ['dependencies': [], 'projects': []] report['downstream_modules'][level][artifact] = ['dependencies': [], 'projects': []]