Timeout in CruiseControl

In my Cruisecontrol setup, I need to make an ant call to ruby scripts. Originally, I setup CruiseControl timeout in AntBuilder, somehow it could not kill ruby process. CruiseControl will wait till the end of ruby process, and show timeout error in the report.

I started looking at Ant exec task timeout, which I expect the process times out after 5 hours, but the build always times out within one minute.

What's wrong?

Don't laugh at me. Cruisecontrol AntBuilder use seconds to measure timeout, but Ant Exec task uses milliseconds!

No comments: