ddolfie
(Daniel Dolfie)
May 13, 2023, 1:15am
1
Hello everyone,
Does “dotnet sonarscanner” support multiple solutions?
For example,
dotnet sonarscanner begin /k:"project-key" /d:sonar.token="<token>"
dotnet build <path .sln file>
dotnet build <path .sln file>
dotnet sonarscanner end /d:sonar.token="<token>"
It seems fine with one “dotnet build”, but having more than one causes some files to not get scanned.
ganncamp
(G Ann Campbell)
May 15, 2023, 5:56pm
2
Hi,
Welcome to the community!
I believe you’re going to need to do a begin
and end
for each build, separately.
HTH,
Ann
1 Like
ddolfie
(Daniel Dolfie)
May 15, 2023, 6:44pm
3
Thanks,
I suppose each begin/end would be its own SonarQube project. Maybe I can combine them using Applications (we have Enterprise), but not sure if they can be combined to have everything in the same MR.
ganncamp
(G Ann Campbell)
May 15, 2023, 6:46pm
4
Hi,
Yes
Yes!
So the opposite of monorepos?
Sorry, but we haven’t planned anything for that.
Ann
1 Like
system
(system)
Closed
May 22, 2023, 6:47pm
5
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.