2011-02-06 55 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 /並刪除所有內容以開始新的操作。