Must-share information (formatted with Markdown):
- which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)
I am using sonar scanner version
- what are you trying to achieve
Get sonar scanner to run on my gitlab runner for a go-project.
Whenever the runner is starting the sonar-scanner I get the following error:
$ sonar-scanner /go/sonar-scanner-126.96.36.1992-linux/bin/sonar-scanner: exec: line 59: /go/sonar-scanner-188.8.131.522-linux/jre/bin/java: not found
I have a x86_64-architecture so I am a bit clueless why this happens…
$ uname -a Linux runner-0ec3bc09-project-17-concurrent-1 4.15.0-52-generic #56-Ubuntu SMP Tue Jun 4 22:49:08 UTC 2019 x86_64 Linux
Also when I try to run the java-bin alone it says that it cannot be found.
$ /go/sonar-scanner-184.108.40.2062-linux/jre/bin/java /bin/sh: eval: line 82: /go/sonar-scanner-220.127.116.112-linux/jre/bin/java: not found
I also checked if the java-bin is executable for all and it is…
$ ls -al /go/sonar-scanner-18.104.22.1682-linux/jre/bin/ total 16 drwxr-xr-x 2 root root 4096 Jan 8 12:19 . drwxr-xr-x 4 root root 4096 Jan 8 12:19 .. -rwxr-xr-x 1 root root 7734 Dec 13 2016 java
Can somebody help me?
Thanks in advance!