CruiseControl.NET Continuous Integration Lock File Access

Our continuous integration process seems to run programs that are in conflict over files. During build some pdb cannot be copied because they are used by another process.

Question: Ideally, it would be faster to have a parallel construction of each project, but I was wondering if this would be the cause of the dispute, and if so, is there a way to mitigate this problem. Thank!

+3
source share
2 answers

if you do not want projects to be built at the same time, you can put them in one queue (just add queue="someCommonQueueName"node to ccnet.config to the project

+1
source

If you use the / m flag with msbuild, I saw that this causes problems if your solution and the project dependency structure are not entirely correct. I found this post that looked interesting, and maybe this will help you.

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

0
source

Source: https://habr.com/ru/post/1732876/


All Articles