Nuno Guerreiro
Nuno Guerreiro

Reputation: 91

Duplicate project names (hierarchical vs flat project structure) in SonarQube 4.5.5

I'm using SonarQube 4.5.5 and I need to configure several projects which have the same name, but whose contents are different.

What happens is that the projects belong to different departments and, although the names are the same, the files are potentially different and therefore must be kept separate.

As far as I know, SonarQube has a flat project structure and what I really need is a hierarchical structure.

How can I solve this?

Many thanks for any help.

Regards, Nuno Guerreiro

Upvotes: 0

Views: 235

Answers (1)

G. Ann - SonarSource Team
G. Ann - SonarSource Team

Reputation: 22804

The names can be the same; it is only the keys which must be different.

Analyze each department's project separately, and then if you need to unify them for a top-level view, use the commercial Views plugin to do that.

Upvotes: 1

Related Questions