Achilles
Achilles

Reputation: 11299

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 wondering if this would be the cause of the contention and if so is there a way to mitigate the problem. Thanks!

Upvotes: 3

Views: 113

Answers (2)

AndreasKnudsen
AndreasKnudsen

Reputation: 3481

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

Upvotes: 1

Michael Mann
Michael Mann

Reputation: 777

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.

Upvotes: 0

Related Questions