I have cloned my project in D:\sonar\rg_fw_h7
main branch
Installed build-wrapper-win-x86-64.exe & sonar-scanner.bat and saved in PATH variables.
First I ran:
C:\Users\Z004NUMH\Desktop\check\build-wrapper-win-x86\build-wrapper-win-x86\build-wrapper-win-x86-64.exe --out-dir bw-output "C:\ST\STM32CubeIDE_1.13.1\STM32CubeIDE\stm32cubeidec.exe" -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data D:\sonar\rg_fw_h7\ -import D:\sonar\rg_fw_h7\src\rg_fw_h7\ -build all
This created bw-output/build-wrapper.log inside D:\FSI\rg_fw_h7\bw-output and the content is the following:
*Mon Mar 11 14:25:59 2024: build-wrapper, version 6.41.1 (win-x86-64)*
*Mon Mar 11 14:25:59 2024: isWow64: 0*
*Mon Mar 11 14:25:59 2024: windows version: 6.2, service pack: 0.0, build number: 9200, product type: 1*
*Mon Mar 11 14:25:59 2024: current directory: D:\FSI\rg_fw_h7*
*Mon Mar 11 14:25:59 2024: cwd: <D:\FSI\rg_fw_h7>*
*Mon Mar 11 14:25:59 2024: out-dir absolute path: <D:\FSI\rg_fw_h7\bw-output>*
*Mon Mar 11 14:25:59 2024: command line received: <C:\ST\STM32CubeIDE_1.13.1\STM32CubeIDE\stm32cubeidec.exe -nosplash -application org.eclipse.cdt.managedbuilder.core.headlessbuild -data "D:\sonar\rg_fw_h7\" -import D:sonarrg_fw_h7srcrg_fw_h7\"" -build all>*
Then I ran:
D:\FSI\rg_fw_h7>sonar-scanner.bat -X -D"sonar.projectKey=****" -D"sonar.sources=." -D"sonar.cfamily.build-wrapper-output=bw-output" -D"sonar.host.url=***" -D"sonar.login=***"
And it gave me an output log attahced
h7.txt (517.9 KB)
Please help with a solution(I am using build tool stm32cube ide and windows os)