【发布时间】:2018-08-31 18:08:50
【问题描述】:
使用 TFS 2015 vNext 构建分析 C# 项目时,我收到以下错误:
文件夹 'D:\Builds_Agent1_work\4\s\System\IPS\Files\Logo\MasterDesigns\Logo_11_Seal_of_Pinellas_County' 不存在 'DEV_ScriptAdvisorPBM_SonarQube:DEV_ScriptAdvisorPBM_SonarQube:9C5E1BB5-E446-45C8-9CE6-5F9896D0D063' (基本目录 = D:\Builds_Agent1_work\4\s\System\IPS)
我认为这是因为有一个名为“Logo_11_Seal_of_Pinellas_County,_Florida.png”的文件,但 SonarQube 认为它是“Logo_11_Seal_of_Pinellas_County”。
我尝试/d:sonar.exclusions=**\MasterDesigns\* 忽略“Logo_11_Seal_of_Pinellas_County,_Florida.png”所在的整个目录,但仍然是同样的错误。
有解决此问题的建议吗?谢谢。
SonarQube 6.5 C# 插件。
【问题讨论】:
-
你能在你的构建服务器中找到文件夹
D:\Builds_Agent1_work\4\s\System\IPS\Files\Logo\MasterDesigns\Logo_11_Seal_of_Pinellas_County吗?您能否分享整个构建定义设置?尤其是与 SonarQube 相关的任务? -
D:\Builds_Agent1_work\4\s\System\IPS\Files\Logo\MasterDesigns\Logo_11_Seal_of_Pinellas_County 文件不存在。我认为这是因为它应该正确查找 D:\Builds_Agent1_work\4\s\System\IPS\Files\Logo\MasterDesigns\Logo_11_Seal_of_Pinellas_County,_Florida.png 但由于文件名中的“,”逗号字符,它错误地尝试查找其他文件
标签: tfs sonarqube sonar-runner