jenkins 在声纳分析过程中出现错误,由 svn blame 引起 [英] Error in jenkins during sonar analysis caused by svn blame

查看:39
本文介绍了jenkins 在声纳分析过程中出现错误,由 svn blame 引起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我运行 jenkins 任务时,出现以下错误

When i run the jenkins task i get the following error

17:12:49.738 INFO  - Sensor SCM Sensor...
17:12:49.847 INFO  - SCM provider for this project is: svn
17:12:49.847 INFO  - Retrieve SCM blame information...
17:12:49.863 INFO  - 843 files to be analyzed
INFO: ------------------------------------------------------------------------
INFO: EXECUTION FAILURE
INFO: ------------------------------------------------------------------------
Total time: 1:11.026s
Final Memory: 31M/214M
INFO: ------------------------------------------------------------------------
ERROR: Error during Sonar runner execution
ERROR: Unable to execute Sonar
ERROR: Caused by: The svn blame command [svn blame --xml --non-interactive -x -w src/com/musigma/muPDNA/RESTClient/ServiceClient.as] failed: svn: E215004:

当我尝试删除 .svn 文件夹并运行声纳运行器时,它工作正常.我试图忽略 svn 文件和 svn 文件夹,我也试图禁用声纳中的blame 选项,但没有任何可能的结果.

When i try to delete the .svn folder and run the sonar runner, it works fine. I have tried to ignore the svn files and svn folder, also i have tried to disable the blame option in the sonar but without any possible outcome.

这样做的正确方法是什么??

Which is the right way to do this ??

它没有在任何地方提及.我想消除由blame(svn)引起的错误,但我不想在分析之前删除.svn"文件夹(这是我能够让它工作的唯一方法)

its not mentioned anywhere. I want to eliminate the error caused by blame(svn) but I don't want to delete the ".svn" folder before the analysis(which is the only way i'm able to get it working)

推荐答案

在 SonarQube v4 中,转到项目的仪表板,然后转到 Project Configuration \ Settings(搜索框右上方).

In SonarQube v4, go to your project's dashboard and then to Project Configuration \ Settings (top right under the Search box).

单击类别列表中的 SCM 活动链接,并将Activation of..."下拉菜单更改为 false.

Click the SCM Activity link in the Category list and change the "Activation of..." drop down to false.

您可以在全局设置页面上更改默认设置.

You can change the default on the global settings page.

这篇关于jenkins 在声纳分析过程中出现错误,由 svn blame 引起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆