Skip the parent module.
This commit is contained in:
parent
eb12e956f4
commit
4f2eac538c
|
@ -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) }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue