which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
SonarQube 7.8, Scanner 3.3.0.1492, MSBuild 15.0, Unreal Engine 4.21
what are you trying to achieve
Perform a scan on a .sln project created for Unreal Engine.
what have you tried so far to achieve this
Configured the steps in the documentation, added different/additional commands for the /t:Rebuild without success.
Hi,
I’m trying to get a .sln project to work that has been created within Unreal Engine 4.21 and MS Build 15, but without any success. As you can see below it shows that the build succeeded, but the SonarScanner.MSBuidl.exe end fails.
Has someone tried to use SonarQube for an Unreal Engine project before or could someone give me some instructions on what else I could try?
did you run the begin step?
Could you please share the full logs? If you cannot do it publicly I can send you a PM where you can share files privately.
Did the above steps fix the problem? I’ve been attempting to do the same with UE 4.26.2 and MSBuild 16 and running into the same issue even with build wrapper running.
The commands run are: SonarScanner.MSBuild.exe begin /k:project-key /n:"Project Name" /d:sonar.verbose=true /d:sonar.cfamily.build-wrapper-output="bw_output"