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


(Patrick Delaney) #1

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?


(G Ann Campbell) #2

Hi,

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

 
Ann


(Patrick Delaney) #3

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


(G Ann Campbell) #4

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