Command not found

  • I have installed sonarqube- and sonar-scanner- 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


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.