开发者

Problems using CruiseControl.Net API : project not found

I am trying to retrieve Build Projects related information from my Cruis开发者_如何转开发eControl server through command line using cccmd.exe and passing the url and project name as command line arguments. The problem is when I am trying to use API's exposed by Cruise Control Service like

client.GetArtifactDirectory(project.Name);
client.GetLatestBuildName(project.Name);

I am getting the exception "The project does not exists on the CCNet Server" for my local CCNet Server.

For my production build server, I am getting the exception "Key cannot be null".


Finally found the solution, had to copy the folders and foldername.state files that are created during project build process to the directory from where ccservice.exe was running.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜