Running the SonarQube.MsBuild.Runner.exe I get the following exception:
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)
I have the environment variables SONAR_RUNNER_HOME and SONAR_RUNNER_OPTS set like this:
Name Value
---- -----
SONAR_RUNNER_HOME C:\Program Files\SonarQube\sonar-runner-2.4
SONAR_RUNNER_OPTS -Xmx512m -XX:MaxPermSize=128m
What is missing?
I am using Sonar.MsBuild.Runner 1.0 now. The problem does not exist in MsBuild Runner.