Sonar Scanner not running on Jenkins node (ubuntu)


(Wahaj Muhammad) #1

I have a Sonar Scanner plugin installed on my Jenkins server which is integrated with the sonar-qube server, the sonar-scanner plugin for Jenkins has the auto install check which installs the scanner and runs the scan for sonar-qube. It is completely working fine for my Master node of Jenkins (windows) which has sonar server installed on it as well. But when I try to run it for my ubuntu node it gives me a certain error. Although it is completely working fine locally on the Ubuntu machine but whenever I run it through Jenkins it throws me this following error:

(Yan Tapajós) #2

Hi, Wahaj

I’m using Jenkins in Docker in a CentOS server and it work perfectly fine.
Did you define configuration correctly? Can you give a log with verbose of the error?