Multiple scanners feeding a single project

26 views
Skip to first unread message

ryan.k...@leanplum.com

unread,
Jan 9, 2018, 7:20:33 PM1/9/18
to SonarQube
Hello,
I'm curious about whether it's possible to merge two projects in SonarQube that are currently both being fed by their own scanners.

Currently, I have two Jenkins jobs set up using SonarQube Scanner for Jenkins, both running analysis and collecting test coverage on different subtrees of the same repository. Until now, both have been language-specific (Java and Python respectively) projects, but for simplicity's sake, I would like to see everything rolled up in one project. In particular, I'd like to be able to surface an overall coverage number in our GitHub pull requests to use for comparison.

Is it possible to accomplish that without combining the Jenkins jobs and using a single scanner? I tried setting the scanners in both jobs to point to the same SonarQube project but the scanner from one job appears to be overwriting the existing analysis from the other.

Apologies if this question has been asked before.
Thank you so much for your help,
Ryan Killory

G. Ann Campbell

unread,
Jan 10, 2018, 2:29:29 PM1/10/18
to SonarQube
Hi Ryan,

It's not possible to combine two exiting projects into a single project. However, it is possible to combine them into an Application (a synthetic, aggregate project). Note that that's a benefit of Governance, which is part of a commercial package.


Ann

ryan.k...@leanplum.com

unread,
Jan 10, 2018, 7:22:39 PM1/10/18
to SonarQube
Hi Ann,
Thanks so much for your help. I'll look into it.

Ryan
Reply all
Reply to author
Forward
0 new messages