【发布时间】:2015-04-24 15:57:31
【问题描述】:
人, 使用 C# 插件的新 SonarQube 版本 -Dsonar.branch=X 参数抛出错误。错误如下:-
声纳失败并出现错误:'错误:声纳运行器执行期间出错错误:无法执行声纳错误:原因:无法装饰 'org.sonar.api.resources.File@56b0f44f[key=Aspects/MethodPerformanceAttribute.cs,deprecatedKey =Aspects/MethodPerformanceAttribute.cs,path=Aspects/MethodPerformanceAttribute.cs,dir=Aspects,filename=MethodPerformanceAttribute.cs,language=C#]'ERROR: Caused by: Resource org.sonar.api.resources.File@56b0f44f[key= Aspects/MethodPerformanceAttribute.cs,deprecatedKey=Aspects/MethodPerformanceAttribute.cs,path=Aspects/MethodPerformanceAttribute.cs,dir=Aspects,filename=MethodPerformanceAttribute.cs,language=C#] is not found in InputPath cacheERROR
如果我删除 -Dsonar.branch 参数,此错误消失并且声纳运行成功。有人可以提供更多信息吗?
【问题讨论】: