Is it possible to check the location of the .sonartmp folder

Is it possible to change the location of where sonar writes it’s tem files?. I think I am having an issue with the files being real-time scanned and MacAfee holding onto that folder and then it can’t be deleted. I have no access to stop MacAfee. But I do have a folder on the pc that is not realtime scanned so I’d like to move the temp filer there. IS that a configuration option?

Hi,

I think what you want is the sonar.working.directory parameter. More in the docs.

 
Ann

is it possible to pass that variable via the command line? We are using the TFS SonarQube extenstion in our vNext Build script.

Thanks

Pat

Hi Pat,

It’s possible (altho sometimes cumbersome) to pass any analysis param on the command line. I believe you’ll use \d:key=value (Docs).

 
Ann