I have SonarQube Enterprise (10.1.0) on premise.
I’m using Azure DevOps 2022 on premise.
I have a C++ project which compiles under Linux (Vcxproj) using the Visual studio “Linux and embedded development for C++” workload.
Since the project starts compilation from a windows machine and connects to a Linux machine is it possible to scan it using Sonarqube?
Your version is past EOL. You should upgrade to either the latest version or the current LTA (long-term active version) at your earliest convenience. Your upgrade path is:
If you have questions about upgrading, feel free to open a new thread for that here.
Regarding your question, it’s not clear to me what you mean by “connects to a Linux machine”. Analysis should run where the compilation database is created because the pathing is very important. Presumably you could run analysis (after you upgrade ) on the Windows machine.
I’m using a very “special” type of cpp project in visual studio which opens a SSH connection to a Linux machine compiles there and returns the compilation result
here is a link on this: Linux development with C++ in Visual Studio - C++ Team Blog