开发者

does hudson ci support parallel builds on the same machine?

开发者 https://www.devze.com 2023-03-25 02:49 出处:网络
My project takes a long time to build (~3h) and the compiler is not making effective use of the quad-core cpu.

My project takes a long time to build (~3h) and the compiler is not making effective use of the quad-core cpu. The project 开发者_Go百科also requires multiple builds of each version to support different configurations.

Can hudson support building several instances of the same project simultaneously?


The feature continues to be marked as 'Beta' as we are aware that there are some situations in which you might find a conflict using concurrent builds eg maven builds might cause issues, blocking downstream builds should help

Essentially, if you are able to run these jobs in parallel then you should have no problems with the feature.

That said, if you are able to use the latest Maven 3 support (in Hudson 2.1.0) you could use the experimental threading support to parallelize your build


Yes, though it's still marked as beta, just have a look at the project settings, near the top should be the entry you're looking for ("Execute concurrent builds if necessary (beta) " You need to have enough build processors configured on that machine and make sure multiple builds don't interfere with each other (which may be the hardest part)

0

精彩评论

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

关注公众号