哈德森建立timedout |在这种情况下如何进行清理?

时间:2011-08-20 10:13:40

标签: hudson

假设一个特定的工作正在执行超过x分钟,那么我使用build timout plugin中止它 现在,在以这种方式中止构建之后,我想执行一些清理操作。想知道 - 我该怎么办? 如何杀死我的构建开始的所有进程?

为了执行此类操作,我找到了一个帖子构建插件。http://wiki.hudson-ci.org/display/HUDSON/Post+build+task

但是当我尝试执行我的bat脚本

时,我遇到了错误
Build timed out. Aborting
Build was aborted
Performing Post build task...
Match found for :aborted : True
Logical operation result is TRUE
Running script  : C:\aks.bat
[workspace] $ cmd /c call C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\hudson6930497910994453428.bat
Exception when executing the batch command : null
Finished: ABORTED

为什么会这样?任何人都可以推荐一些其他插件吗?

0 个答案:

没有答案