How to change temp directory sonarqube TFS plugin uses

Is there a way to specify the directory that SonarQube uses during automated build?

Our security is really high here and we don’t allow access to c:\users…

The SonarQube jobe is failing when it tries to delete this file. C:\Users\TFSBuild_CSAT_SVCACC.sonar.sonartmp_6248281605002708425

Tfsbuild_svcacc is the service account name.

Can we change where writes the temp files to the E drive?



Looking for the same scenario to change the sonarqube temp location from lhome directory to another location. couldnt find any solution yet.