Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cross-project-issues-dev] Avoid blocking builds on Hudson

Hi everybody,

I noticed that some Hudson jobs tend to stay in the queue forever because something in their execution is blocking. Thereby taking away slots that could be used by pending jobs.

I think it's a good idea to set an adequate timeout value in the Hudson job config. The property is called something like "Abort blocking builds".

Tests should generally be designed such that they can not block indefinitely. For example, use (short) timeouts in statements like CountDownLatch.await() or similar.

BTW. I find it rather hard to determine a build's contact email. Is there a trick that I don't know of?

Cheers
/Eike

----
http://thegordian.blogspot.com
http://twitter.com/eikestepper




Back to the top