如何在Hudson中响应控制台输出

时间:2011-02-06 05:25:36

标签: grails hudson jenkins

我的哈德森构建失败了,因为构建它时要求用y / n升级插件我怎么能在这里做出响应?

Environment set to ci
Upgrading plugin [codenarc-0.8] to [codenarc-0.9]. ...
Resolving new plugins. Please wait... ...
You currently already have a version of the plugin installed [codenarc-0.8]. Do you want to upgrade this version? [y,n] 
Invalid option 'null' - must be one of: [y,n]

You currently already have a version of the plugin installed [codenarc-0.8]. Do you want to upgrade this version? [y,n] 
Invalid option 'null' - must be one of: [y,n]

You currently already have a version of the plugin installed [codenarc-0.8]. Do you want to upgrade this version? [y,n] 
Invalid option 'null' - must be one of: [y,n]

No valid response entered - giving up asking.
Plugin codenarc-0.9 install aborted
Finished: FAILURE

2 个答案:

答案 0 :(得分:1)

如果我没记错的话,您可以使用--non-interactive命令指定grails标志来禁用用户提示。

答案 1 :(得分:0)

Hudson似乎并不尊重无插件的插件。转到grails文件夹

通常〜/ .grails / projects /并删除所有内容以启动新内容。