วันพุธที่ 18 กุมภาพันธ์ พ.ศ. 2569

Install SonarQube on windows 11 and scan quility source code on local machine

 Download SonarQube on web www.sonarsource.com





Extract File






Copy Folder to new directory , If you want to move.


Go to Dowload load jdk ver 17 (SonarQube using only version 17) on www.oracle.com


After download success , Install jdk 17

Set Environtment Path on commamd promt
Set > set "SONAR_JAVA_PATH=C:\Program Files\Java\jdk-17\bin\java.exe" 
Check > echo %SONAR_JAVA_PATH% 


Running SonarQube
Command Promt Enter > StartSonar.bat

Working on local url http://localhost:9000


Enter first time using tool
User : admin
Pass : admin



Must Re - New Password by YourSelf


Login by 
User : admin
Pass : Your New Password

This time to scan source code on local machine

Enter name project to scan




Get command script and key for using scan on local source code
Go to directory local source code

Enter cmd to call commamd promt to running on this path
Enter command script and key to scan

End as success message

Aftet scan must show summary quility of your source code 

You can check why it high impact
After you fixing , re-scan agin.


Good Luck ^_^






























ไม่มีความคิดเห็น:

แสดงความคิดเห็น

Install SonarQube on windows 11 and scan quility source code on local machine

 Download SonarQube on web  www.sonarsource.com Extract File Copy Folder to new directory , If you want to move. Go to Dowload load jdk ver ...