简体   繁体   中英

SonarQube runner made error on Jenkins

I use Jenkins and plugin SonarQube and Sonar runner. For SonarQube Runner installation in Jenkins, it made Warning like this.

/home/abc/sonnar-runner-2.4 is not a directory on the Jenkins master (but perhaps it exists on some slaves)

of course I made /home/abc/ directory on the Jenkins Server. so.. i ignore the warning and try to build tho.. it made error like this.


SONAR ANALYSIS FAILED

FATAL: SonarQube runner executable was not found for sonar-runner-2.4 Build step 'Invoke Standalone SonarQube Analysis' marked build as failure Finished: FAILURE

i cant figure out this problem is there anyone know how to solve this?

When you config SonarQube Scanner in Manage Jenkins --> Global Tool Configuration --> SonarQube Scanner, besides select "Install automatically", you also need to add a installer. See screenshot here: SonarQube Scanner --> Add Installer

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM