How to enable Full Debug Logging

983 views
Skip to first unread message

Collin Bennett

unread,
Apr 9, 2018, 6:01:58 PM4/9/18
to SonarQube
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

nicolas...@sonarsource.com

unread,
Apr 10, 2018, 3:48:09 AM4/10/18
to SonarQube
Hi Colin,


Begin Step - Command Line Parameters - /d:sonar.verbose=true - [optional] Sets the logging verbosity to detailed. Add this argument before sending logs for troubleshooting.

Best regards,
Nicolas 

Amaury Leve

unread,
Apr 10, 2018, 4:22:45 AM4/10/18
to nicolas...@sonarsource.com, SonarQube
Hi Colin,

To complement Nicolas' answer, the Scanner for MSBuild is actually embedding another (common) scanner which is displaying this message. We know this is confusing for end-users and we have created a ticket to improve this: https://github.com/SonarSource/sonar-scanner-msbuild/issues/477

Cheers,
Amaury

--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/7b4b65c0-98cf-4791-85cc-5e4ae69eead3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Amaury Levé | SonarSource

Software Developer - .Net Team

http://sonarsource.com


Are you using SonarLint in your IDE? 
Reply all
Reply to author
Forward
0 new messages