![]() ![]() Run the following command from the project base directory to launch analysis and pass your authentication token: sonar-scanner -Dsonar.login=myAuthenticationToken.If you need more debug information, you can add one of the following to your command line: -X, -verbose, or -Dsonar.verbose=true. You should get an output like this: usage: sonar-scanner ![]() ![]() Verify your installation by opening a new shell and executing the command sonar-scanner -h ( sonar-scanner.bat -h on Windows).Update the global settings to point to your SonarQube server by editing $install_directory/conf/sonar-scanner.properties: #- Default SonarQube server.Expand the downloaded file into the directory of your choice.To run SonarScanner from the zip file, follow these steps: #sonar.sourceEncoding=UTF-8 Running SonarScanner from the zip file # Path is relative to the sonar-project.properties file. # must be unique in a given SonarQube instance Configuring your projectĬreate a configuration file in your project's root directory called sonar-project.properties. The SonarScanner is the scanner to use when there is no specific scanner for your build system. The SonarScanner does not support ARM architecture. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |