Auto respond 'yes' for 'grails war' on Hudson

一世执手 提交于 2019-12-05 15:41:57

You may need to put quotes around the run target in the Targets text field:

"war --non-interactive"
yes | grails war

assuming your on OSX/unix/Linux/cygwin. That answers yes for all questions that the program you pipe it to asks.

if you only want to say yes once, you can use

echo y | grails war
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!