开发者

Kill hudson-job after time-range

I am right now evaluating Hudson. Unfortunately I came across some problems with our test scripts. Which freezes the execut开发者_运维百科ion of the job.

I am running an UI-Test. This test waits for a Widget and if the Widget is not there, it keeps waiting and waiting and waiting and wai...

Now I want to run the Job every day, and if it should freeze, I want to kill it after 23 hours, so that the daily test will not be holded in the build-queue.

Is there a plugin/script/anything to do this? Basically in my thoughts there should be a script which analyses the starting time and if now()-startTime >= 23 hours the job should be killed/cancelled/stopped.

Thanks in advance, Stefan


There is a Build Timeout plugin for Hudson which should to what you want.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜