Sonarqube Community Edition Version 9.4 (build 54424)
I want to run Sonarscanner without using CLI
In my organization we have restriction to run bat or exe file without using administrative credentials. As of now what i have understood if i want to run scanner i am gonna need to run exe or bat file through command prompt. Is there any way to run sonarscanner without using CLI? if not can someone suggest with better idea.
I’m not sure that SonarScanner needs admin privs to run analysis. It just needs access to the files in the working directory, including the ability to read everything and to create its own working sub-dir with full rights.
Note that running an anti-virus during analysis is problematic, because the virus scanner is likely to lock the file the scanner is working on (we’ve seen it many times). But I don’t think you need admin rights.
I really don’t understand the question. SonarScanner is a command line tool. Are you asking about wrappers? SonarScanner for Maven, Gradle, .NET, Jenkins &etc are essentially that.