开发者

How to respond to console output in Hudson

开发者 https://www.devze.com 2023-02-08 15:31 出处:网络
My hudson build is failing as while building it asks to upgrade plugin with y/n how can i respond with no over here ?

My hudson build is failing as while building it asks to upgrade plugin with y/n how can i respond with no over here ?

Environment set to ci
Upgrading plugin [codenarc-0.8] to [codenarc-0.9]. ...
Resolving new plugins. Please wait... 开发者_如何学Go...
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


If I remember correctly you can specify a --non-interactive flag with the grails command to disable user prompts.


Hudson does not seem to respect the no-interactive for plugins. Go to the grails folder

usually ~/.grails/projects/ and delete everything to start new.

0

精彩评论

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