I am using the build publisher in tasks block. My configuration is
here :

<buildpublisher>
        <sourceDir>C:\Projects_workspace\Project</sourceDir>
        <publishDir>\\server\Project-Builds</publishDir>
        <useLabelSubDirectory>true</useLabelSubDirectory>
        <alwaysPublish>false</alwaysPublish>
      </buildpublisher>

but I am getting this exception

<exception><![CDATA[System.ArgumentException: The UNC path should be
of the form \\server\share.
   at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
   at System.IO.Path.GetFullPathInternal(String path)
   at System.IO.DirectoryInfo..ctor(String path)
   at ThoughtWorks.CruiseControl.Core.Publishers.BuildPublisher.Run
(IIntegrationResult result)
   at ThoughtWorks.CruiseControl.Core.Project.RunTasks
(IIntegrationResult result, IList tasksToRun)
   at ThoughtWorks.CruiseControl.Core.Project.Run(IIntegrationResult
result)
   at ThoughtWorks.CruiseControl.Core.IntegrationRunner.Build
(IIntegrationResult result)]]></exception

Even when I replaced the \\server\Project-Builds with a local path, I
am getting the same errors. Any clues ?

Reply via email to