Skip the parent module.

This commit is contained in:
Manuele Simi 2020-03-12 11:26:18 -04:00
parent eb12e956f4
commit 4f2eac538c
1 changed files with 4 additions and 2 deletions

6
Jenkinsfile vendored
View File

@ -52,8 +52,10 @@ pipeline {
report['downstream_modules'] = [:]
report['downstream_projects'] = []
report['downstream_modules']['L1'] = [:]
projects2artifacts[inputProject].each { a -> report = analyzeDependency(modules2deps, artifacts2projects, report, a, 1) }
projects2artifacts[inputProject].each { a ->
if (a.name.split(':').length > 1) { //skip the parent (only groupId)
report = analyzeDependency(modules2deps, artifacts2projects, report, a, 1) }
}
}
}
}