Reputation: 61
I am getting below command not found error while integration:
sonar:sonar -Dsonar.host.url=http://xxx.xxx.x.xx:8080
/var/folders/cv/k3dczf5d0lsbms1bz_pddnym0000gp/T/jenkins2968219490769913394.sh: line 8:
**sonar:sonar: command not found**
I followed these two links for sonar integration in Jenkins.
but not able to implement completely. It is showing command not found error. Below is the attached screenshot of my issue.
Upvotes: 2
Views: 131
Reputation: 311393
sonar:sonar
is a maven target, not a command. You should be calling mvn sonar:sonar
.
Upvotes: 1