Regarding the sonar-scanner: not found

I a trying to use the sonar-scanner in my jenkins file and sonarqube 10 but i don’t know why i am getting the error as mentioned in the ss

but here the thing is i have installed sonarqube and sonar scanner in server A and jenkins in server B what might be the issue

SonarQube sonar-scanner

Hey there.

It looks like you’re manually trying to execute the scanner.

Have you tried using the Jenkins Extension for SonarQube?