2011-02-06 32 views
1

我的哈德森版本在构建它时要求用y/n升级插件时失败,我怎么能在这里没有响应?如何响应Hudson中的控制台输出

 
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 

回答

1

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

+0

[在相同的问题相同的答案] [1] [1]:http://stackoverflow.com/questions/4899504/auto-respond-yes-for-grails-war-on-hudson – bd808

0

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

通常〜/ .grails/projects /并删除所有内容以开始新的操作。