I am currently working on c++ SonarQube analysis.SonrQube analysis works fine for c# elements but not showing any results in the dashboard for c++ elements.
Can anyone help me with the documentation for c++ SonarQube analysis.I want to integrate it with Jenkins.
You haven’t mentioned which version of SonarQube you’re using, so let me point you to the most recent documentation and you can navigate from there. All the documentation for C++ analysis is here: https://docs.sonarqube.org/latest/analysis/languages/cfamily/
In particular, if you’re analysing a project that combines C# and C++, you’ll want this reference.
Thanks for your reply.I am using 7.9.2.30863 version of SonarQube. As per the documentation provided in https://docs.sonarqube.org/latest/analysis/languages/cfamily/ ,I am unable to download build-wrapper-win-x86.zip from {SonarQube URL}/static/cpp/build-wrapper-win-x86.zip .I am getting the error attached in the screenshot.
It’s unusual that the Build Wrapper isn’t downloadable from your own SonarQube server if you have the C Family plugin installed. Since C++ is a commercial language, can I just check: are you using one of the SonarQube commercial editions (Developer or Enterprise)?
That explains the issue: the C Family plugin (and therefore Build Wrapper) are only available on the commercial editions so you’ll need to upgrade before you start experimenting with C++ analysis.
The references I supplied earlier should help you integrate into your normal Jenkins builds.