Как реагировать на вывод консоли в Гудзоне - PullRequest
1 голос
/ 06 февраля 2011

Моя сборка hudson терпит неудачу, так как при сборке он просит обновить плагин с помощью 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 ]

1 голос
/ 06 февраля 2011

Если я правильно помню, вы можете указать флаг --non-interactive с помощью команды grails, чтобы отключить запросы пользователя.

0 голосов
/ 23 августа 2011

Хадсон, похоже, не уважает неинтерактивность плагинов.Перейдите в папку grails

обычно ~ / .grails / projects / и удалите все, чтобы начать новый.

...