Command not found

  • I have installed sonarqube-10.2.0.77647 and sonar-scanner-4.8.0.2856-linux in one server
  • And i am running the jenkins job in another server for scanning the code but i am getting the below error


How to fix it

Hi,

For future reference, we really prefer you copy/paste the text of logs, rather than sharing screenshots, because they can be hard to read.

But I do see pretty clearly in your screenshot that the basic problem is that your scanner command isn’t recognized. You should make sure the scanner executable is referenced in your $PATH variable.

 
HTH,
Ann