运行 SonarQube.MsBuild.Runner.exe 我得到以下异常:
Using environment variables to determine the download directory...
Creating the analysis bin directory:
Unhandled Exception: System.ArgumentException: Path cannot be the empty string or all whitespace.
at System.IO.Directory.CreateDirectory(String path)
at SonarQube.Bootstrapper.Program.preprocess(ILogger logger, IBootstrapperSettings settings, String[] args)
at SonarQube.Bootstrapper.Program.Main(String[] args)
我的环境变量 SONAR_RUNNER_HOME 和 SONAR_RUNNER_OPTS 设置如下:
Name Value
---- -----
SONAR_RUNNER_HOME C:\Program Files\SonarQube\sonar-runner-2.4
SONAR_RUNNER_OPTS -Xmx512m -XX:MaxPermSize=128m
什么不见了?