CruiseControl.NET getting error on a build
Getting the following on any build running on CC.NET V1.6 on a server. I have made sure the user running the CC.NET Service is a member of the Administrators group on the server.... So why am I getting this error?
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(IntegrationReque开发者_如何学Pythonst request)
(moving the comments into a proper answer)
DavieDave: they have a bug report on their site saying this was fixed in 1.6. Somehow magically this is working now.
Me: cleanCopy
not working is also a known bug. The "unused node detected" error message should not be ignored - it means you have a typo in your configuration and it just won't work. Your workaround (removing the offending tag, starting the service, adding the tag again) won't work, as when ccnet will fail to validate the configuration it just will ignore it, it won't re-load it. Such errors are easiest to fix using the CCValidator, it is installed along the server executables and can show you how the CruiseControl.Net sees your configuration file after it is parsed.
精彩评论