I’m trying to get SonarQube to run on my server as a Jenkins plugin. My server is running on Oracle Solaris 11.1 SPARC.
The Sonar Scanner version I’ve installed is sonar-scanner-126.96.36.1992-linux.
After changing file permissions and configuring Jenkins to run Sonar Scanner executable, currently when I try to build the project, in the console output, I currently get the following message:
[-Trunk] $ //sonar-scanner-188.8.131.522-linux/bin/sonar-scanner -X -Dsonar.host.url= -Dsonar.projectBaseDir=//sonar-scanner-184.108.40.2062-linux/bin/sonar-scanner: exec: //sonar-scanner-220.127.116.112-linux/jre/bin/java: cannot execute [Invalid argument]
WARN: Unable to locate ‘report-task.txt’ in the workspace. Did the SonarScanner succedeed?
ERROR: SonarQube scanner exited with non-zero code: 126
I can’t find any information on the error code 126, and there doesn’t seem to be much information about installing SonarQube on a non internet-connected server.