GitLab-CI : bash: line 131: sonar-scanner: command not found

hello, Trying to integrate SonarQube into GitLab-CI and perform analysis on merge requests/branch.


Note: Sonarqube (not Sonar-Scanner ) is installed on the Windows server.
GitLab-Runner is installed on the linux server (vagrant) .

Hi,

You have another piece to install: the SonarScanner. The docs should get you started.

 
HTH,
Ann

1 Like

Hello,
Should i install “SonarScanner” on linux or windows?
Note: Sonarqube is installed on the Windows server and GitLab-Runner is installed on the linux server (vagrant) .
Thank you in advance

Hi,

Install whatever works best for you. It doesn’t matter what OS the SonarQube server is hosted on.

 
HTH,
Ann