开发者

CruiseControl.NET Continuous Integration Blocking File Access

Our Continuous Integration process appears to be executing programs that are in contention for for files. During the build, certain pdb's aren't able to be copied because they are in use by another process.

Question: Ideally it would be faster to have the concurrent building of each project executing however I was w开发者_Go百科ondering if this would be the cause of the contention and if so is there a way to mitigate the problem. Thanks!


if you don't want to have the projects building at the same time you can put them in the same queue (just add queue="someCommonQueueName" to the project node in ccnet.config


If you are using the /m flag with msbuild I have seen this cause problems if your solution and project dependency structure is not just right. I found this post that looked interesting and maybe it will help you.

I looked at my solution structure and I had a WCF service project that was not added properly to the solution. I removed the service and re-added the service and I was able to build with the /m:2 utilizing 2 procs. What I found was the error that you see in the build process will point to the source of the problem.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜