BuildWrapper with remote output folder

Hi, I’m using latest version of BuildWrapper tool.
I want to know, if I can compile my project and send as output folder parameter a global (on the network) folder, then when I want to run my scanner I will send to sonar.cfamily.build-wrapper-output the remote folder location ?

I tried it, and when I run the scan I got some Java exceptions.

Hi @benyahu,

Can you mount the output folder locally? Using nfs or similar? That would solve the issue.

Hi @benyahu,

build-wrapper and the sonar-scanner analysis should be run on the same machine, is it the case?

1 Like

I want to run them on a different machines, can it be ?

Hi @benyahu,

unfortunately not, build and analysis should be performed on the same machine to be able to access the correct files and headers (system and dependencies).

1 Like

Thanks a lot

1 Like