简体   繁体   中英

Sonar Runner + Jenkins not working with SVN

I have successfully integrated Sonar Runner with Jenkins having Sonar Qube already running as a service.

When I configure sonar-project.properties file to analyse the source code (JAVA) from a location on my computer, it works correctly and I am able to see the results of the run.

But when I tried doing the same by taking a SVN checkout as configured in Jenkins, following error is shown on the Jenkins console :

java.io.IOException: Cannot run program "svn"

This error is thrown once checkout has been successful and analysis has already been done. Not sure, what leads to this error.

Do anyone here ever encountered this kind of error with Sonar and Jenkins?

Version of Sonar Runner - 5.1 Version of SonarQube - 2.4

请更新到SonarQube SVN插件1.1版,该版本不再依赖外部svn命令,而是使用纯Java实现(SVNKit)。

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