I am running into an issue when running SonarScanner.MSBuild.exe with the sonar.scm.provider=git.
I get the following error:
ERROR: Error during SonarQube Scanner execution
ERROR: Not inside a Git work tree: C:\Dev
ERROR:
ERROR: Re-run SonarQube Scanner using the -X switch to enable full debug logging.
The SonarQube Scanner did not complete successfully
17:56:46.97 Creating a summary markdown file...
17:56:46.979 Post-processing failed. Exit code: 1
I am using the latest release version of SonarQube Scanner for MSBuild 4.1.1.1164 for .NET Framework 4.6.
How do I passed in the "-X" parameter so I can further troubleshot my real issue.
Thank you