在服务器上的CC.NET V1.6上运行的任何构建上获取以下内容。 我确保运行CC.NET服务的用户是服务器上Administrators组的成员....那么为什么我会收到此错误?
Error Message: System.ArgumentException: Access to the path is denied.
at System.IO.FileSystemInfo.set_Attributes(FileAttributes value)
at System.IO.FileInfo.set_IsReadOnly(Boolean value)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vsts.MarkAllFilesReadWrite(String path)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vsts.MarkAllFilesReadWrite(String path)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vsts.MarkAllFilesReadWrite(String path)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vsts.DeleteDirectory(String path)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.Vsts.GetSource(IIntegrationResult result)
at ThoughtWorks.CruiseControl.Core.Sourcecontrol.MultiSourceControl.GetSource(IIntegrationResult result)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Build(IIntegrationResult result)
at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Integrate(IntegrationRequest request)
答案 0 :(得分:1)
(将评论转化为正确答案)
戴维戴夫:他们有bug report on their site saying this was fixed in 1.6。不知怎的,这现在正在起作用。我:cleanCopy
not working is also a known bug。不应忽略“未检测到的节点”错误消息 - 这意味着您的配置中存在拼写错误,它将无法正常工作。您的解决方法(删除有问题的标签,启动服务,再次添加标签)将无法正常工作,因为当ccnet无法验证配置时它将忽略它,它将不会重新加载它。这些错误最容易使用CCValidator进行修复,它是沿服务器可执行文件安装的,可以向您展示CruiseControl.Net在解析后如何看到您的配置文件。