diff --git a/Jenkinsfile b/Jenkinsfile index 1662071..12ad359 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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) } + } } } }