Sonar scanner and build-wrapper for C++ code

Hi all,

I’m launching Sonar Scanner from Jenkins to analyse my C++ code.
I’m actually using a python script to build a lot of libraries and executables in my branch and want to analyse my code just after the build.
So, for each lib and exe in my list, instead of calling
I run
build-wrapper-win-x86-64 --out-dir some_out_dir MSBUILD.exe
But it seems that it only wraps the last library that has been built by the script.

So my question is, how do I wrap the entire source code of my branch?


Hi @DDE,

you can simply wrap your top python script to catch all of them:

build-wrapper-win-x86-64 --out-dir some_out_dir python

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.