Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
- what are you trying to achieve
- what have you tried so far to achieve this
sonarqube-220.127.116.11237 Developer edition and licensed.
SonarQube Scanner version:
SonarQube Scanner 18.104.22.1683
What I try to achive
As team we try to Analyse the source code created in Microchip studio. The cpu used is a atmel arm chip. The program gets compiled using the following command.
What I achieve so far:
C:\Program Files (x86)\Atmel\Studio\7.0 DCU.atsln /clean debug /out clean_output.txt
C:\Program Files (x86)\Atmel\Studio\7.0 DCU.atsln /build debug /out clean_output.txt
This is executed from within a jenkins workspace folder.
The running command on the Jenkins server
bat "build-wrapper-win-x86-64.exe --out-dir analyse clean.bat" bat "build-wrapper-win-x86-64.exe --out-dir analyse build.bat"
It generates the folder
The output of the SonarQube analyzer is:
Its to big to paste, can I upload a file for this?
The problem is
16:50:17.985 ERROR: Error during SonarQube Scanner execution java.lang.IllegalStateException: The "build-wrapper-dump.json" file was found but 0 C/C++/Objective-C files were analyzed. Please make sure that:
In the other project we use the xc8 compiler using GCC and this works.
The only big diffrence is now that we use the build / clean using atmelstudio exe
Where should we look to solve this problem?build_sonarqube_log_anaylzer.txt (40.2 KB)
Updated the post:
Added the output log.