We have bought sonar cloud license for analyzing Texas instruments C2000 MCU project code.
I have also installed SonarLint in Code composer studio IDE (from eclipse marketplace).
I am able to analize the project using the SonarLint in connected mode I have done binding with a SonarCloud project.
But I cannot see the same results in the SonarCloud server. I came to know that if we want to scan the project in the SonarCloud we need to build a JSON file for build command. Is the file being built by SonarLint?
My question is, if sonar lint is working, is there an easy way to make sonar cloud working for C programming language?
SonarLint for Eclipse is able to collect all the information it needs to analyze your code considering that it’s running in an IDE that can build your code (and the Eclipse CDT provides all the information needed to make this seamless).
Hi colin,
Thanks for answering.
I have read the link shared by you.
Maybe i did not write my question properly. Let me rephrase it.
I tried building the project and generate the compiler_command.json file by using the build wrapper provided in the documentation. But some how the file is not being generated properly (i dont know the reason for it) .
But, i am able to run Sonarlint in connected mode, so what would be the best way for me to move ahead so that I can run the analysis on the cloud.
Can I use any existing build artifacts(json files etc.) generated by SonarLint and directly upload them to the SonarCloud to configure build analysis?